Commit Graph

11 Commits

Author SHA1 Message Date
Jeremiah Russell
95e19884a2 🐛 fix(remove_cli): handle rule not found when removing label
- return error if rule not found when removing label
2025-10-09 12:32:56 +01:00
Jeremiah Russell
1ff33bba3f 🐛 fix(label_cli): fix add label logic
- correct logic for adding label to rule
2025-10-09 11:19:11 +01:00
Jeremiah Russell
d6ee9f5227 🐛 fix(cli): correct output format for label list
- change the output format for label list from logging to printing to the console
- modify the loop logic to output labels in a comma-separated format
2025-10-09 11:19:11 +01:00
Jeremiah Russell
ee3c43e54d 🐛 fix(label_cli): display labels by rule id
- fix label listing to correctly display labels associated with a specified rule ID
2025-10-09 09:53:09 +01:00
Jeremiah Russell
4ec18c2712 feat(label_cli): implement remove label subcommand
- add `remove` subcommand to the label CLI
- allow users to remove a label from a specific rule by ID
2025-10-09 07:26:19 +01:00
Jeremiah Russell
362ad93adf feat(label_cli): implement label listing subcommand
- add `list` subcommand to `label` subcommand
- implement `run` function for `ListCli` to handle listing labels
2025-10-09 07:26:19 +01:00
Jeremiah Russell
0082b327f7 feat(label): implement add label subcommand
- add `add` subcommand to the label cli
- allow users to add labels to existing rules
2025-10-09 07:26:19 +01:00
Jeremiah Russell
06da00ac68 feat(cli): implement label subcommand
- adds label subcommand to manage labels associated with rules
- provides list, add, and remove subcommands for label management
2025-10-09 07:26:19 +01:00
Jeremiah Russell
cd6858f4bd ♻️ refactor(cli): restructure rules CLI
- move rules_cli.rs to config_cli/rules_cli.rs
- remove update command
2025-10-09 07:26:19 +01:00
Jeremiah Russell
7bac3ccd1d ♻️ refactor(cli): rename add_cli to rules_cli
- rename `add_cli.rs` to `rules_cli.rs` for better module naming
2025-10-09 07:26:19 +01:00
Jeremiah Russell
50ddb6ab66 ♻️ refactor(cli): rename rm_cli to rules_cli
- reflect config cli changes
2025-10-09 07:26:19 +01:00