continue-custom/README.md
2025-07-13 16:45:23 -07:00

2.1 KiB

Continue CLI

A command-line interface for Continue Dev that provides an interactive AI-assisted development experience.

Features

  • 🤖 Interactive AI Assistant Chat
  • 🎨 Beautiful Terminal User Interface (TUI)
  • 🔐 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 --config /path/to/config.yaml

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

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Start in development mode:
npm start

Testing

Run the test suite:

npm test

Project Structure

src/
├── auth/           # Authentication implementation
├── tools/          # CLI tools and utilities
├── ui/             # Terminal User Interface components
├── 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 authentication
  • openai for AI capabilities
  • ink and react for Terminal UI
  • 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.