# Usage

## Interactive Mode (Default)

```
cd my-project
coderrr
```

You'll see:

```
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃   ██████╗ ██████╗ ██████╗ ███████╗██████╗ ██████╗ ██████╗   ┃
┃  ██╔════╝██╔═══██╗██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔══██╗  ┃
┃  ██║     ██║   ██║██║  ██║█████╗  ██████╔╝██████╔╝██████╔╝  ┃
┃  ██║     ██║   ██║██║  ██║██╔══╝  ██╔══██╗██╔══██╗██╔══██╗  ┃
┃  ╚██████╗╚██████╔╝██████╔╝███████╗██║  ██║██║  ██║██║  ██║  ┃
┃   ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝  ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
? You: _
```

Type your request in natural language!

## Single Command Mode

```
coderrr exec "Create a REST API for user authentication"
```

## Interactive Commands

| Command            | Description                                 |
| ------------------ | ------------------------------------------- |
| exit / quit       | Exit Coderrr                               |
| clear / reset     | Clear conversation history                  |
| history           | Show conversation history                   |
| refresh           | Rescan codebase                            |
| help              | Show available commands                    |

## Example Requests

```
# Create features
? You: Add a REST API endpoint for blog posts with CRUD operations

# Refactor code
? You: Refactor the authentication module to use JWT tokens

# Fix bugs
? You: Fix the database connection timeout issue

# Write tests
? You: Add unit tests for the user service with Jest

# Explain code
? You: Explain how the caching middleware works
```
