Skip to content

refactor: split CLI, output, parser, and utility modules - #15

Merged
sonukapoor merged 1 commit into
mainfrom
refactor/cli-output-structure
Mar 29, 2026
Merged

sonukapoor merged 1 commit into
mainfrom
refactor/cli-output-structure

Conversation

@sonukapoor

Copy link
Copy Markdown
Collaborator

Break the single-file CLI flow into focused modules for argument parsing, help output, formatting, and scan presentation.

Highlights:

  • move argument parsing into src/cli/args.ts
  • move banner/help output into src/cli/help.ts
  • move summary/table/final-status rendering into src/output/printers.ts
  • move formatting/log helpers into src/output/formatters.ts
  • extract chalk, file, array, and version helpers into src/utils
  • keep src/index.ts as a smaller orchestration entry point

No major product behavior change intended. This is a structural refactor to make future CLI polish, branding, and README updates easier.

Break the single-file CLI flow into focused modules for argument parsing, help output, formatting, and scan presentation.

Highlights:
- move argument parsing into src/cli/args.ts
- move banner/help output into src/cli/help.ts
- move summary/table/final-status rendering into src/output/printers.ts
- move formatting/log helpers into src/output/formatters.ts
- extract chalk, file, array, and version helpers into src/utils
- keep src/index.ts as a smaller orchestration entry point

No major product behavior change intended. This is a structural refactor to make future CLI polish, branding, and README updates easier.
@sonukapoor
sonukapoor merged commit f3ed6d2 into main Mar 29, 2026
3 checks passed
@sonukapoor
sonukapoor deleted the refactor/cli-output-structure branch March 29, 2026 18:25
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