diff options
Diffstat (limited to 'crates/mozart/src/commands/exec.rs')
| -rw-r--r-- | crates/mozart/src/commands/exec.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/crates/mozart/src/commands/exec.rs b/crates/mozart/src/commands/exec.rs new file mode 100644 index 0000000..7635058 --- /dev/null +++ b/crates/mozart/src/commands/exec.rs @@ -0,0 +1,19 @@ +use clap::Args; + +#[derive(Args)] +pub struct ExecArgs { + /// The binary to run + pub binary: Option<String>, + + /// Arguments to pass to the binary + #[arg(trailing_var_arg = true)] + pub args: Vec<String>, + + /// List the available binaries + #[arg(short, long)] + pub list: bool, +} + +pub fn execute(_args: &ExecArgs) { + todo!() +} |
