• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nvidia-holoscan / holoscan-cli / 30079165932
79%
main: 79%

Build:
Build:
LAST BUILD BRANCH: wenqil/pr177-review-followups
DEFAULT BRANCH: main
Ran 24 Jul 2026 08:30AM UTC
Jobs 1
Files 36
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jul 2026 08:30AM UTC coverage: 79.178% (+0.6%) from 78.605%
30079165932

Pull #205

github

wyli
feat: add --json to list, modes, env-info, and version

Completes the F3 "--json on every read verb" surface from the agentic-CLI
design. `status` and `env-check` already emitted JSON; this adds the same
opt-in `--json` flag to the four remaining read commands so agents can parse
discovery and diagnostic output instead of scraping prose:

* `list --json`     — {projects: [{name, project_type, source_folder,
                      language[], modes[]}]}. Includes source_folder, the one
                      field agents previously had to guess.
* `modes --json`    — the resolved metadata.modes object plus project/language.
* `env-info --json` — full structured host report. env_info.py grows a
                      parallel `gather_*` data layer beside the `collect_*`
                      prose printers (the status.py collect/format split);
                      only one path runs per invocation.
* `version --json`  — package/version/executable/module.

All payloads flow through a new utils/json_output.dumps that injects an
additive `schema_version` (1) as the first key; the same wrapper is
retrofitted onto the existing status/env-check JSON (additive, no field moves).
Env-var name lists and the Python-environment classification are extracted to
single-source helpers shared by the prose and JSON renderers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #205: feat: add --json to list, modes, env-info, and version

132 of 136 new or added lines in 7 files covered. (97.06%)

59 existing lines in 4 files now uncovered.

3236 of 4087 relevant lines covered (79.18%)

0.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
93.75
1.97% src/holoscan_cli/utils/env_info.py
1
77.44
6.8% src/holoscan_cli/commands/info.py

Coverage Regressions

Lines Coverage ∆ File
32
77.07
0.0% src/holoscan_cli/utils/holohub.py
14
77.44
6.8% src/holoscan_cli/commands/info.py
8
85.19
0.0% src/holoscan_cli/metadata/utils.py
5
83.33
0.0% src/holoscan_cli/metadata/gather_metadata.py
Jobs
ID Job ID Ran Files Coverage
1 30079165932.1 24 Jul 2026 08:30AM UTC 36
79.18
GitHub Action Run
Source Files on build 30079165932
  • Tree
  • List 36
  • Changed 7
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30079165932
  • Pull Request #205
  • PR Base - main (#29837385462)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc