Summary: Replace hand-rolled argument parsing in src/cli.ts with the chosen CLI framework and wire core commands (generate, list, show, play, version).
Acceptance Criteria
- Core commands accept the same flags/args as today for parity.
- Programmatic
main() export remains for tests.
- Unit and integration tests for core commands pass.
Minimal Implementation
- Add framework scaffold and implement
generate dispatch to existing implementation.
- Keep old parsing module behind a compatibility shim until parity proven.
Dependencies: TF-0MMJ7YHID0S9PFY1 (Evaluate CLI libraries and choose one).
Deliverables:
- Updated
src/cli.ts (or split files), migration notes, and updated tests.
Summary: Replace hand-rolled argument parsing in
src/cli.tswith the chosen CLI framework and wire core commands (generate,list,show,play,version).Acceptance Criteria
main()export remains for tests.Minimal Implementation
generatedispatch to existing implementation.Dependencies: TF-0MMJ7YHID0S9PFY1 (Evaluate CLI libraries and choose one).
Deliverables:
src/cli.ts(or split files), migration notes, and updated tests.