Skip to content

fix #508: list all --state values in CLI help - #932

Open
mmatokovic wants to merge 1 commit into
OpenAPITools:masterfrom
mmatokovic:fix/508-state-help
Open

mmatokovic wants to merge 1 commit into
OpenAPITools:masterfrom
mmatokovic:fix/508-state-help

Conversation

@mmatokovic

@mmatokovic mmatokovic commented Oct 29, 2026 •

Copy link
Copy Markdown

The help for --state only mentions no_changes, incompatible and compatible, but it can also print metadata and unknown (see #508). I changed the description to take the values straight from the DiffResult enum so it doesn't go out of date again, and updated the README to match.

Didn't add a test because the cli module has no tests set up yet. Checked it by running --help on the built jar.

fix #508

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

View guided diff | Re-trigger cubic

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.

--state option outputs metadata

1 participant