0.0.17 ⢠Published 6 months ago
@continuedev/cli v0.0.17
Continue CLI
A command-line interface for Continue Dev that provides an interactive AI-assisted development experience.
Features
- š¤ Interactive AI Assistant Chat
- š Secure Authentication via WorkOS
- š ļø Built-in Development Tools
- ā” Real-time Response Streaming
- šÆ Slash Command Support
- 𤫠Headless Mode for Automation
Installation
npm install @continuedev/cli -g
Usage
Basic Usage
continue-cli
With Custom Assistant
continue-cli --assistant-path /path/to/assistant.json
Headless Mode
continue-cli --headless --prompt "Your command here"
Available Commands
The CLI supports various slash commands during interaction:
/help
- Display help information/exit
- Exit the CLI- Additional commands available during chat sessions
Development
Prerequisites
- Node.js (version specified in .nvmrc)
- npm or yarn
Setup
- Clone the repository
- Install dependencies:
npm install
- Build the project:
npm run build
- Start in development mode:
npm start
Testing
Run the test suite:
npm test
Project Structure
src/
āāā auth/ # Authentication implementation
āāā tools/ # CLI tools and utilities
āāā index.ts # Main entry point
āāā args.ts # Command line argument parsing
āāā client.ts # Client implementation
āāā mcp.ts # Model Context Protocol integration
āāā ... # Various utility files
Dependencies
@continuedev/*
packages for core functionality@workos-inc/node
for authenticationopenai
for AI capabilities- Various utility packages (chalk, axios, etc.)
License
Apache-2.0 - see LICENSE file for details
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
For issues and feature requests, please use the GitHub issue tracker.