Skip to content

fix: add more cli tests#2456

Merged
maxandersen merged 3 commits into
jbangdev:mainfrom
maxandersen:clicompattest
May 8, 2026
Merged

fix: add more cli tests#2456
maxandersen merged 3 commits into
jbangdev:mainfrom
maxandersen:clicompattest

Conversation

@maxandersen
Copy link
Copy Markdown
Collaborator

this adds integration tests for cli behaviour that showed up reviewing #2453

stalep added a commit to stalep/jbang that referenced this pull request May 4, 2026
- Deprecated flag scan only checks leading options, not script arguments
- Bare 'jbang' shows usage and exits 0 (matching picocli behavior)
- Group commands without subcommand list available subcommands
- Invalid --source-type gives user-friendly error with valid types
- --format option validated to accept only 'text' or 'json'
- Add CliCompatibilityIT tests from PR jbangdev#2456
@maxandersen maxandersen merged commit ee8e078 into jbangdev:main May 8, 2026
28 checks passed
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