Expand description
Command-line argument definitions (clap derive) and the small wrapper enums that adapt
bhtune-core’s domain enums to clap::ValueEnum.
Rust’s orphan rule forbids implementing a foreign trait (clap::ValueEnum) for a foreign
type (bhtune_core::ProcessType etc.), so each domain enum this CLI exposes as a flag
gets a small local wrapper here with a From/Into conversion — not a design choice, a
language requirement.
Structs§
- Cli
- The
bhtuneCLI: a scriptable, no-GUI way to run an MRFT tune and inspect its history. - Export
Args - Replay
Driver Unsupported - The error
DriverKindArg::try_fromreturns forbhtune_db::models::TuneDriver::Replay– see that impl’s doc comment. - Simulate
Args bhtune simulate: every field defaulted for a true zero-configuration demo run.- Tune
Args - Flags shared by
tuneand (a defaulted subset of)simulate.
Enums§
- Command
- Controller
Type Arg - A
bhtune_core::ControllerTypevalue, as a CLI flag. - Direction
Arg - A
bhtune_core::ControllerDirectionvalue, as a CLI flag. - Driver
Kind Arg - Which
bhtune_driver::Driverimplementation atunerun should use. - Export
Format - History
Command - OpcCommand
- OpcSearch
Match Mode Arg - Outcome
Arg - A
bhtune_db::models::TuneOutcomevalue, as a CLI flag. - Process
Type Arg - A
bhtune_core::ProcessTypevalue, as a CLI flag. - Response
Level Arg - A
bhtune_core::ResponseLevelvalue, as a CLI flag (--write-pid <aggressive|moderate|sluggish>). - Search
Index Command - Search
Index Control Action Arg - Template
Command - Template
File Format - File format for
template export/auto-detected ontemplate import.