You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Login help menu does not show --password as required
Login --password option is required. Autogenerated CLI check this properly but Login help menu does NOT show --password as an option.
cafetero@swdev:~$ ./opencga-client-2.2.0-SNAPSHOT/bin/opencga.sh users login -u [USER] <<< TO_BE_CHANGED
ERROR: The following option is required: [-p | --password]
Usage: opencga.sh users login [options]
Options:
-h, --help Print this help [false]
--host STRING Use this server host instead of the default one in the client configuration
-L, --log-level STRING One of the following: 'error', 'warn', 'info', 'debug', 'trace' [info]
--no-header Not include headers in the output (not applicable to json output-format)
[false]
--out-format, --OF STRING Output format. one of {JSON, JSON_PRETTY, TEXT, YAML} [TEXT]
--refresh-token STRING The body web service refreshToken parameter
*-u, --user STRING User id, this must be unique in OpenCGA
2. Login only lets input the password interactively. Does not let redirect with <<< neither with echo
The text was updated successfully, but these errors were encountered:
For user authentication we have two ways to do it:
"Users login" which works the same way as the rest of the commands on the CLI.
Usage: opencga.sh users login [options]
Options:
-h, --help Print this help [false]
--host STRING Use this server host instead of the default one in the client configuration
-L, --log-level STRING One of the following: 'error', 'warn', 'info', 'debug', 'trace' [info]
--no-header Not include headers in the output (not applicable to json output-format)
[false]
--out-format, --OF STRING Output format. one of {JSON, JSON_PRETTY, TEXT, YAML} [TEXT]
*-p, --password User password
--refresh-token STRING The body web service refreshToken parameter
*-u, --user STRING User id, this must be unique in OpenCGA
"login" is a shortcut to the users command and requires no options or subcommands. If after login we put the name of the user, it only asks for the password, otherwise it asks for both. No needs -u or -p
Some improvements:
1. Login help menu does not show --password as required
Login --password option is required. Autogenerated CLI check this properly but Login help menu does NOT show --password as an option.
2. Login only lets input the password interactively. Does not let redirect with
<<<
neither withecho
The text was updated successfully, but these errors were encountered: