Skip to content

Strictly parse CLI count options#69

Open
w287346141 wants to merge 1 commit into
Yapie0:mainfrom
w287346141:codex/strict-cli-count-options
Open

Strictly parse CLI count options#69
w287346141 wants to merge 1 commit into
Yapie0:mainfrom
w287346141:codex/strict-cli-count-options

Conversation

@w287346141
Copy link
Copy Markdown

Summary

  • add shared integer parsers for CLI count-style options
  • reject fractional, suffixed, zero, and negative values before commands run
  • apply the parser to prune-sessions, events, replay, and MCP count/page options

Validation

  • npm.cmd test -- --run tests/cli-number-options.test.ts tests/cli-bare-routing.test.ts tests/events-command.test.ts tests/replay.test.ts tests/update-command.test.ts
  • npm.cmd run lint
  • npm.cmd run typecheck
  • git diff --check
  • push hook ran npm.cmd run verify

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