pub fn handle_config_command<C, S>(
command: ConfigCommand,
config_path: &Path,
) -> ConfigResult<()>Expand description
Handles a built-in config subcommand for a consumer CLI.
C is the clap parser type used to generate completion metadata. S is the
application config schema used for template and JSON Schema generation.
§Type Parameters
C: The consumer CLI parser type that implementsCommandFactory.S: The consumer config schema used when rendering config templates and JSON Schema files.
§Arguments
command: Built-in subcommand selected by the consumer CLI.config_path: Root config path used as the template source when handlingconfig-template.
§Returns
Returns Ok(()) after the selected subcommand completes.