feat: add verbose and dry run
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user