Add CLI tools documentation to README
This commit is contained in:
parent
89e1cbcbb7
commit
97494a8775
21
README.md
21
README.md
@ -196,6 +196,27 @@ npm run start
|
|||||||
npm run lint
|
npm run lint
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## CLI Tools for AI Access
|
||||||
|
|
||||||
|
Located in `scripts/` directory. These allow programmatic access without browser automation.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Task CRUD
|
||||||
|
./scripts/gantt-task-crud.sh list [status] # List all tasks
|
||||||
|
./scripts/gantt-task-crud.sh get <task-id> # Get specific task
|
||||||
|
./scripts/gantt-task-crud.sh create "Title" [status] [priority] [project-id] [assignee-id]
|
||||||
|
./scripts/gantt-task-crud.sh update <task-id> <field> <value>
|
||||||
|
./scripts/gantt-task-crud.sh delete <task-id>
|
||||||
|
|
||||||
|
# File Attachments
|
||||||
|
./scripts/attach-file.sh <task-id> <file-path> # Attach file to task
|
||||||
|
./scripts/view-attachment.sh <task-id> [index] # View attachment content
|
||||||
|
```
|
||||||
|
|
||||||
|
**Requires:** `scripts/.env` with `SUPABASE_URL` and `SUPABASE_SERVICE_ROLE_KEY`
|
||||||
|
|
||||||
|
See: `STANDARD_CLI_INTEGRATION.md` in workspace for full pattern.
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
- You may see a Next.js warning about multiple lockfiles and inferred workspace root. This is non-blocking for local dev.
|
- You may see a Next.js warning about multiple lockfiles and inferred workspace root. This is non-blocking for local dev.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user