summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-08-03 13:54:32 +0200
committerFlorian Dold <florian@dold.me>2021-08-03 13:59:35 +0200
commitfa88d5aa851e4ae8fe835ee10e807b4a478fdbf9 (patch)
tree5905ad68dc0becba42eb8ed30683941aaa759b86 /cli
parent1c8bf10f2e07221c8aa91cf2d7156a34b07ab999 (diff)
downloadlibeufin-fa88d5aa851e4ae8fe835ee10e807b4a478fdbf9.tar.gz
libeufin-fa88d5aa851e4ae8fe835ee10e807b4a478fdbf9.tar.bz2
libeufin-fa88d5aa851e4ae8fe835ee10e807b4a478fdbf9.zip
minor CLI changes, ignore extra JSON fields
Diffstat (limited to 'cli')
-rwxr-xr-xcli/bin/libeufin-cli7
1 files changed, 3 insertions, 4 deletions
diff --git a/cli/bin/libeufin-cli b/cli/bin/libeufin-cli
index dcd8abd5..6bab5682 100755
--- a/cli/bin/libeufin-cli
+++ b/cli/bin/libeufin-cli
@@ -804,10 +804,9 @@ def transactions(obj, compact, account_name):
tell_user(resp, withsuccess=True)
check_response_status(resp)
-@facades.command(help="List active facades in the Nexus")
-@click.argument("connection-name")
+@facades.command("list", help="List active facades in the Nexus")
@click.pass_obj
-def list_facades(obj, connection_name):
+def list_facades(obj):
url = urljoin(obj.nexus_base_url, "/facades")
try:
resp = get(url, auth=auth.HTTPBasicAuth(obj.username, obj.password))
@@ -819,7 +818,7 @@ def list_facades(obj, connection_name):
check_response_status(resp)
-@facades.command(help="create a new (Taler) facade")
+@facades.command("new-taler-wire-gateway-facade", help="create a new Taler Wire Gateway facade")
@click.option("--facade-name", help="Name of the facade", required=True)
@click.option("--currency", help="Facade's currency", required=True)
@click.argument("connection-name")