Skip to content

Framework migration: core parser #234

@SorraTheOrc

Description

@SorraTheOrc

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions