mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
work
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user