leonai-cli
v1.0.0
Published
AI coding agent for your terminal — create, edit, debug, and deploy from the command line
Maintainers
Readme
✦ LeonAI CLI
AI coding agent for your terminal. Create, edit, debug, and deploy — all from the command line.
Install
npm install -g leonai-cliSetup
leonai login YOUR_API_KEYGet your API key at leonai.dev
Usage
leonaiCommands
| Command | Description |
|---------|-------------|
| leonai | Start interactive session |
| leonai login <key> | Save API key |
| leonai logout | Remove API key |
| leonai config | Show config |
In-session commands
| Command | Description |
|---------|-------------|
| /run <cmd> | Execute shell command |
| /read <file> | Read file into context |
| /edit <file> | AI edits a file |
| /debug <file> | Find and fix bugs |
| /create | Create a new project |
| /tree | Show directory structure |
| /auto | Toggle auto-execute |
| /clear | Clear conversation |
| /quit | Exit |
Examples
❯ buatin REST API express dengan JWT auth
📄 Created: package.json
📄 Created: server.js
📄 Created: routes/auth.js
$ npm install && node server.js
✓ Server running on port 3000License
MIT
