Commit Graph

9 Commits

Author SHA1 Message Date
Jeremiah Russell
9fa268340f 🐛 fix(cli): correct count type in add_cli
- fix: change count type from usize to i64 to allow negative values
2025-10-11 09:35:12 +01:00
Jeremiah Russell
44d8eef872 feat(rules_cli): implement add command for managing retention rules
- add `add` subcommand to manage retention rules
- introduce `Period` enum for specifying time units
- implement logic to add and save new retention rules to the configuration
2025-10-09 17:03:04 +01:00
Jeremiah Russell
801628310b ♻️ refactor(cli): move rm_cli to new directory
- move the rm_cli module from src/config_cli/rules_cli/ to src/cli/config_cli/rules_cli/
2025-10-09 17:03:04 +01:00
Jeremiah Russell
7d55e6bbd4 feat(cli): add remove label subcommand
- add `remove-label` subcommand to remove labels from rules
2025-10-09 17:03:04 +01:00
Jeremiah Russell
278171503f feat(cli): add list labels subcommand
- add `list` subcommand to `label` subcommand to list labels in rule
- remove `remove` subcommand from `label` subcommand
2025-10-09 17:03:04 +01:00
Jeremiah Russell
0c8da9aa23 feat(label): implement add label command
- adds a new subcommand to add labels to existing rules
- removes list label subcommand
2025-10-09 17:03:04 +01:00
Jeremiah Russell
12ce3a2fd8 ♻️ refactor(cli): move rules_cli to config_cli
- move rules_cli to config_cli for better organization
2025-10-09 17:03:04 +01:00
Jeremiah Russell
ce27475269 ♻️ refactor(cli): rename label_cli module
- move label_cli module to config_cli for better organization
2025-10-09 17:03:04 +01:00
Jeremiah Russell
752f0f8c34 ♻️ refactor(cli): rename action_cli module
- move action_cli module to follow project structure
2025-10-09 17:03:04 +01:00