Closed dilawar closed 7 months ago
@dilawar this is only for listing and searching packages, right?
Yes. Essentially, any command whose output can be consumed by some other program should also emit JSON. If a command is only for human consumption then we don't have to support JSON output for that.
Add a global option
--json
.If passed, all output must be in JSON format.