pub fn run<I, A>(args: I, bin_name: Option<String>)
Expand description
Run the Tauri CLI with the passed arguments, exiting if an error occurs.
The passed arguments should have the binary argument(s) stripped out before being passed.
e.g.
tauri-cli 1 2 3
->1 2 3
cargo tauri 1 2 3
->1 2 3
node tauri.js 1 2 3
->1 2 3
The passed bin_name
parameter should be how you want the help messages to display the command.
This defaults to cargo-tauri
, but should be set to how the program was called, such as
cargo tauri
.