❇️ feat: Support OKS_PROFILE environment variable#10
Conversation
User can set OKS_PROFILE envrionment variable as default profile when running any oks-cli command without the need to set --profile option
outscale-ykr
left a comment
There was a problem hiding this comment.
Dynamic shell completion no longer works after these changes.
Please refer to the shell_completions function in the utils.py file.
It need to be updated to reflect the recent changes.
|
@outscale-ykr changed have been made |
outscale-ykr
left a comment
There was a problem hiding this comment.
Looks good for me.
Just one point should be added into docs:
To use autocompletion with environment-based profiles, you must
export OKS_PROFILE= before running the CLI.
Inline assignments like OKS_PROFILE=ppd oks-cli ... will not be available
to the completion engine due to shell behavior.
I agree, should this be added into the |
User can set
OKS_PROFILEenvironment variable as default profile when running anyoks-clicommand without the need to set--profileoption