pub struct CliHelp {
pub name: String,
pub version: String,
pub about: String,
pub global_options: Vec<ArgumentHelp>,
pub subcommands: Vec<CommandHelp>,
pub exit_codes: Vec<ExitCodeHelp>,
}Expand description
Complete CLI help information for AI agents
Fields§
§name: StringCLI name
version: StringCLI version
about: StringCLI description
global_options: Vec<ArgumentHelp>Global options available on all commands
subcommands: Vec<CommandHelp>Available subcommands
exit_codes: Vec<ExitCodeHelp>Exit codes used by the CLI
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CliHelp
impl<'de> Deserialize<'de> for CliHelp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CliHelp
impl RefUnwindSafe for CliHelp
impl Send for CliHelp
impl Sync for CliHelp
impl Unpin for CliHelp
impl UnwindSafe for CliHelp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more