Skip to content

Commit

Permalink
feat: Add strategies environment variable (#1555)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinblackman authored Jan 6, 2024
1 parent dca22b6 commit b14f78b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/bin/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,12 @@ pub struct Args {
/// binstall will run the strategies specified in order.
///
/// Default value is "crate-meta-data,quick-install,compile".
#[clap(help_heading = "Overrides", long, value_delimiter(','))]
#[clap(
help_heading = "Overrides",
long,
value_delimiter(','),
env = "BINSTALL_STRATEGIES"
)]
pub(crate) strategies: Vec<Strategy>,

/// Disable the strategies specified.
Expand Down

0 comments on commit b14f78b

Please sign in to comment.