mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +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.
|
/// binstall will run the strategies specified in order.
|
||||||
///
|
///
|
||||||
/// Default value is "crate-meta-data,quick-install,compile".
|
/// 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>,
|
pub(crate) strategies: Vec<Strategy>,
|
||||||
|
|
||||||
/// Disable the strategies specified.
|
/// Disable the strategies specified.
|
||||||
|
|
Loading…
Add table
Reference in a new issue