pub(crate) fn cmd_validate( preset_path: PathBuf, strict: bool, output: Option<PathBuf>, ) -> Result<()>