Commit Graph

9 Commits

Author SHA1 Message Date
Max
3a618e384d Add full CRUD for all database tables
New API endpoints:
- /api/meta (GET, POST, DELETE) - Meta key-value store CRUD
- /api/users (GET, PATCH, DELETE) - User admin CRUD

New CLI commands:
- user get/update/delete - Admin user management
- meta list/get/set/delete - Meta key-value management

Tables now with full CRUD:
 tasks - Full CRUD
 projects - Full CRUD
 sprints - Full CRUD
 users - Full CRUD (list, get, create via register, update, delete)
 meta - Full CRUD (list, get, set/create/update, delete)

Internal tables (no public CRUD needed):
- sessions - Managed by auth system
- password_reset_tokens - Managed by forgot/reset password flows
2026-02-21 17:45:08 -06:00
Max
7d40459211 Update README with project/sprint CRUD documentation 2026-02-21 17:40:34 -06:00
Max
42188457da Add complete CRUD APIs for projects and sprints
- New API endpoints:
  - GET /api/projects - List projects
  - POST /api/projects - Create project
  - PATCH /api/projects - Update project
  - DELETE /api/projects - Delete project
  - GET /api/sprints - List sprints
  - POST /api/sprints - Create sprint
  - PATCH /api/sprints - Update sprint
  - DELETE /api/sprints - Delete sprint

- Added CLI commands:
  - project create/update/delete
  - sprint create/update/delete

- Updated help text with new commands

Web UI can now do full CRUD on projects/sprints and CLI matches 1:1
2026-02-21 17:40:09 -06:00
Max
b354a0469d Add missing auth commands to CLI
- auth register - POST /api/auth/register
- auth forgot-password - POST /api/auth/forgot-password
- auth reset-password - POST /api/auth/reset-password
- auth account - PATCH /api/auth/account
- auth users - GET /api/auth/users

CLI now has 100% coverage of all API endpoints
2026-02-21 17:35:04 -06:00
Max
2dea56ea39 Add CLI coverage audit script
- New audit-cli-coverage.sh to verify CLI matches API surface area
- Updated README with audit instructions
- Helps ensure Rule 2.5 compliance (CLI sync with web UI)
2026-02-21 17:32:03 -06:00
Max
faeee26222 Add unified CLI and update documentation
- New gantt.sh: Complete CLI covering all API operations
  - Task CRUD (list, get, create, update, delete)
  - Natural language task creation
  - Comments and file attachments
  - Projects, sprints, auth
- Updated README.md with comprehensive coverage matrix
- Documents when to use API vs Supabase direct scripts
2026-02-21 17:28:43 -06:00
Max
98536e368d Add CLI documentation for scripts folder
- Added comprehensive README.md documenting all 3 CLI scripts
- Includes quick start, command reference, examples, workflows
- Documents troubleshooting and common patterns
- No code changes, docs only
2026-02-21 17:25:37 -06:00
Max
89e1cbcbb7 Add CLI tools for task CRUD and file attachments 2026-02-21 17:17:24 -06:00
6f863ba659 Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com> 2026-02-21 12:17:19 -06:00