Function git_global::subcommands::run

source ·
pub fn run(maybe_subcmd: Option<&str>, config: Config) -> Result<Report>
Expand description

Run a subcommand, returning a Report.

If None is given for the optional subcommand, run config.default_cmd. Else, try to match the given &str to a known subcommand.