-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add config list #3528
Add config list #3528
Conversation
MDrakos
commented
Oct 3, 2024
•
edited by github-actions
bot
Loading
edited by github-actions
bot
DX-3055 Users can list available and configured config keys/values with `state config` |
@@ -10,13 +10,13 @@ import ( | |||
func newConfigCommand(prime *primer.Values) *captain.Command { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should mark it unstable, since technically this is a new command.
That means we're marking a command that used to be "stable" as "unstable", but given the original command was just printing help output I don't see a problem with that.
I'm pretty sure unstable doesn't propagate to child commands (ie. config set), but please make sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears that we do set the child commands to unstable as well. https://github.com/ActiveState/cli/blob/master/internal/captain/command.go#L410
Do we want to find a way to work around this?