Struct tauri_utils::config::CliConfig [−][src]
pub struct CliConfig { pub description: Option<String>, pub long_description: Option<String>, pub before_help: Option<String>, pub after_help: Option<String>, pub args: Option<Vec<CliArg>>, pub subcommands: Option<HashMap<String, CliConfig>>, }
Expand description
The CLI root command definition.
Fields
description: Option<String>
long_description: Option<String>
before_help: Option<String>
after_help: Option<String>
args: Option<Vec<CliArg>>
subcommands: Option<HashMap<String, CliConfig>>
Implementations
List of subcommands of this command
Command description which will be shown on the help information.
Command long description which will be shown on the help information.
Adds additional help information to be displayed in addition to auto-generated help. This information is displayed before the auto-generated help information. This is often used for header information.
Adds additional help information to be displayed in addition to auto-generated help. This information is displayed after the auto-generated help information. This is often used to describe how to use the arguments, or caveats to be noted.
Trait Implementations
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 RefUnwindSafe for CliConfig
impl UnwindSafe for CliConfig
Blanket Implementations
Mutably borrows from an owned value. Read more