Skip to main content

run

Function run 

Source
pub fn run(rules_dir: &Path) -> Result<(), CliError>
Expand description

执行 validate 子命令

§退出码

  • 0:所有 transform 通过验证
  • 1:有 error(未知 type 或缺 type 字段)