The CLI manages the developer surface of a Business Unit. It does not create events, tickets or registrations — that is the Developer API, called with the keys the CLI issues.
Install
- Homebrew (macOS / Linux)
- apt (Debian / Ubuntu)
- Windows (scoop)
- Script / binaries
orriven --version.
Log in
- The session lasts as long as a console session and appears on your account page, where it can be revoked.
orriven logoutrevokes the session and removes the credential from this machine.orriven whoamishows the account and the Business Unit the current directory resolves to.
Point a project at a Business Unit
init logs you in if needed, asks for the organization and the Business Unit, and writes orriven.toml in the current directory. Every command run in that directory — or any directory below it — acts on that Business Unit.
orriven init --force, or override per command with --workspace <id> (and --org <id>).
Every prompt has a non-interactive equivalent. orriven orgs list and orriven workspaces list --org <org> print the candidates, and passing both answers asks nothing:
--non-interactive — implied when CI is set or there is no terminal — the CLI never prompts and reports a usage error where an answer is missing.
API keys
Keys accept the row id from
list or the public key id (ok_… / opk_…). The rules on the API keys page apply unchanged: the secret appears once, one key serves one Business Unit, every action is audited.
Webhooks
Endpoints must be
https (plain http is allowed for localhost). Disabling stops deliveries; nothing is deleted.
Request logs and metrics
Scripting
--jsonon any command prints the API’s response unchanged, so the API reference describes the fields.ORRIVEN_TOKEN,ORRIVEN_ORGANIZATION,ORRIVEN_WORKSPACEandORRIVEN_API_URLreplace the login and the project file in CI. KeepORRIVEN_TOKENin a secret store, not in a shell profile.- Outside a terminal, or with
--non-interactive, commands never prompt:revokeneeds--yes,initneeds--organd--workspace. - Command groups accept singular aliases:
org,workspace(ws),key,webhook,log. - Exit codes:
1error,2usage,3sign-in needed,4no Business Unit in scope.