CLI Reference
The Sentinel CLI — built on oclif. Everything the API does, from your terminal.
Installation
Homebrew
brew install kajeet/tap/sentinelnpm
npm install -g @kajeet/sentinel-cliRequires Node.js 18+. After installation, run
sentinel auth login to get started.Authentication
sentinel auth loginAuthenticate with Sentinel via browser OAuth2 flow
Example
$ sentinel auth login
✓ Opened browser for authentication
✓ Logged in as admin@northstar-isd.edu
✓ Token saved to ~/.sentinel/credentialssentinel auth login --ssoAuthenticate via SAML SSO for enterprise accounts
Example
$ sentinel auth login --sso
✓ Redirecting to SSO provider...
✓ Authenticated via Northstar ISD SSO
✓ Token savedsentinel auth whoamiShow current authentication status and account info
Example
$ sentinel auth whoami
✓ Authenticated as admin@northstar-isd.edu
Corp: NORTHSTAR-ISD (Northstar Independent School District)
Role: org_super
Token expires: 2026-03-13 08:00 ETsentinel auth tokenDisplay or generate API token for CI/CD and scripts
Flags: --generate | --ttl <duration>
sentinel auth switch <account>Switch to a different Sentinel account/corp
Example
$ sentinel auth switch PIONEER-ISD
✓ Switched to PIONEER-ISD (Pioneer Independent School District)Global Flags
--jsonOutput as JSON (available on every command)--csvOutput as CSV--corp <id>Override default corp ID--no-colorDisable colored output--verboseShow HTTP request/response details--quietSuppress non-essential output