mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
feat: Add strategies environment variable (#1555)
This commit is contained in:
parent
dca22b6548
commit
b14f78b982
1 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue