diff --git a/src/bin/repo.rs b/src/bin/repo.rs index 5962122c0..c50282b5f 100644 --- a/src/bin/repo.rs +++ b/src/bin/repo.rs @@ -60,6 +60,7 @@ const REPO_HELP_STR: &str = r#" --all apply to all recipes in --category= apply to all recipes in / --filesystem= override recipes config using installer file + --repo-binary override recipes config to use repo_binary cook env and their defaults: CI= set to any value to disable TUI @@ -345,6 +346,7 @@ fn parse_args(args: Vec) -> anyhow::Result<(CliConfig, CliCommand, Vec = None; let mut recipe_names: Vec = Vec::new(); + let mut override_filesystem_repo_binary = false; for arg in args { if arg.starts_with("--") { if let Some((key, value)) = arg.split_once('=') { @@ -369,6 +371,7 @@ fn parse_args(args: Vec) -> anyhow::Result<(CliConfig, CliCommand, Vec override_filesystem_repo_binary = true, "--with-package-deps" => config.with_package_deps = true, "--all" => config.all = true, _ => { @@ -401,6 +404,11 @@ fn parse_args(args: Vec) -> anyhow::Result<(CliConfig, CliCommand, Vec