diff options
author | Stevan Radaković <stevan.radakovic@linaro.org> | 2016-09-29 00:19:30 +0200 |
---|---|---|
committer | Neil Williams <neil.williams@linaro.org> | 2016-10-10 07:44:45 +0000 |
commit | 32c020fb1a7ead715aef79781a960b21dd56c7c5 (patch) | |
tree | a1179417a439539ad753e65ec2d8395ddd298ee0 /man/lava-tool.rst | |
parent | 748f41db57412c1aa4857edc5746dbe510e86a70 (diff) |
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 <lava-bot@linaro.org>
Reviewed-by: Neil Williams <neil.williams@linaro.org>
Diffstat (limited to 'man/lava-tool.rst')
-rw-r--r-- | man/lava-tool.rst | 24 |
1 files changed, 24 insertions, 0 deletions
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 |