@conotion/cli
v0.3.48
Published
Conotion AI CLI – generate technical documentation, API references, and security reports for your projects in seconds.
Readme
Conotion AI CLI
The AI-powered documentation generator that transforms your code into professional docs in seconds.
npm install -g @conotion/cliWhat is Conotion AI?
Conotion AI is the world's most advanced AI documentation platform that automatically generates comprehensive technical documentation, API references, and security reports for your projects. Our CLI brings the power of AI model (Mistral) directly to your terminal.
Perfect for:
- Developers who want instant, high-quality documentation
- Teams needing consistent documentation standards
- Companies requiring automated security auditing
- Open source projects seeking professional documentation

Key Features
Intelligent Documentation Generation
- Auto-detect project structure and generate relevant docs
- Multi-format output: Markdown, JSON
- Smart content: API docs, README, user guides, technical specs
- Customizable templates for different project types
Advanced Security Auditing
- Semgrep Community Edition integration with AI-enhanced analysis
- Automated vulnerability scanning across JavaScript, TypeScript, Python, Java, Go, and more
- AI-powered fix suggestions with line-by-line explanations
- Smart fix application with line offset protection to prevent code corruption
- Interactive fix mode for reviewing changes before application
- Security report generation with simplified, actionable insights
- Compliance reporting for enterprise security standards
Developer-First Experience
- One-command setup:
npm i -g @conotion/cli - Interactive prompts for guided documentation
- Smart caching for faster subsequent runs
- Team collaboration with shared configurations
Enterprise Features
- Multi-language support: JavaScript, TypeScript, Python, Java, Go, Rust, and more
- On-premise deployment with custom DNS and secure API key management
- Custom branding and styling options
- API access for programmatic usage
- Environment configuration for cloud and on-premise setups
Quick Start
Installation
# Install globally
npm install -g @conotion/cliGet your Conotion AI API key here
Basic Usage
# Start interactive mode
conotion
# Generate docs for current project
conotion docs
# Run security audit
conotion security
# Quick project initialization
conotion initDocumentation Types
Quick Documentation
Perfect for rapid prototyping and getting started quickly.
Comprehensive Documentation
Full project documentation with detailed explanations.
Focused Documentation
Target specific areas of your project.
Custom Documentation
Use your own templates and configurations.
Security Features
Automated Security Scanning
The Conotion CLI provides comprehensive security auditing powered by Semgrep Community Edition and enhanced with AI analysis.

Advanced Fix Management
Our AI-powered system provides intelligent security fixes with advanced protection mechanisms:
- Line Offset Protection: Prevents code corruption when applying multiple fixes
- Pre-validation: Verifies fix targets before application
- Post-validation: Ensures code integrity after fixes
- Smart Sorting: Applies fixes in descending line order to avoid conflicts
Security Suggestions Management
Track and manage security improvements across your project:
# List all security suggestions
conotion suggestions list
# Apply specific suggestion by ID
conotion suggestions apply <suggestion-id>
# Ignore suggestion (with reason)
conotion suggestions ignore <suggestion-id>
# View security statistics
conotion suggestions statsSecurity Report Generation
Generate comprehensive security reports for compliance and tracking:
# Export detailed security report to Conotion Cloud
conotion security export
# Generate local security report
conotion security scan --output ./security-report.mdSupported Languages & Frameworks
- JavaScript/TypeScript: React, Node.js, Express, Vue, Angular
- Python: Django, Flask, FastAPI
- Java: Spring Boot, Maven, Gradle
- Go: Gin, Echo, standard library
- PHP: Laravel, Symfony
- C#: .NET Core, ASP.NET
- Ruby: Rails, Sinatra
- And many more...
Configuration
Create a conotion.config.js file in your project root with conotion init :
{
"projectName": "Mitchi",
"outputDir": "./docs",
"defaultType": "complete",
"defaultAreas": [
"architecture",
"api",
"setup",
"security",
"performance",
"deployment"
]
}Why Choose Conotion AI?
Lightning Fast
- Generate comprehensive documentation in seconds
- Smart caching reduces subsequent generation time by 80%
- Parallel processing for large codebases
AI-Powered Intelligence
- Uses Conotion AI API
- Context-aware documentation generation
- Learns from your codebase patterns
Contributing
We're building the future of AI-powered documentation. Join our community:
Support
- Documentation: cli.conotion.ai
- Community: Discord
- Email: [email protected]
License
© 2025 Conotion AI. All rights reserved. Use is subject to Conotion's Commercial Terms of Service.
