docs(cli): overview and quickstart - #398
Conversation
Fill in cli/index.mdx (what the CLI is, key features, relationship to the Warp app and Oz, supported platforms, login/logout, automatic updates, migration from the Warp app, open source) and cli/quickstart.mdx (install placeholder, device-auth login, first prompt, shell command, exit and resume). Co-Authored-By: Oz <oz-agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR replaces placeholder CLI overview and quickstart content with launch-oriented documentation for the Warp CLI. The pages cover the intended concepts, but the quickstart is not yet runnable because the install step is hidden, there are broken Reference links, and the API-key guidance should avoid recommending command-line secret exposure.
Concerns
- The quickstart's install section renders without actual installation instructions, so readers cannot complete the first required step.
- Both Next steps sections link to
/cli/reference/, but the CLI reference content lives under/reference/cli/.
Security
- The quickstart recommends
warp --api-key YOUR_API_KEY; for CI or remote servers, preferWARP_API_KEYso the secret is not written into shell history or exposed via process listings.
Verdict
Found: 2 critical, 2 important, 0 suggestions
Request changes
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
| ## Install the {VARS.WARP_CLI} | ||
|
|
||
| {/* TODO(cli-overview): install command(s) — confirm distribution channels with eng before merge. */} | ||
| {/* PENDING: install instructions from eng */} |
There was a problem hiding this comment.
Install section has no install instructions and readers cannot complete the quickstart. Add the confirmed install commands before publishing, or keep this page out of navigation until they are available.
| When login completes, the CLI shows its start screen: the version, a short "What's new" list, and the rules, skills, and MCP servers it discovered for your current directory. | ||
|
|
||
| :::note | ||
| On machines without a browser, such as CI or remote servers, authenticate with a Warp API key instead: run `warp --api-key YOUR_API_KEY` or set the `WARP_API_KEY` environment variable. See [API keys](/reference/cli/api-keys/) for how to create one. |
There was a problem hiding this comment.
WARP_API_KEY the primary non-interactive recommendation and mention --api-key only for controlled local use.
| On machines without a browser, such as CI or remote servers, authenticate with a Warp API key instead: run `warp --api-key YOUR_API_KEY` or set the `WARP_API_KEY` environment variable. See [API keys](/reference/cli/api-keys/) for how to create one. | |
| On machines without a browser, such as CI or remote servers, authenticate with a Warp API key instead. Prefer setting the `WARP_API_KEY` environment variable for non-interactive environments so the key does not appear in shell history or process listings; use `warp --api-key YOUR_API_KEY` only when that exposure is acceptable. See [API keys](/reference/cli/api-keys/) for how to create one. |
| * [Agent conversations](/cli/agent-conversations/) - Learn how the transcript, diffs, and approvals work. | ||
| * [Shell commands](/cli/shell-commands/) - Run shell commands alongside agent prompts. | ||
| * [Configuration](/cli/configuration/) - Customize the CLI with the settings file. | ||
| * [Reference](/cli/reference/) - Flags, slash commands, and keyboard shortcuts. |
There was a problem hiding this comment.
🚨 [CRITICAL] This link points to /cli/reference/, but the CLI reference pages are under /reference/cli/; the current URL will 404.
| * [Reference](/cli/reference/) - Flags, slash commands, and keyboard shortcuts. | |
| * [Reference](/reference/cli/) - Flags, slash commands, and keyboard shortcuts. |
| * [Agent conversations](/cli/agent-conversations/) - Work with the transcript, code diffs, plans, and tasks. | ||
| * [Context](/cli/context/) - Give the agent rules, skills, and MCP servers. | ||
| * [Configuration](/cli/configuration/) - Set your theme, statusline, and keybindings. | ||
| * [Reference](/cli/reference/) - All flags, slash commands, and keyboard shortcuts. |
There was a problem hiding this comment.
🚨 [CRITICAL] This link points to /cli/reference/, but the CLI reference pages are under /reference/cli/; the current URL will 404.
| * [Reference](/cli/reference/) - All flags, slash commands, and keyboard shortcuts. | |
| * [Reference](/reference/cli/) - All flags, slash commands, and keyboard shortcuts. |
Frontmatter {{WARP_CLI}} tokens are not substituted by the build
pipeline, so built titles showed the raw token. Body prose keeps
{VARS.WARP_CLI}.
Co-Authored-By: Oz <oz-agent@warp.dev>
Update literal frontmatter titles/descriptions for the confirmed launch
name and rework the overview intro now that Warp Agent CLI is the
primary name (positioning: the Warp Agent from the Warp app, in any
terminal). Body {VARS.WARP_CLI} usages pick up the new name from the
merged var change.
Co-Authored-By: Oz <oz-agent@warp.dev>
Pages changed
src/content/docs/cli/index.mdx— Warp CLI overviewsrc/content/docs/cli/quickstart.mdx— Warp CLI quickstartFeatures covered
/platform/harnesses/warp-agent/cli/pages--api-key/WARP_API_KEYfor non-interactive auth (linked to/reference/cli/api-keys/);/logoutbehavior (returns to login screen and opens web sign-out)general.autoupdate_enabled!shell mode,Backspaceto exit) → exit (Ctrl+Ctwice or/exit) and resume (warp --resume)Dropped/unconfirmed
{/* PENDING: install instructions from eng */}plus awarp --versionverification step.Suggested reviewer(s): Kevin
Co-Authored-By: Oz oz-agent@warp.dev