aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/commands/global.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/global.rs')
-rw-r--r--src/commands/global.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/commands/global.rs b/src/commands/global.rs
new file mode 100644
index 0000000..c4de5e4
--- /dev/null
+++ b/src/commands/global.rs
@@ -0,0 +1,15 @@
+use clap::Args;
+
+#[derive(Args)]
+pub struct GlobalArgs {
+ /// The command name to run
+ pub command_name: String,
+
+ /// Arguments to pass to the command
+ #[arg(trailing_var_arg = true)]
+ pub args: Vec<String>,
+}
+
+pub fn execute(_args: &GlobalArgs) {
+ todo!()
+}