Repository navigation
Conversation
Updated argument parsing to prevent consuming the next known flag when a value is expected. Added tests to ensure correct error messages and flag handling.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Summary
Report a missing value when the next token is a flag recognized by the current MaterialCraft command. This covers both flags that take values and boolean flags. Signed values and unrelated dash-prefixed values remain valid.
Verification
Rustfmt passed. An isolated Rust check ran the exact production parser and its tests.
mainaccepted a following flag as the option value. The patch passed all four checks, including negative pitch, literal names, and automation-root aliases. The full CLI suite was not run.Summary by CodeRabbit