Fix formatting issues in cursor README

Co-authored-by: matifali <10648092+matifali@users.noreply.github.com>
This commit is contained in:
blink-so[bot] 2025-08-08 11:38:39 +00:00
parent 798cb1d79c
commit 142167f9c0

View File

@ -88,15 +88,18 @@ module "cursor" {
## Usage ## Usage
### Desktop IDE ### Desktop IDE
Click the "Cursor Desktop" button in your workspace to launch Cursor IDE. Click the "Cursor Desktop" button in your workspace to launch Cursor IDE.
### CLI Agent ### CLI Agent
#### Web Interface #### Web Interface
1. Click the "Cursor" button to access the web interface 1. Click the "Cursor" button to access the web interface
2. Start interactive sessions with text output 2. Start interactive sessions with text output
#### Terminal Usage #### Terminal Usage
```bash ```bash
# Interactive mode (default) # Interactive mode (default)
cursor-agent cursor-agent
@ -111,12 +114,13 @@ cursor-agent -p "find and fix performance issues" --output-format text
cursor-agent -p "add error handling" --model "gpt-5" cursor-agent -p "add error handling" --model "gpt-5"
# Session management # Session management
cursor-agent ls # List all previous chats cursor-agent ls # List all previous chats
cursor-agent resume # Resume latest conversation cursor-agent resume # Resume latest conversation
cursor-agent --resume="chat-id" # Resume specific conversation cursor-agent --resume="chat-id" # Resume specific conversation
``` ```
#### Interactive Mode Features #### Interactive Mode Features
- Conversational sessions with the agent - Conversational sessions with the agent
- Review proposed changes before applying - Review proposed changes before applying
- Real-time guidance and steering - Real-time guidance and steering
@ -124,6 +128,7 @@ cursor-agent --resume="chat-id" # Resume specific conversation
- Session persistence and resumption - Session persistence and resumption
#### Non-Interactive Mode Features #### Non-Interactive Mode Features
- Automation-friendly for scripts and CI pipelines - Automation-friendly for scripts and CI pipelines
- Direct prompt execution with text output - Direct prompt execution with text output
- Model selection support - Model selection support
@ -132,6 +137,7 @@ cursor-agent --resume="chat-id" # Resume specific conversation
## Configuration ## Configuration
The module supports the same configuration options as the Cursor CLI: The module supports the same configuration options as the Cursor CLI:
- **MCP (Model Context Protocol)**: Automatically detects `mcp.json` configuration - **MCP (Model Context Protocol)**: Automatically detects `mcp.json` configuration
- **Rules System**: Supports `.cursor/rules` directory for custom agent behavior - **Rules System**: Supports `.cursor/rules` directory for custom agent behavior
- **Environment Variables**: Respects Cursor CLI environment settings - **Environment Variables**: Respects Cursor CLI environment settings
@ -154,6 +160,7 @@ cursor-agent --help
### Common Issues ### Common Issues
1. **Cursor CLI not found**: Ensure `install_cursor_cli = true` or install manually: 1. **Cursor CLI not found**: Ensure `install_cursor_cli = true` or install manually:
```bash ```bash
curl https://cursor.com/install -fsS | bash curl https://cursor.com/install -fsS | bash
``` ```