Skip to main content

run_cli

Function run_cli 

Source
pub fn run_cli<I, T>(argv: I) -> Result<Value>
where I: IntoIterator<Item = T>, T: Into<OsString> + Clone,
Expand description

コマンドラインの引数(先頭は exe の名前)でサブコマンドを 1 つ実行し、結果の JSON を返す(試験・組み込み用。 標準出力には出さない。–save は書く)