← Back to CLIs
Melvynx

tchao-cli

Manage Tchao live chat via CLI - conversations, messages, websites, analytics. Use when user mentions 'tchao', 'live chat', 'visitor conversations', 'chat widget', or wants to interact with the Tchao API.

Install

$ npx api2cli install Melvynx/tchao-cli

Details

Skill type: Wrapper CLI
Auth type: bearer
Version: 0.1.0
Author: Melvynx
Views: 1

README

tchao-cli

CLI for the Tchao API - live chat platform. Made with api2cli.dev.

Install

npx api2cli install Melvynx/tchao-cli

This clones the repo, builds the CLI, links it to your PATH, and installs the AgentSkill to your coding agents.

Install AgentSkill only

npx skills add Melvynx/tchao-cli

Authentication

tchao-cli auth set sk-abc123xyz
tchao-cli auth test
tchao-cli auth show
tchao-cli auth show --raw
tchao-cli auth remove
CommandDescription
auth set <token>Save your API token
auth showDisplay current token (masked by default)
auth show --rawShow the full unmasked token
auth removeDelete the saved token
auth testVerify your token works

Resources

conversations

Manage live chat conversations.

tchao-cli conversations list
tchao-cli conversations list --status OPEN --limit 10
tchao-cli conversations list-open
tchao-cli conversations get <conversation-id>
tchao-cli conversations close <conversation-id>
CommandFlags
list--status <status>, --limit <n>, --cursor <cursor>, --fields <cols>
list-open--fields <cols>
get <conversation-id>
close <conversation-id>

messages

Send messages in conversations.

tchao-cli messages send <conversation-id> --message "Hello!"
CommandFlags
send <conversation-id>--message <text> (required)

websites

Manage configured websites.

tchao-cli websites list
tchao-cli websites list --json
CommandFlags
list--fields <cols>

analytics

View analytics and stats.

tchao-cli analytics get
tchao-cli analytics get --json
CommandFlags
get--fields <cols>

Global Flags

All commands support: --json, --format <text|json|csv|yaml>, --verbose, --no-color, --no-header

Sponsors