feat: add verbose and dry run

This commit is contained in:
2026-09-07 14:12:53 +00:00
parent ab93e7ef4f
commit b2a0c08256
5 changed files with 83 additions and 29 deletions

View File

@@ -8,8 +8,15 @@ use clap_complete::Shell;
pub struct Ahab {
#[command(subcommand)]
pub command: Commands,
}
/// Print each docker command as it runs
#[arg(short, long, global = true)]
pub verbose: bool,
/// Print the docker commands that would run, without running them
#[arg(long, global = true)]
pub dry_run: bool,
}
#[derive(Debug, Subcommand)]
pub enum Commands {
/// Django related subcommands