feat: Category Feature - Commands (#87) #92
Reference in New Issue
Block a user
Delete Branch "feature/category-commands"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add category command handlers and update existing commands (Issue #87).
New Commands
/category
/category- List all categories/category add <slug> <name>- Create a category (admin only)/category delete <slug>- Soft delete a category (admin only)Updated Commands
/add
Supports
-cat <slug>[,<slug>]flag to add categories when creating a bounty./update
Supports category management flags:
-cat <slug>[,<slug>]- Set/replace categories-cat -- Clear all categories-remove-cat <slug>- Remove specific category/bounty
Supports
-c <slug>[,<slug>]flag to filter by category./show
Displays categories for the bounty.
/help
Updated to include category commands for admin users.
Testing
All 96 existing tests pass.
lgtm