Commands
Commands Reference¶
This page provides an overview of all available commands in Cursor-Utils. For detailed documentation on each command, follow the links to the individual command pages.
Command Overview¶
Cursor-Utils provides the following core commands:
Command | Description | Documentation |
---|---|---|
config |
Manage configuration settings | config command |
gemini |
Generate content with Google's Gemini AI | gemini command |
github |
Interact with GitHub repositories | github command |
web |
Perform web research using Perplexity AI | web command |
project |
Analyze local project code | project command |
repo |
Analyze and query remote code repositories | repo command |
Command Summaries¶
Config Command¶
The config
command manages persistent configuration settings, particularly API keys.
Key Features: - Store and retrieve API keys securely - List all configuration values - Set default values for command options - Support for environment variable overrides
Learn more about the config command →
Gemini Command¶
The gemini
command generates content using Google's Gemini AI models.
Key Features: - Generate code, documentation, and explanations - Select from multiple Gemini models - Customize generation parameters - Format output in various formats
Learn more about the gemini command →
GitHub Command¶
The github
command provides tools for interacting with GitHub repositories.
Key Features: - Get repository information - List and manage issues - List and manage pull requests - Create new issues and pull requests
Learn more about the github command →
Web Command¶
The web
command searches the web using Perplexity AI to provide curated results.
Key Features: - Perform intelligent web searches - Get curated results for technical queries - Select from multiple Perplexity models - Format output in various formats
Learn more about the web command →
Project Command¶
The project
command analyzes local project code using Google's Gemini AI.
Key Features: - Analyze local codebases - Get AI-powered insights about code structure - Ask questions about code functionality - Limit analysis to specific files or directories
Learn more about the project command →
Repo Command¶
The repo
command analyzes and queries remote code repositories.
Key Features: - Analyze remote repositories - Clone and analyze specific branches - Get AI-powered insights about code structure - Ask questions about code functionality
Learn more about the repo command →
Common Command Patterns¶
All Cursor-Utils commands follow these common patterns:
Output Formatting¶
All commands support multiple output formats:
Help Information¶
All commands provide detailed help information:
Error Handling¶
All commands use consistent error handling with meaningful exit codes:
Command Relationships¶
Commands in Cursor-Utils are designed to work together:
- Configuration: The
config
command manages settings used by all other commands - Content Generation: The
gemini
command provides AI-powered content generation - Research: The
web
command provides research capabilities - Code Analysis: The
project
andrepo
commands analyze code - GitHub Integration: The
github
command manages GitHub repositories
Best Practices¶
-
Set Default Configuration: Use the
config
command to set default values -
Combine Commands: Use command output in scripts
-
Use Appropriate Models: Select the right model for your task
-
Limit Analysis Scope: For large repositories, limit the scope
Command Documentation¶
For detailed documentation on each command, refer to the dedicated command pages: