-
Notifications
You must be signed in to change notification settings - Fork 905
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 ability to get status of an individual feature (choco feature get
)
#2815
Labels
Milestone
Comments
Tom-V
added a commit
to Tom-V/choco
that referenced
this issue
Oct 29, 2022
9 tasks
gep13
pushed a commit
to Tom-V/choco
that referenced
this issue
Apr 13, 2023
gep13
changed the title
Please amend
Add ability to get status of an individual feature (Apr 14, 2023
choco feature
with a verb to query a the status of a single feature namechoco feature get
)
gep13
added a commit
to Tom-V/choco
that referenced
this issue
Apr 14, 2023
In addition to being able to get the complete list of features on the system, it should be possible to get the status of a specific feature. This matches what is possible for example with the choco config get command. This commit adds the ability to use choco feature get to get the current Enabled/Disabled status for a given feature. If the feature name provided doesn't exist an error will be returned. Co-authored-by: Tom Vervoort <[email protected]>
gep13
added a commit
to Tom-V/choco
that referenced
this issue
Apr 14, 2023
This commit adds new end to end tests for the new choco feature get command so ensure that it works as expected. This includes running both choco feature and choco features, as well as running with --name and without.
gep13
added a commit
to Tom-V/choco
that referenced
this issue
Apr 14, 2023
In addition to being able to get the complete list of features on the system, it should be possible to get the status of a specific feature. This matches what is possible for example with the choco config get command. This commit adds the ability to use choco feature get to get the current Enabled/Disabled status for a given feature. If the feature name provided doesn't exist an error will be returned. Co-authored-by: Tom Vervoort <[email protected]>
gep13
added a commit
to Tom-V/choco
that referenced
this issue
Apr 14, 2023
This commit adds new end to end tests for the new choco feature get command so ensure that it works as expected. This includes running both choco feature and choco features, as well as running with --name and without.
gep13
added a commit
to Tom-V/choco
that referenced
this issue
Apr 14, 2023
This commit adds new end to end tests for the new choco feature get command so ensure that it works as expected. This includes running both choco feature and choco features, as well as running with --name and without.
corbob
added a commit
that referenced
this issue
Apr 14, 2023
(#2815) Add new choco feature get subcommand
🎉 This issue has been resolved in version 2.0.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
gep13
added a commit
that referenced
this issue
May 22, 2024
This was missed when the ability to do choco feature get was added to Chocolatey CLI v2.0.0. This commit adds the sub-command, as it is missing when additional Pester tests are being created as part of the next release.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is Your Feature Request Related To A Problem? Please describe.
I wanted to know the status of the
useRememberedArgumentsForUpgrades
feature but found no way to query the status of a single feature.The only way is to perform a
choco feature list
(which gets you a list not sorted by feature name, see #2814) and search the output from top to bottom for the feature name.Describe The Solution. Why is it needed?
It would be really helpful to have a
choco feature
that queries a feature status by feature name similar to howchoco feature disable -n=bob
andchoco feature enable -n=bob
can be used for disabling or enabling a single feature.Additional Context.
I tried
choco feature useRememberedArgumentsForUpgrades
just to test if that would work, but it gives the same output aschoco feature list
on my system: the list is long and I find it hard to search for a single feature (yes, I need to reboot, but also not to forget posting this issue):Related Issues
useRememberedArgumentsForUpgrades
I was trying to find the local status for)feature
config
source
andapikey
list command #2814 (for making it easier to find features by feature name)The text was updated successfully, but these errors were encountered: