@millo-ai/cli
v0.3.2
Published
Millo CLI - Goal Management Command Line Interface
Maintainers
Readme
@millo-ai/cli
Millo CLI - Command Line Interface for Millo Goal Management
Installation
npm install -g @millo-ai/cliSetup
Run the setup wizard to configure your API key:
millo initOr set your API key directly:
millo config set api-key gma_your_api_key_hereYou can also use the MILLO_API_KEY environment variable.
Usage
Projects
# List all projects
millo projects list
# Get project details
millo projects get <id>
# Create a new project
millo projects create --name "My Project" --description "Description"
# Update a project
millo projects update <id> --name "New Name" --status in_progress
# Delete a project
millo projects delete <id>Actions
# List all actions
millo actions list
# List incomplete actions only
millo actions list --incomplete
# List actions for a specific project
millo actions list --project <project-id>
# Get action details
millo actions get <id>
# Create a new action
millo actions create --title "My Task" --due-date 2024-12-31
# Create an action linked to a project
millo actions create --title "My Task" --project <project-id>
# Update an action
millo actions update <id> --title "Updated Title"
# Mark action as complete
millo actions complete <id>
# Mark action as incomplete
millo actions complete <id> --undo
# Delete an action
millo actions delete <id>Configuration
# Show current configuration
millo config
# Set a configuration value
millo config set api-key <key>
millo config set api-url <url>
millo config set default-output json
# Get a configuration value
millo config get api-key
# Reset configuration
millo config resetOptions
| Option | Description |
|--------|-------------|
| --json | Output in JSON format |
| --api-key <key> | Use specified API key |
| --help | Show help message |
| --version | Show version number |
Environment Variables
| Variable | Description |
|----------|-------------|
| MILLO_API_KEY | API key for authentication |
| MILLO_API_URL | API URL (default: https://app.millo.tech) |
Configuration File
Configuration is stored in ~/.config/millo/config.json:
{
"apiKey": "gma_...",
"apiUrl": "https://app.millo.tech",
"defaultOutput": "table"
}Development
# Install dependencies
pnpm install
# Run in development mode
pnpm dev <command>
# Build
pnpm build
# Run tests
pnpm test
# Type check
pnpm typecheck
# Lint
pnpm lintLicense
MIT
