Commit Graph

4 Commits

Author SHA1 Message Date
Jeremiah Russell
7610f2a9dc feat(config): enhance rule management with BTreeMap
- migrate rules from Vec to BTreeMap for efficient access
- add rule existence check to prevent duplicates
- improve rule listing by iterating over values
2025-10-08 10:39:38 +01:00
Jeremiah Russell
c1e42dfa50 feat(config): add result type to list_rules function
- modify list_rules to return a Result type
- allows for error handling during rule listing
2025-10-08 07:56:41 +01:00
Jeremiah Russell
6ef1a337a2 feat(config): add function to list rules
- implement list_rules function in Config struct
- iterate through rules and print each rule
2025-10-08 06:42:29 +01:00
Jeremiah Russell
050f00940b feat(config): implement configuration file management
- add config.rs to handle program configuration
- create default configuration with retention rules
- implement save and load functions for persistent storage
- add credential file setting
2025-10-07 15:59:18 +01:00