diff options
Diffstat (limited to 'test_client.py')
-rwxr-xr-x | test_client.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test_client.py b/test_client.py index b646c4f..a7cb648 100755 --- a/test_client.py +++ b/test_client.py @@ -51,11 +51,12 @@ def get_web_app_hosts(): @cli.command() -@click.argument("host", type=str) -def add_web_app_host(host: str): - """Add a RWA.Support.WebApp host. Requires <url>""" - click.echo(f"Sending D-Bus request 'add_web_app_host': {host}") - response = req.add_web_app_host(host) +@click.argument("host_url", type=str) +@click.argument("host_alias", type=str) +def add_web_app_host(host_url: str, host_alias: str): + """Add a RWA.Support.WebApp host. Requires <url> <alias>""" + click.echo(f"Sending D-Bus request 'add_web_app_host': '{host_url}', '{host_alias}'") + response = req.add_web_app_host(host_url, host_alias) click.echo(f"Your response is: {response}") |