1.5.0 • Published 5 months ago

@justinhandley/ai-cli v1.5.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

AI CLI

A command-line interface for interacting with various AI services and development tools.

šŸ“š Full Documentation

Installation

Install the package globally using npm:

npm install -g @justinhandley/ai-cli

Or using pnpm:

pnpm install -g @justinhandley/ai-cli

Development

To work on the CLI locally:

# Clone the repository
git clone https://github.com/yourusername/ai-cli.git
cd ai-cli

# Install dependencies
pnpm install

# Build the project
pnpm build

# Use local version
pnpm use-local

# Switch back to published version
pnpm use-live

Key Features

The CLI can be accessed using the ai command and provides the following features:

AI-Powered Development

  • šŸ” Search GitHub and Stack Overflow with AI analysis
  • šŸ› Debug code with AI assistance
  • šŸ“ Generate code documentation
  • šŸ”„ Collect and analyze TypeScript files

Git Worktree Management

  • Create multiple isolated development environments
  • Run multiple AI agents in parallel
  • Easily merge changes and clean up worktrees
  • Automatic dependency management and Cursor IDE integration

Configuration

  • Secure API key management for multiple AI services
  • Flexible AI model configuration per command
  • Easy service setup with built-in help

Quick Start

  1. Configure your API keys:
ai config anthropic <your-key>
ai config github <your-key>
  1. Try the search command:
ai search "your error message"
  1. Create parallel worktrees:
ai worktree -p feature-a feature-b

For detailed usage instructions and examples, visit the full documentation.

Credits

This project was inspired by Programming in English with Cursor by John Lindquist on egghead.io. The idea of using AI to generate human-readable documentation and specifications from code has been adapted and expanded in this project to create a more comprehensive set of development tools.

1.5.0

5 months ago

1.4.1

6 months ago

1.4.0

6 months ago

1.3.1

7 months ago

1.3.0

7 months ago

1.2.0

7 months ago

1.1.0

7 months ago

1.0.10

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago