blob: c95c1eb141b3f7962b2f1f6c2c8f76854d21ca88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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, _cli: &super::Cli) -> anyhow::Result<()> {
todo!()
}
|