lindoai CLI lets you manage your Lindo workspace from the terminal. Built for both developers and AI agents.
Installation
Quick Start
Authentication
Two methods:- Browser login — Run
lindoai loginto open a browser and authenticate interactively. - API key — Set
LINDO_API_KEYenvironment variable for headless/agent use.
Command Reference
Sites
Pages
Blogs
Clients
Workflows
Workspace
Config
Output Formats
Table (default)
Human-readable formatted output:JSON
Machine-readable output for scripting and AI agents:Agent Usage
The CLI is designed for AI agents that operate via shell commands. Key features:- JSON output —
--format jsonfor machine parsing - Non-interactive auth —
LINDO_API_KEYenv var, no browser needed - Clear errors — Actionable error messages with fix suggestions
- Idempotent — Safe to retry operations
Example: Agent Script
Configuration
Config is stored in~/.lindo/config.json.
Precedence
- Environment variables (highest)
- Config file
- Defaults (lowest)
Environment Variables
| Variable | Description |
|---|---|
LINDO_API_KEY | Your Lindo API key |
LINDO_BASE_URL | API base URL (default: https://api.lindo.ai) |

