Function exec_subcommand

Source
pub async fn exec_subcommand(
    config: Config,
    paths: &SpacetimePaths,
    root_dir: Option<&RootDir>,
    cmd: &str,
    args: &ArgMatches,
) -> Result<ExitCode>