mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-22 14:32:15 +00:00
work
This commit is contained in:
@@ -19,7 +19,7 @@ def cli():
|
|||||||
|
|
||||||
@cli.command()
|
@cli.command()
|
||||||
@common_options
|
@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}?'):
|
if not noninteractive and not click.confirm(f'Run script on {hostname}?'):
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ def http_host_static(hostname, user, port, noninteractive):
|
|||||||
|
|
||||||
@cli.command()
|
@cli.command()
|
||||||
@common_options
|
@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}?'):
|
if not noninteractive and not click.confirm(f'Run script on {hostname}?'):
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ def http_host_autoupdate(hostname, user, port, noninteractive):
|
|||||||
|
|
||||||
@cli.command()
|
@cli.command()
|
||||||
@common_options
|
@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}?'):
|
if not noninteractive and not click.confirm(f'Run script on {hostname}?'):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user