This commit is contained in:
Zsolt Ero
2025-10-15 16:05:35 +02:00
parent bf60c28bb5
commit 753166316c

View File

@@ -19,7 +19,7 @@ def cli():
@cli.command()
@common_options
def http_host_static(hostname, user, port, noninteractive):
def init_static(hostname, user, port, noninteractive):
if not noninteractive and not click.confirm(f'Run script on {hostname}?'):
return
@@ -33,7 +33,7 @@ def http_host_static(hostname, user, port, noninteractive):
@cli.command()
@common_options
def http_host_autoupdate(hostname, user, port, noninteractive):
def init_autoupdate(hostname, user, port, noninteractive):
if not noninteractive and not click.confirm(f'Run script on {hostname}?'):
return
@@ -53,7 +53,7 @@ def http_host_autoupdate(hostname, user, port, noninteractive):
@cli.command()
@common_options
def http_host_sync(hostname, user, port, noninteractive):
def sync(hostname, user, port, noninteractive):
if not noninteractive and not click.confirm(f'Run script on {hostname}?'):
return