Skip to content

refactor(cli): extract arg parsers - #278

Merged
kunaldhongade merged 1 commit into
mainfrom
feature/262-cli-arg-parsers
Jun 28, 2026
Merged

refactor(cli): extract arg parsers#278
kunaldhongade merged 1 commit into
mainfrom
feature/262-cli-arg-parsers

Conversation

@kunaldhongade

Copy link
Copy Markdown
Member

Refs #262

Summary

  • Moves CLI command argument parsing into packages/cli/src/parsers/args.ts.
  • Keeps packages/cli/src/index.ts focused on command wiring and execution.
  • Preserves the existing parser behavior and public CLI surface.

Validation

  • pnpm install
  • pnpm run lint
  • pnpm typecheck
  • pnpm exec vitest run packages/cli/test/cli.test.ts packages/cli/test/built-cli.test.ts packages/core/test/core.test.ts
  • pnpm test
  • pnpm build
  • pnpm --filter @submuxhq/codedecay pack --dry-run
  • node packages/cli/dist/index.js --help
  • node packages/cli/dist/index.js analyze --format markdown
  • node packages/cli/dist/index.js analyze --format yaml exits 2
  • node packages/cli/dist/index.js analze exits 2 with suggestion
  • node packages/cli/dist/index.js version

@kunaldhongade kunaldhongade added type: refactor Internal restructuring without intended behavior change area: cli CLI package or command behavior labels Jun 28, 2026
@kunaldhongade
kunaldhongade merged commit f361adc into main Jun 28, 2026
7 checks passed
@kunaldhongade
kunaldhongade deleted the feature/262-cli-arg-parsers branch June 28, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cli CLI package or command behavior type: refactor Internal restructuring without intended behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant