committed by
GitHub
parent
098b60ba38
commit
729b5b6cb4
@@ -189,6 +189,7 @@ pub struct ConfigFile {
|
||||
cleanup: Option<bool>,
|
||||
notify_each_step: Option<bool>,
|
||||
accept_all_windows_updates: Option<bool>,
|
||||
bashit_branch: Option<String>,
|
||||
only: Option<Vec<Step>>,
|
||||
composer: Option<Composer>,
|
||||
brew: Option<Brew>,
|
||||
@@ -528,6 +529,12 @@ impl Config {
|
||||
self.config_file.assume_yes.unwrap_or(self.opt.yes)
|
||||
}
|
||||
|
||||
/// Bash-it branch
|
||||
#[allow(dead_code)]
|
||||
pub fn bashit_branch(&self) -> &str {
|
||||
self.config_file.bashit_branch.as_deref().unwrap_or("stable")
|
||||
}
|
||||
|
||||
/// Whether to accept all Windows updates
|
||||
#[allow(dead_code)]
|
||||
pub fn accept_all_windows_updates(&self) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user