pub trait CommandGroup {
// Required method
fn leaf(&self) -> &dyn Runnable;
}Expand description
A command group that delegates to a leaf subcommand.
Implement this for parent commands (e.g. BalanceCommand,
DeviceCommand) that simply dispatch to their subcommand.
A blanket Runnable impl forwards all methods through leaf().