# CLI

```
npx @wyroapi/wyro init
```

Creates a test key and saves it to `.env` as `WYRO_API_KEY`.

## Commands

The command names are in Spanish (`publicar` = publish, `cuentas` = accounts, `estado` = status, `conectar` = connect).

| Command | What it does |
| --- | --- |
| `npx @wyroapi/wyro init` | Creates a test key and saves it to `.env`. |
| `npx @wyroapi/wyro publicar "text" --red instagram --medio https://…` | Publishes (or schedules with `--programar 2026-11-02T10:00:00-03:00`). `--red` is the network and `--medio` the media URL. |
| `npx @wyroapi/wyro cuentas` | Lists the accounts. |
| `npx @wyroapi/wyro estado post_…` | Status of a post. |
| `npx @wyroapi/wyro conectar instagram` | Link to connect a real account. |
| `npx @wyroapi/wyro mcp` | Prints the command to install the MCP in Claude Code, Codex and Cursor. |

All of them accept `--json` for output your agent can read.
