From 32c020fb1a7ead715aef79781a960b21dd56c7c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stevan=20Radakovi=C4=87?= Date: Thu, 29 Sep 2016 00:19:30 +0200 Subject: lava-tool shortcuts. Commands such as submit-job, auth-remove, auth-list etc. now support shortcuts for url and users and default user for url. Shortcuts/defaults are set through auth-add or the new command auth-config. Change-Id: Iafd97819a6c1aa891afe90b5f0aac2643191639f Reviewed-on: https://review.linaro.org/14535 Reviewed-by: lava-bot Reviewed-by: Neil Williams --- man/lava-tool.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'man') diff --git a/man/lava-tool.rst b/man/lava-tool.rst index 589ef3c..76c4bac 100644 --- a/man/lava-tool.rst +++ b/man/lava-tool.rst @@ -137,6 +137,30 @@ auth-add to check that the added token works before remembering it. Passing this option prevents this check. + --user-shortcut USER_SHORTCUT + Shortcut name for the user. + --endpoint-shortcut ENDPOINT_SHORTCUT + Shortcut name for the endpoint. + --default-user Set this user as default user for the endpoint + +auth-config + + Usage: lava-tool auth-config [-h] [--user-shortcut USER_SHORTCUT] + [--endpoint-shortcut ENDPOINT_SHORTCUT] + [--default-user] + HOST + + Positional arguments: + HOST + Endpoint to add token for, in the form scheme://username@host. + + Optional arguments: + -h, --help show this help message and exit + --user-shortcut USER_SHORTCUT + Shortcut name for the user. + --endpoint-shortcut ENDPOINT_SHORTCUT + Shortcut name for the endpoint. + --default-user Set this user as default user for the endpoint. put Upload a bundle on the server -- cgit v1.2.3