✨ feat(config): add function to list rules
- implement list_rules function in Config struct - iterate through rules and print each rule
This commit is contained in:
committed by
Jeremiah Russell
parent
33027a6c34
commit
6ef1a337a2
@@ -97,4 +97,11 @@ impl Config {
|
||||
""
|
||||
}
|
||||
}
|
||||
|
||||
/// List the end of life rules set in the configuration
|
||||
pub fn list_rules(&self) {
|
||||
for rule in &self.rules {
|
||||
println!("{rule}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user