use std::process::Command; fn main() { Command::new("typeshare") .args(&[ ".", "--lang=typescript", "--output-file=typeshare/core.d.ts", ]) .status() .unwrap(); }