Use the CLI
Work in your workspace
Every workspace area from a terminal, a script or an AI agent: records, reviews and administration.
On this page
Commands
Workspace commands read grchero <area> <verb>, like gh. grchero help lists them all and grchero COMMAND --help shows the options of one.
grchero finding list --mine
grchero change create --title "Release 2.4" --type release --risk medium \
--summary "New billing page" --release v2.4.0 --env production
grchero change submit ID| Area | Verbs |
|---|---|
org | list, view, use |
project | list, view, create, use |
inbox | list, read |
finding | list, view, create, edit, start, submit, reopen, close, decide |
risk | list, view, create |
evidence | list, search, link, add |
evidence-request | list, view, create, submit, decide |
exception | list, view, create, submit, withdraw, approve, reject, revoke |
change | list, view, create, submit, approve, reject, implement, issue, close, cancel |
asset | list, view, create, edit |
control | list, view, create, evidence |
framework | list, requirements |
vendor | list, view, create |
vendor-review | list, view, decide |
document | list, view, versions |
document-review | list, view, decide, publish |
questionnaire | list, questions |
assessment | list, findings |
access-review | list, view, start, decide, complete |
incident | list, view, create, investigate, contain, resolve, reopen, note, decide |
continuity | list, create, exercises, exercise |
privacy | list, create, processors |
member | list, invite, role, remove |
token | list, revoke |
agents | view, set |
Every page
Each workspace page has a command, or a grchero api path for what is better done on the page itself.
| Page | From the terminal |
|---|---|
| Home and Projects | grchero work, grchero project |
| Findings | grchero finding |
| Risks | grchero risk |
| Evidence | grchero evidence, grchero evidence-request |
| Exceptions | grchero exception |
| Changes | grchero change |
| Assets | grchero asset, grchero vendor |
| Vendor reviews | grchero vendor-review |
| Controls | grchero control, grchero framework; testing with grchero api GET /controls/ID/testing |
| Assessments | grchero assessment; new ones with grchero api POST /assessments |
| Documents | grchero document; writing stays in the Document wizard |
| Document reviews | grchero document-review |
| Access reviews | grchero access-review |
| Audit log | grchero api GET /audit-events (owners and admins, signed in as themselves; API tokens cannot read it) |
| Incidents | grchero incident |
| Continuity | grchero continuity |
| Privacy | grchero privacy |
| Subject requests | grchero api GET /privacy/requests; closing one stays on the page |
| Questionnaires | grchero questionnaire; answers with grchero api GET /questionnaires/ID/responses |
| Inbox | grchero inbox |
| Tasks | grchero api GET /notifications/my-work |
| Settings | grchero member, grchero token, grchero agents; the profile with grchero api GET /organizations/current/profile |
| Technical checks and reports | grchero submit; grchero api GET /project-checks and GET /reports |
| CLI activity | grchero api GET /cli/activity |
| Architecture | grchero api GET /diagrams; drawing stays in the editor |
| Foundation | grchero api GET /organizations/current/baseline |
| Sharing, integrations and billing | grchero api GET /review-packages, GET /integrations, GET /billing |
Choose the workspace and project
grchero org use switches your sign-in to another of your workspaces. grchero project use makes later commands in that workspace list and create records in one project. --org and --project change them for a single command, and --project none acts on the whole workspace.
grchero org list
grchero org use acme
grchero project use "Customer portal"
grchero risk list --project noneNote: The default project is saved next to your sign-in, as the project's ID and name only.
Decisions wait for you
Reading and writing run at once, and new records start as drafts. Approving, rejecting, revoking, publishing, closing and every review decision need you to confirm that one request in your browser after signing in again. The CLI prints and opens the link and waits; a declined or expired request does nothing.
A review decision answers the newest submission, so an older one is never accepted by mistake.
Workflow commands send the version of the record they read, so a change made in the meantime is refused instead of overwritten. --version N acts only if the record is still the version you reviewed.
grchero exception approve ID --note "Reviewed with the owner"This needs your confirmation in the browser before it runs:
https://app.grchero.dev/confirm/…
Waiting for you to confirm…
Decision recorded.
Exception Laptop rollout
Kind policy
State approvedFor scripts and AI agents
grchero help --json describes every command: its options, choices, tier (read, write, decide, administer or local) and an example. --json prints the record or list as grcHero returns it, and a failure as {"error": {"code", "message", "details"}, "exit_code"} with grcHero's own error code. No command asks a question outside a terminal.
Outside a terminal, or with --no-wait, a decision does not wait: the CLI prints the link and exits with code 3. Show the link to the person; once they confirm, run the same command again with --confirmation ID.
Your workspace's AI agents setting decides what agents may do. An agent can ask a person to confirm a decision and never administers: members, tokens, the agent setting and access reviews are for people, after the same browser confirmation.
API tokens are created in the workspace, never from the CLI, so a secret never lands in a terminal or an agent's context. Invitation links go by email and are never printed.
| Exit code | Meaning |
|---|---|
0 | Done |
1 | Failed: grcHero refused the request or could not be reached |
2 | Usage or local problem |
3 | Waiting for your confirmation in the browser |
4 | Not allowed for this sign-in, role or agent setting |