Create a new custom commitment type.
Usage
/ft add-type "name" [--display "Display Name"] [--desc "description"]
Arguments
- •
"name"- Required: Type identifier (lowercase, no spaces - will be normalized) - •
--display "NAME"- Human-readable display name (defaults to capitalized name) - •
--desc "TEXT"- Description of what this type is for
Instructions
- •
Normalize Name: Lowercase, replace spaces with hyphens
- •
Validate: Check type doesn't already exist
- •
Insert: Add to commitment_types table with is_default=0
- •
Confirm:
codeCreated type: {name} Display: {display_name} Description: {description} Use it: /ft {name} "your commitment"
Examples
code
/ft add-type "habit" --desc "Daily habits to build" /ft add-type "goal" --display "Long-term Goal" --desc "Big objectives"
Related
- •
/ft rename-type "old" "new"- Rename a type - •
/ft delete-type "name" --move-to "other"- Delete a type