docker scout should be able to output data in JSON format

Open
#192 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, shell
Domain
cli

Research direction

Start with the docker scout repo list command and inspect how its current output is assembled and how command-wide formatting is handled. Check the other output-generating Docker Scout commands to determine the shared scope; done means --format json emits only the requested data, without extra messages such as “What's next”.

Written by the indexing model from the issue text.

Description

This is a feature request:

All docker scout commands that are generating output, such as docker scout repo list should be able to display the output in JSON.

Something like:

docker scout repo list --format json

and the extra text such as the What's next message in the example below, should not be included in the JSON.

So just show what is needed, so in this case, the repo name and whether its enabled/disabled.

Image

Dominant language
Shell
Stars
454
Forks
134
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/scout-cli

All issues in docker/scout-cli

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.