From b57aefb5a11218ded1c44a06ea09ee4b6dbef64d Mon Sep 17 00:00:00 2001 From: Juan Pablo Flores Date: Tue, 3 Feb 2026 13:29:15 -0600 Subject: [PATCH] Cli 2.0 docs (#9060) * docs: restructure CLI reference to web-friendly format Replace embedded man page format with structured markdown sections for better readability. Simplify description, reorganize commands and options into clear categories, and update Next Steps navigation cards. * Add ACP editor integrations documentation (#9036) * Add ACP editor integrations documentation with JetBrains and Neovim video demos * Add Model Orchestration documentation with --config and --thinking flags - Document --config and --thinking flags in CLI reference - Create new model-orchestration.mdx sample page - Add patterns for CI/CD review, task phase optimization, and multi-model consensus - Link to production GitHub Actions workflow - Update samples overview with new card - Update docs navigation * Add Worktree Workflows documentation with --cwd flag - Document --cwd flag in CLI reference - Create comprehensive worktree-workflows.mdx sample page - Add patterns for parallel execution and cross-worktree piping - Include real-world examples and best practices - Add CLI section to features/worktrees.mdx for discoverability - Update samples overview and navigation - Cross-link between CLI and VS Code worktree docs * Remove broken image references from worktrees documentation - Remove worktrees-overview.png Frame (image not available) - Remove worktrees-merge.png Frame (image not available) - Documentation remains fully functional with comprehensive text explanations * Remove accidentally committed local test file - Delete src/test/verify-platformio-mcp.ts which was causing CI failures - File contained TypeScript errors and hardcoded local paths - Was meant for local testing only, should not have been committed * Add native JetBrains plugin recommendation to ACP docs - Add prominent Note recommending native JetBrains plugin - Link directly to JetBrains installation section - Position ACP setup as an alternative approach - Keep all existing ACP content and video * docs: refine CLI reference formatting and ACP title Improve CLI reference readability with clearer headings and descriptions, and clarify the ACP editor integration page title for better discovery.docs: refine CLI reference formatting and ACP title Improve CLI reference readability with clearer headings and descriptions, and clarify the ACP editor integration page title for better discovery. * Fix CLI 2.0 syntax in model-orchestration.mdx - Updated issue analysis pipeline to use shell variables for passing context - Added explanatory note about why direct piping doesn't work - Corrected example to complete each phase before starting the next - All examples now use proper CLI 2.0 syntax * Completely rewrite cli-reference.mdx with accurate CLI 2.0 information - Removed all outdated CLI 1.0 content (instance management, Cline Core architecture, gRPC references) - Added accurate CLI 2.0 commands: task, history, config, auth, update, version, dev - Corrected all command flags and options based on actual man page - Added proper examples for all commands - Included environment variables documentation (CLINE_DIR, CLINE_COMMAND_PERMISSIONS) - Added shell completion instructions - Removed incorrect three-layer architecture description - All content now matches cli/man/cline.1.md source of truth Fixes outdated documentation issue mentioned in PR#9036 * Fix MDX syntax error in cli-reference.mdx - Replace angle bracket URLs with proper markdown links - MDX parser was interpreting as invalid HTML tags - Now uses [url](url) format which is proper MDX syntax Fixes deployment validation error --------- Co-authored-by: Renee Huang * docs: enhance interactive mode documentation with structured settings overview * docs: restructure and improve CLI reference documentation - Reorganize command structure with clearer global options section - Add mode behavior table explaining interactive vs plain text modes - Improve option descriptions with consistent formatting - Add horizontal rules between sections for better readability - Document timeout option and environment variables more clearly - Add Tips & Tricks section for common usage patterns - Update frontmatter description to reflect content changes * docs: improve ACP editor integrations page with editor descriptions - Update page title to be more concise ("ACP: Editor Integrations") - Remove redundant H1 header that duplicated the title - Add introductory descriptions for JetBrains, Neovim, and Zed sections - Rename "Zed Editor" section to just "Zed" for consistency * docs: expand CLI reference with modes of operation and agent behavior * Update docs/cline-cli/cli-reference-deprecated.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Tony Loehr Co-authored-by: Renee Huang Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/cline-cli/acp-editor-integrations.mdx | 216 +++++ docs/cline-cli/cli-reference-deprecated.mdx | 482 +++++++++++ docs/cline-cli/cli-reference.mdx | 806 ++++++++---------- docs/cline-cli/configuration.mdx | 278 ++++++ docs/cline-cli/installation.mdx | 254 +++++- docs/cline-cli/interactive-mode.mdx | 252 ++++++ docs/cline-cli/overview.mdx | 254 ++++-- docs/cline-cli/samples/github-integration.mdx | 29 +- .../cline-cli/samples/model-orchestration.mdx | 227 +++++ docs/cline-cli/samples/overview.mdx | 16 + docs/cline-cli/samples/worktree-workflows.mdx | 275 ++++++ docs/cline-cli/three-core-flows.mdx | 304 +++++-- docs/docs.json | 9 + docs/features/worktrees.mdx | 32 +- implementation_plan.md | 342 ++++++++ 15 files changed, 3153 insertions(+), 623 deletions(-) create mode 100644 docs/cline-cli/acp-editor-integrations.mdx create mode 100644 docs/cline-cli/cli-reference-deprecated.mdx create mode 100644 docs/cline-cli/configuration.mdx create mode 100644 docs/cline-cli/interactive-mode.mdx create mode 100644 docs/cline-cli/samples/model-orchestration.mdx create mode 100644 docs/cline-cli/samples/worktree-workflows.mdx create mode 100644 implementation_plan.md diff --git a/docs/cline-cli/acp-editor-integrations.mdx b/docs/cline-cli/acp-editor-integrations.mdx new file mode 100644 index 0000000000..f5eb38c33e --- /dev/null +++ b/docs/cline-cli/acp-editor-integrations.mdx @@ -0,0 +1,216 @@ +--- +title: "ACP: Editor Integrations" +description: "Use Cline in JetBrains, Neovim, Zed, and other editors via the Agent Client Protocol" +--- + + +Cline CLI supports the [Agent Client Protocol (ACP)](https://agentclientprotocol.com/), an open standard that enables AI coding agents to work across different editors and IDEs. This means you can use the full Cline agent—with all its capabilities including Skills, Hooks, and MCP integrations—in your preferred development environment. + +## Why ACP? + +- **Editor flexibility**: Use Cline in JetBrains, Neovim, Zed, or any ACP-compatible editor +- **No feature compromises**: Full access to Cline's capabilities regardless of editor +- **Team consistency**: Same AI assistant across different developer workflows +- **Open standard**: Built on Zed's open Agent Client Protocol specification + +## JetBrains IDEs + +[JetBrains](https://www.jetbrains.com) IDEs include IntelliJ IDEA, PyCharm, WebStorm, and more. They offer built-in AI Assistant with ACP support. + + +**Recommended: Native JetBrains Plugin** + +For the best JetBrains experience, install the [native Cline plugin](/getting-started/installing-cline#jetbrains-ides) from the JetBrains Marketplace. It provides full IDE integration and the complete Cline experience. + +The ACP setup below is an alternative way to use Cline CLI features in JetBrains IDEs. + + +Alternatively, you can run Cline CLI in IntelliJ IDEA, PyCharm, WebStorm, and all other JetBrains IDEs through their built-in AI Assistant with ACP support. + +