Skip to main content

clap_command

Function clap_command 

Source
pub fn clap_command(version: &'static str) -> Command
Expand description

Returns the full CLI Command for codegen (completions, man page) and for --print-completions / --print-manpage. Pass a static version string (e.g. env!("DOMAIN_STATUS_VERSION") or env!("CARGO_PKG_VERSION")).