Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@opsrev/procore-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@opsrev/procore-cli
CLI for the Procore construction management API. Designed for AI agent consumption -- all output is JSON.
Installation
npm install -g @opsrev/procore-cliConfiguration
Set environment variables or pass flags:
| Env Var | Flag | Description |
|---|---|---|
PROCORE_CLIENT_ID |
--client-id |
OAuth2 client ID (required) |
PROCORE_CLIENT_SECRET |
--client-secret |
OAuth2 client secret (required) |
PROCORE_COMPANY_ID |
--company-id |
Company ID (required for most commands) |
PROCORE_PROJECT_ID |
--project-id |
Project ID (required for project-scoped commands) |
Commands
procore auth # Get bearer token
procore company get # Get company details
procore projects list # List projects
procore projects get <id> # Get project details
procore directory list # List people in project
procore directory get <id> # Get person details
procore rfis list # List RFIs
procore rfis get <id> # Get RFI details
procore submittals list # List submittals
procore submittals get <id> # Get submittal details
procore daily-logs list # List daily logs
procore daily-logs get <id> # Get daily log details
procore budget list # List budget line items
procore schedule list # List schedule tasks
procore schedule get <id> # Get task detailsCommon flags
--env production|sandbox(default: production)--limit <n>-- cap results for list commands--date <YYYY-MM-DD>-- filter daily logs by date
Development
npm install
npm test # run tests
npm run dev -- --help # run in dev mode
npm run build # build to dist/