cardinal_cli/lib.rs
1pub mod cmd;
2
3use clap::{Parser, Subcommand};
4
5#[derive(Parser, Debug)]
6pub struct Cli {
7 #[command(subcommand)]
8 pub command: Option<Command>,
9}
10
11#[derive(Debug, Parser)]
12pub struct CmdRun {
13 #[arg(long, short)]
14 config: Vec<String>,
15}
16
17#[derive(Debug, Subcommand)]
18pub enum Command {
19 Run(CmdRun),
20}