Skip to main content

run_from_args

Function run_from_args 

Source
pub fn run_from_args(extra_args: Vec<OsString>) -> Result<()>
Expand description

Entry point when invoked as a hidden cfsctl mkcomposefs subcommand.

extra_args contains everything after the mkcomposefs token as captured by clap’s trailing-var-arg mechanism. A synthetic argv[0] is prepended so that Args::parse_from produces the same help text / error messages as the standalone binary.