@plinthra/cli
v0.1.1
Published
Plinthra CLI — Edge-native AI from your terminal
Downloads
306
Readme
@plinthra/cli
Edge-native AI from your terminal — powered by Cloudflare Workers AI.
Install
npx @plinthra/cliOr install globally:
npm install -g @plinthra/cli
plinthraUsage
Interactive chat
plinthraOne-shot question
plinthra ask "What is Cloudflare Workers AI?"Generate code examples
plinthra gen "a blog homepage with dark mode"Save to a specific directory:
plinthra gen "a portfolio website" --dir ./my-siteConfiguration
| Env var | Default | Description |
|---|---|---|
| PLINTHRA_API_URL | https://plinthra.emjay-74c.workers.dev | Worker API endpoint |
| PLINTHRA_AUTH | Auto (dev mode) | Base64-encoded JSON user for auth |
Commands
| Command | Description |
|---|---|
| plinthra / plinthra chat | Start interactive chat |
| plinthra ask <question> | One-shot Q&A |
| plinthra gen <desc> [--dir ./out] | Generate code files from a prompt |
| plinthra --help | Show help |
License
MIT
