From 7d404592119df07fa20a8405426398c17b142b51 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 21 Feb 2026 17:40:34 -0600 Subject: [PATCH] Update README with project/sprint CRUD documentation --- scripts/README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/scripts/README.md b/scripts/README.md index c535157..9fdaa08 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -69,6 +69,18 @@ A unified CLI that covers all API operations. ```bash # List all projects ./scripts/gantt.sh project list + +# Create project +./scripts/gantt.sh project create "Project Name" "Description" "#color" + +# Update project field +./scripts/gantt.sh project update +./scripts/gantt.sh project update abc-123 name "New Name" +./scripts/gantt.sh project update abc-123 description "New desc" +./scripts/gantt.sh project update abc-123 color "#ff0000" + +# Delete project +./scripts/gantt.sh project delete ``` ### Sprint Commands @@ -76,6 +88,18 @@ A unified CLI that covers all API operations. ```bash # List all sprints ./scripts/gantt.sh sprint list + +# Create sprint +./scripts/gantt.sh sprint create "Sprint 2" "2026-02-23" "2026-03-01" "Sprint goal" + +# Update sprint field +./scripts/gantt.sh sprint update +./scripts/gantt.sh sprint update abc-123 name "New Sprint Name" +./scripts/gantt.sh sprint update abc-123 status active +./scripts/gantt.sh sprint update abc-123 startDate "2026-02-25" + +# Delete sprint +./scripts/gantt.sh sprint delete ``` ### Auth Commands @@ -144,7 +168,13 @@ Displays text files in terminal, saves binary files to `/tmp/`. | Add comment | ✅ | ✅ | ❌ | | Attach file | ✅ | ✅ | ✅ | | List projects | ✅ | ✅ | ❌ | +| Create project | ✅ | ✅ | ❌ | +| Update project | ✅ | ✅ | ❌ | +| Delete project | ✅ | ✅ | ❌ | | List sprints | ✅ | ✅ | ❌ | +| Create sprint | ✅ | ✅ | ❌ | +| Update sprint | ✅ | ✅ | ❌ | +| Delete sprint | ✅ | ✅ | ❌ | | Auth login | ✅ | ✅ | ❌ | | Auth logout | ✅ | ✅ | ❌ | | Auth register | ✅ | ✅ | ❌ |