Function wei_run::run

source ·
pub fn run(cmd: &str, param: Vec<String>) -> Result<String, Box<dyn Error>>
Expand description

Run wei command, If the program does not exist/ Under the data/directory, search for the program’s configuration file

Arguments

  • cmd - Command name
  • param - Command parameters