-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oli: Introduce command oli config
#1781
Comments
I prefer to add this subcommand after all others have been added. |
How about using |
@Xuanwo May I know the reason? With this command, I think users can edit/update config file more conveniently.
@suyanhanx A good idea! I think the command name could be
|
Yes. That's what I mean. |
You are right. But users can still use oli without config support. And users nearly use cli to change config. So I think it's less important than other features. It's a feature that good to have instead of must have. |
I don't think it's a good idea to add |
Related: #422 RFC
oli config
is responsible for managing user configuration files. It consists of several subcommands:oli config set-profile
: update or add a profile in the current configoli config set-profile <name> <type> [options]...
, e.g:oli config set-profile mys3 s3 bucket=foo access_key_id=bar
oli config delete-profile
: delete the given profile from the configoli config delete-profile <name>
oli config edit
: edit the config file from the default editoroli config edit
OLI_EDITOR
environment variable, or fall back to 'vi' for Linux or 'notepad' for Windows.oli config view
: print out the current configThe text was updated successfully, but these errors were encountered: