JSON output for some commands
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 960
- PR merge metrics
- No merged PRs in 30d
Description
It would be great for choco to return something other then text for any output. JSON would totally do as it can quickly be loaded with `Convert-FromJson`. This would help with automatic choco installation and configuration.
For example:
```powershell
choco info git.install --format json | Convert-FromJson | % Tags
choco feature --format json | Convert-FromJson | set features
$features.checksumFiles.Enabled -eq $true
```
Contributor guide
Research direction
Start with the output paths for `choco info` and `choco feature`, then trace how each command currently produces text. Done means defining and implementing a consistent JSON output mode that can be consumed by PowerShell's `ConvertFrom-Json` for the examples in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100