1.4 KiB
1.4 KiB
Created
Created by tickets.sh create.
Closed
This ticket is completed/superseded by insomnia-crate-cli-owner.
The original goal was to remove CLI parsing from crates/tui/src/main.rs so the TUI crate would stop owning top-level product CLI parsing. The later insomnia-crate-cli-owner implementation went further:
- the product binary moved from package
tuito packageinsomnia; - top-level CLI parsing and dispatch now live in
crates/insomnia/src/main.rs; tuiis now a library implementation crate with no productmain.rs;insomnia pod ...andinsomnia memory lint ...are routed by theinsomniacrate;- normal TUI launch is delegated to
tui::launch(...).
Because the TUI crate no longer owns the product entrypoint or CLI parser, there is no remaining tui/src/main.rs CLI parsing extraction to implement under this ticket. Further CLI parser cleanup, if desired, belongs to the insomnia crate, not this TUI cleanup ticket.
Validation evidence from insomnia-crate-cli-owner closure:
cargo test -p insomnia- CLI smoke for
--help,pod --help,memory lint --help, invalid--session, and resume/Pod selection conflicts cargo check -p client -p pod -p tui -p insomnianix build .#insomnia./tickets.sh doctorgit diff --check