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

nvidia-holoscan / holoscan-cli / 30911671408
79%

Build:
DEFAULT BRANCH: main
Ran 04 Aug 2026 01:05PM 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

04 Aug 2026 01:00PM UTC coverage: 78.478% (+0.005%) from 78.473%
30911671408

push

github

web-flow
feat: add -v/--version as top-level aliases for `holoscan version` (#219)

`version` is the only command implemented by `__main__` itself, reachable
only as a subcommand. Add `-v` and `--version` as top-level aliases so the
conventional spellings work too.

The flag routes to `execute_version_command` rather than argparse's built-in
`action="version"`, which would print a single string and exit. Routing to
the real handler keeps the output byte-identical to `holoscan version`
(Package / Version / Executable / Module).

The flag is declared on `parser` rather than `parent_parser`; the latter is
inherited via `parents=` by every subparser, which would otherwise produce
`holoscan build --version` and friends. The no-subcommand branch also has to
skip its print-help-and-exit path, which would otherwise swallow `holoscan -v`
before dispatch.

Note this claims `-v` for version, so it is no longer available as a short
form for the `--verbose` flag carried by the project subcommands.

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

3 of 3 new or added lines in 1 file covered. (100.0%)

3238 of 4126 relevant lines covered (78.48%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30911671408.1 04 Aug 2026 01:05PM UTC 36
78.48
GitHub Action Run
Source Files on build 30911671408
  • Tree
  • List 36
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30911671408
  • bcd382c2 on github
  • Prev Build on main (#30826307291)
  • Next Build on main (#30911712554)
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