Drive
$ champrep drive ls /reports$ champrep drive cp ~/Videos/demo.mp4 /uploads/$ champrep drive tree /projects --json$ champrep drive quotaUpload, download, list, search. Resumable uploads via TUS.
Open Drive →Everything, from your terminal. Drive, Mail, Meet, Notes, AI — one binary, zero lock-in.
Pick your platform. We detected your OS.
brew tap champrep/cli
brew install champrep
Before running any command, you need to authenticate once. The CLI supports two methods — pick whichever fits your workflow. Both store credentials securely in your OS keychain (macOS Keychain, libsecret on Linux, Windows Credential Manager) — never in plaintext on disk.
Step 1: Generate an API key in your ChamPrep account.
Go to champrep.com → Settings → API Keys
and click Create New Key. Give it a name, select the services you need
(e.g., Drive, Mail, Calendar), and copy the generated key. It starts with cpk_live_.
Step 2: Store the key in the CLI.
$ champrep auth tokenPaste your key when prompted. You’ll see:
✓ Stored token for [email protected] (plan: pro)Step 3: Verify you’re authenticated.
$ champrep auth statusYou should see your email, plan, and which services are accessible. You’re ready — every command now uses this token automatically.
Step 1: Start the login flow.
$ champrep auth loginYour default browser opens to champrep.com/auth/cli with a secure PKCE challenge. No API key needed.
Step 2: Approve the login in your browser.
Sign in with your ChamPrep account (or use Google / Facebook SSO if configured). You’ll see a confirmation page asking you to approve the CLI. Click Approve.
Step 3: Return to your terminal.
The CLI detects the approval automatically. You’ll see:
✓ Logged in as [email protected]That’s it — the session token is stored in your OS keychain and every command uses it automatically.
$ champrep drive ls$ champrep calendar today$ champrep ai chat "hello"
Need to switch accounts? Use champrep auth list and champrep auth switch <profile>.
Need to log out? Run champrep auth logout.
In non-interactive environments, skip the keychain and pass the token directly via environment variable:
$ CHAMPREP_TOKEN=cpk_live_... champrep drive ls# Or in Docker:
$ docker run --rm -e CHAMPREP_TOKEN=cpk_live_... champrep/cli drive lsSame REST surface as the web app — anything you can do in the UI you can script.
$ champrep drive ls /reports$ champrep drive cp ~/Videos/demo.mp4 /uploads/$ champrep drive tree /projects --json$ champrep drive quotaUpload, download, list, search. Resumable uploads via TUS.
Open Drive →$ champrep mail ls --unread$ champrep mail send --to [email protected] \
--subject "Q4 report" --body @report.md$ champrep mail read 42Send, draft, search and label from the terminal.
Open Mail →$ champrep meet create --topic "Q4 review" \
--start 2026-04-15T10:00$ champrep meet ls --upcoming$ champrep meet join abc-defg-hijSchedule Zoom-powered ChamPrep meetings, list upcoming, join.
Open Meet →$ champrep notes create --title "Standup" \
--body @notes.md$ champrep notes ls --json | jq '.[].title'$ champrep notes read 15Pipe markdown into rich notes. Tag, search, sync.
Open Notes →$ champrep ai chat "summarize the Q4 report" \
--file ~/q4.pdf$ champrep ai chat "explain this error" \
--file ~/logs/app.logChat, summarize, explain — with file and stream support.
Open AI →$ champrep calendar today$ champrep calendar week$ champrep calendar create --title "Team sync" \
--start "2026-04-15 09:00" --duration 30mYour day at a glance. Create events, RSVP, time-block.
Open Calendar →Full CLI reference: API Reference · CLI docs coming soon
Authorization headers before writing.cpk_live_ / cpk_test_ prefix so leaks are auto-flagged.ChamPrep CLI is Apache 2.0 licensed with checksummed binaries and SBOM manifests for every release.