Skip to content

Validate malformed CLI arguments before inspection - #12

Merged
rogerchappel merged 2 commits into
mainfrom
agent/oss-44da1f4647e1-cli-argument-validation
Aug 8, 2026
Merged

Validate malformed CLI arguments before inspection#12
rogerchappel merged 2 commits into
mainfrom
agent/oss-44da1f4647e1-cli-argument-validation

Conversation

@rogerchappel

Copy link
Copy Markdown
Owner

Summary

  • reject missing values for --scenario, --output, and --format before inspection starts
  • accept only the documented json and markdown formats
  • reject trailing arguments for fixed-form scenarios, version, and help commands
  • cover malformed inputs, no-report side effects, and valid format behavior

Commits

  • 255bb97 test: cover malformed CLI arguments
  • 6ea8cc1 fix: validate CLI arguments before inspection

Verification

  • npm test
  • npm run release:check
  • git diff --check origin/main..HEAD
  • verified all proposed commit authors and committers are Roger Chappel <miscanalysis@gmail.com>

@rogerchappel
rogerchappel merged commit 9fb0fe2 into main Aug 8, 2026
1 check 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