diff --git a/crates/bin/src/args.rs b/crates/bin/src/args.rs index 9881341e..dc4480b4 100644 --- a/crates/bin/src/args.rs +++ b/crates/bin/src/args.rs @@ -221,7 +221,12 @@ pub struct Args { pub(crate) dry_run: bool, /// Disable interactive mode / confirmation prompts. - #[clap(help_heading = "Options", short = 'y', long)] + #[clap( + help_heading = "Options", + short = 'y', + long, + env = "BINSTALL_NO_CONFIRM" + )] pub(crate) no_confirm: bool, /// Do not cleanup temporary files.