Cursor CLI Adds Mermaid Diagram Support and Cloud Handoff
Developer tool Cursor has updated its CLI with features designed to streamline workflows. The update includes a plan-to-cloud handoff to ease transitions from local development to cloud deployment. It also adds integrated support for Mermaid diagrams, allowing developers to better document and visualize code architecture directly within their tooling.
- Cursor is the sole product of its parent company, Anysphere, which was founded in 2022 by four MIT graduates: Michael Truell, Sualeh Asif, Arvid Lunnemark, and Aman Sanger. - The company has experienced rapid growth, recently raising $2.3 billion in a Series D funding round, leading to a post-money valuation of $29.3 billion. - The core product is an AI-assisted code editor that is a fork of Microsoft's popular Visual Studio Code, enhanced with proprietary AI features for code generation, analysis, and editing. - Mermaid is a JavaScript-based tool that uses Markdown-style text to render various diagrams, such as flowcharts and sequence diagrams, which GitHub also supports for documentation. - The "plan-to-cloud handoff" addresses the common developer challenge of transitioning projects from a local machine to a live cloud environment, a process often complicated by the need for containerization and infrastructure automation. - Cursor's CLI is designed to be model-agnostic, allowing developers to interact with various AI models like GPT, Gemini, and Claude directly from the terminal, regardless of their primary code editor. - The CLI tool can be used for automating tasks such as updating documentation, running security reviews, and generating tests, integrating directly into CI/CD workflows through platforms like GitHub Actions.