Skip to content
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

choco config list should only include information about config #2986

Closed
2 tasks done
gep13 opened this issue Jan 19, 2023 · 1 comment · Fixed by #3067
Closed
2 tasks done

choco config list should only include information about config #2986

gep13 opened this issue Jan 19, 2023 · 1 comment · Fixed by #3067

Comments

@gep13
Copy link
Member

gep13 commented Jan 19, 2023

Starting in Chocolatey CLI v1.3.0, we are deprecating portions of the choco config list output. Users will be warned that the features and sources sections will no longer be shown when calling config list in future versions of Chocolatey, in addition to the API keys not being shown.

To list features or sources, instead use choco feature or choco source commands, respectively.

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.

It is possible to run the following commands, to get an output which includes only the things that were specifically asked for:

choco feature list
choco source list
choco apikey list

However, when you run the following command:

choco config list

you get information output about all of the above, i.e. sources, features, apikeys, and configs. Additionally, in some sections, it mentions that if you want more information, run another command.

The output from the choco config list command should show only information about the config, nothing else.

Describe The Solution. Why is it needed?

This issue is about changing the output of the choco config list command to have it only output the information about the given config values, rather than listing all the information about sources, features, and apikeys.

This change takes us along the path of having a consistent "API" for the Chocolatey CLI.

This will hopefully prevent confusion, and frustration, when using the Chocolatey CLI.

Additional Context

No response

Related Issues

This is follow-up issue from the issue to make it clear that the output from the choco config list command was being deprecated which was added in the 1.3.0 milestone:

@gep13 gep13 added this to the 2.0.0 milestone Jan 19, 2023
vexx32 added a commit to vexx32/choco that referenced this issue Mar 15, 2023
We have other commands for listing features, sources, apikeys, etc.
Config can finally just be config.
@vexx32 vexx32 self-assigned this Mar 15, 2023
vexx32 added a commit to vexx32/choco that referenced this issue Mar 15, 2023
We have other commands for listing features, sources, apikeys, etc.
Config can finally just be config.
vexx32 added a commit to vexx32/choco that referenced this issue Mar 15, 2023
We have other commands for listing features, sources, apikeys, etc.
Config can finally just be config.
gep13 pushed a commit to vexx32/choco that referenced this issue Mar 16, 2023
We have other commands for listing features, sources, apikeys, etc.
Config can finally just be config.
gep13 added a commit that referenced this issue Mar 16, 2023
(#2986) Strip `config list` down to just config
@gep13 gep13 added 4 - Done and removed 3 - Review labels Mar 16, 2023
@choco-bot
Copy link

🎉 This issue has been resolved in version 2.0.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants