aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/global.rs
blob: 802e0852962fdfb5f945d96a960f181969c62291 (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, _cli: &super::Cli) -> anyhow::Result<()> {
    todo!()
}