Add a key for running remote topgrades
This commit is contained in:
@@ -69,6 +69,7 @@ pub struct ConfigFile {
|
||||
commands: Option<Commands>,
|
||||
git_repos: Option<Vec<String>>,
|
||||
disable: Option<Vec<Step>>,
|
||||
remote_topgrades: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
impl ConfigFile {
|
||||
@@ -198,4 +199,9 @@ impl Config {
|
||||
pub fn verbose(&self) -> bool {
|
||||
self.opt.verbose
|
||||
}
|
||||
|
||||
/// List of remote hosts to run Topgrade in
|
||||
pub fn remote_topgrades(&self) -> &Option<Vec<String>> {
|
||||
&self.config_file.remote_topgrades
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user