From 3f80f3acd90c9782420cc0d33fcf77035e522b15 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 11 Feb 2026 10:15:55 +0900 Subject: enable workspace --- crates/mozart/src/commands/run_script.rs | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 crates/mozart/src/commands/run_script.rs (limited to 'crates/mozart/src/commands/run_script.rs') diff --git a/crates/mozart/src/commands/run_script.rs b/crates/mozart/src/commands/run_script.rs new file mode 100644 index 0000000..e2349a2 --- /dev/null +++ b/crates/mozart/src/commands/run_script.rs @@ -0,0 +1,31 @@ +use clap::Args; + +#[derive(Args)] +pub struct RunScriptArgs { + /// Script name to run + pub script: Option, + + /// Arguments to pass to the script + #[arg(trailing_var_arg = true)] + pub args: Vec, + + /// Set the script timeout in seconds + #[arg(long)] + pub timeout: Option, + + /// Sets the dev mode + #[arg(long)] + pub dev: bool, + + /// Disables the dev mode + #[arg(long)] + pub no_dev: bool, + + /// List the available scripts + #[arg(short, long)] + pub list: bool, +} + +pub fn execute(_args: &RunScriptArgs) { + todo!() +} -- cgit v1.3.1