Skip to content

Command Line Interface (cli) --info option not working as per documentation, always gives invalid choice #6572

Closed Answered by AjayaVeeramalli
AjayaVeeramalli asked this question in Q&A
Discussion options

You must be logged in to vote

I did the reinstall and tried. The reinstall seems to have fixed some other issues that I was having. However, I was still getting this isssue. But then it just went away when I did the same with sudo.

The following is the latest: (with and without sudo)
$ python3 /opt/jans/jans-cli/config-cli.py --info DefaultAuthenticationMethod
usage: config-cli.py [-h] [--host HOST] [--client-id CLIENT_ID] [--client-secret CLIENT_SECRET] [--access-token ACCESS_TOKEN]
[--plugins PLUGINS] [-debug] [--debug-log-file DEBUG_LOG_FILE] [--operation-id OPERATION_ID]
[--url-suffix URL_SUFFIX] [--info {}] [--op-mode {get,post,put,patch,delete}] [--endpoint-args ENDPOINT_ARGS]
[--schema SCHEMA] [-CC CONFIG_API_M…

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ossdhaval
Comment options

Comment options

You must be logged in to vote
1 reply
@ossdhaval
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by AjayaVeeramalli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants