| 109 | #[command(propagate_version = true)] |
| 110 | #[command(arg_required_else_help = true)] |
| 111 | struct Cli { |
| 112 | /// Enable verbose output for debugging. |
| 113 | /// |
| 114 | /// When enabled, shows additional information about what Atomic is doing. |
| 115 | /// Useful for troubleshooting or understanding the internal operations. |
| 116 | #[arg(short, long, global = true)] |
| 117 | verbose: bool, |
| 118 | |
| 119 | /// Disable colored output. |
| 120 | /// |
| 121 | /// By default, Atomic uses colors when outputting to a terminal. |
| 122 | /// Use this flag to disable colors (useful for piping output). |
| 123 | #[arg(long, global = true)] |
| 124 | no_color: bool, |
| 125 | |
| 126 | /// The command to run. |
| 127 | #[command(subcommand)] |
| 128 | command: Commands, |
| 129 | } |
| 130 | |
| 131 | /// Available commands for the Atomic CLI. |
| 132 | /// |
no outgoing calls