@lucid-bio/cli
v0.2.1
Published
Command-line interface for Lucid.
Readme
@lucid-bio/cli
Command-line interface for Lucid.
Installation
npm install -g @lucid-bio/cliConfiguration
The CLI requires a Supabase URL and Service Role Key to interact with your Lucid instance. You can provide these via environment variables:
LUCID_SUPABASE_URL: Your Supabase project URL.LUCID_SUPABASE_SERVICE_ROLE_KEY: Your Supabase service role key.
Alternatively, you can create a .env file in your current working directory.
Usage
lucid --helpExamples
List work items:
lucid work-item:list --team-id <team-id>Create a work item:
lucid work-item:create --team-id <team-id> --user-id <user-id> --kind task --title "My Task" --body "Task description"Upload a generated document:
lucid document:upload --team-id <team-id> --owner-id <user-id> --file ./proposal.md --file-name proposal.md --file-type text/markdownBind an uploaded document to a work item result without changing status:
lucid work-item:set-result-document --work-item-id <work-item-id> --document-id <document-id> --actor worker:lucid-runnerMove a work item to review with an explicit uploaded result document:
lucid work-item:review --work-item-id <work-item-id> --run-id <run-id> --worker worker:lucid-runner --result-summary "Ready for review" --result-document-id <document-id>