Skip to content

rats.cli help improvements#601

Merged
ms-lolo merged 3 commits intomainfrom
feature/rats.cli-help-improvements
Jan 21, 2026
Merged

rats.cli help improvements#601
ms-lolo merged 3 commits intomainfrom
feature/rats.cli-help-improvements

Conversation

@ms-lolo
Copy link
Copy Markdown
Contributor

@ms-lolo ms-lolo commented Jan 21, 2026

this patch makes it so that a short 1 liner is used when outputting help text with sub-commands, and the long form version is used when the help text is rendered for a specific subcommand.

> rats-ci --help     
Usage: rats-ci [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...

  commands used during ci/cd

Options:
  --help  Show this message and exit.

Commands:
  build-image  Build a container image of the component.
  check        Run any configured linting & typing checks for the component.
  config       Show information about the configured command groups for...
  fix          Run any configured auto-formatters for the component.
  install      Install the development environment for the component.
  test         Run any configured tests for the component.
> rats-ci test --help
Usage: rats-ci test [OPTIONS]

  Run any configured tests for the component.

  Refer to [rats.ci.AppConfigs.TEST][] for  details on how to update these
  values.

Options:
  --help  Show this message and exit.

@ms-lolo ms-lolo merged commit 3160b9c into main Jan 21, 2026
13 checks passed
@ms-lolo ms-lolo deleted the feature/rats.cli-help-improvements branch January 21, 2026 21:50
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.59%. Comparing base (e9b084e) to head (b0bcf8b).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
Components Coverage Δ
rats-apps ∅ <ø> (∅)
rats-devtools ∅ <ø> (∅)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant