Function vector::config::cmd

source ยท
pub fn cmd(opts: &Opts) -> ExitCode
Expand description

Function used by the vector config subcommand for outputting a normalized configuration. The purpose of this func is to combine user configuration after processing all paths, Pipelines expansions, etc. The JSON result of this serialization can itself be used as a config, which also makes it useful for version control or treating as a singular unit of configuration.