jam1garner / cargo-binrw

WIP cargo subcommand for debugging
1 stars 1 forks source link

Phase 1: Minimal CLI Support #3

Open dmgolembiowski opened 3 years ago

dmgolembiowski commented 3 years ago

The following items are conditionally considered "in scope" for phase 1:

cargo binrw new

CLI handling is broken down into the following cases:

cargo binrw & cargo binrw run

cargo binrw is an alias, or shorthand, for expressing the full command cargo binrw run. Its handling should be intelligent, or at the very least follow some heuristics I've laid out in src/lib.rs.

- [ ] 0x6cargo binrw run --silent(-foreground[=[true|false]]?) > This one's tricky, but to support scripting/automation-testing, we can't hold STDOUT/STDERR hostage so one option is to spawn a TTY connection and feed it like you would a named pipe. The implementation must make an airtight case that this will be fully-closed at the end of the session.