Expand description
Declarative CLI definition for the aprender-ptx-debug binary.
The parser lives in the library rather than in src/bin/main.rs so that
integration tests can exercise it directly, matching the house pattern used
by the other CLI crates in this workspace.
Hand-rolled match args[1] dispatch is banned here: unknown flags fall
through catch-all arms, a valued flag given without a value gets discarded,
and an unparseable value degrades into a default instead of an error. clap
derive makes each of those a hard parse failure.
Structs§
- Analyze
Args - Arguments for the
analyzesubcommand. - Cli
- Top-level command line for
aprender-ptx-debug. - GenFkr
Args - Arguments for the
gen-fkrsubcommand.
Enums§
- Command
- Available subcommands.
Functions§
- exit_
code_ for_ parse_ error - Map a clap parse failure onto the process exit code.
- version_
string - Render the version string used by both
--versionand theversionsubcommand, so the two surfaces cannot drift apart.