| 164 | #[command(propagate_version = true)] |
| 165 | #[command(arg_required_else_help = true)] |
| 166 | struct Cli { |
| 167 | /// Emit extra diagnostic output. |
| 168 | #[arg(short, long, global = true)] |
| 169 | verbose: bool, |
| 170 | |
| 171 | /// Disable ANSI color in output. |
| 172 | #[arg(long, global = true)] |
| 173 | no_color: bool, |
| 174 | |
| 175 | /// The command to run. |
| 176 | #[command(subcommand)] |
| 177 | command: Commands, |
| 178 | } |
| 179 | |
| 180 | /// Available commands for the Atomic CLI. |
| 181 | /// |
no outgoing calls