aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/global.rs
blob: c4de5e46aeeeaeb1577d8dd2bf086051a92c5af9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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!()
}