Files
cleveragents-core/features/cli.feature
T
khyari hamza 02c75fb4bb feat(cli): enhance version/info/diagnostics with --format and --check
Add structured data builders and Rich renderers for version, info, and
diagnostics commands. Support --format rich/plain/json/yaml output parity
and --check flag for diagnostics (exits non-zero on errors).

Includes Behave scenarios, Robot smoke tests, ASV benchmarks, and updates
existing tests to match the new Rich panel output format.
2026-02-18 12:18:03 +00:00

31 lines
995 B
Gherkin

Feature: CleverAgents CLI metadata
Scenario: Display help
When I run the CleverAgents CLI with "--help"
Then the output should contain "CleverAgents"
Scenario: Display version
When I run the CleverAgents CLI with "--version"
Then the output should contain "1.0.0"
Scenario: Display diagnostics
When I run the CleverAgents CLI with "diagnostics"
Then the output should contain "Checks"
And the output should contain "Summary"
Scenario: Display info
When I run the CleverAgents CLI with "info"
Then the output should contain "Environment"
And the output should contain "Runtime"
Scenario Outline: Display help for command groups
When I run the CleverAgents CLI with "<command> --help"
Then the exit code should be 0
And the output should contain "<expected>"
Examples:
| command | expected |
| project | Project management |
| context | Context management |
| plan | Plan operations |