pub fn run_validate(
ctx: &Context,
stdout: &mut dyn Write,
stderr: &mut dyn Write,
allow_deprecated: bool,
) -> Result<()>Expand description
Port of config.runValidate: loads and validates the configuration,
writing failure diagnostics to stderr and success diagnostics to
stdout so they survive shell redirection of the command’s stdout.