plazbot-cli
v0.1.3
Published
CLI para Plazbot SDK
Readme
Plazbot CLI
Official Command Line Interface for Plazbot - Manage your AI agents and portals directly from the terminal.
Features
🤖 Agent Management
# Create a new agent
plazbot agent create -n "My Agent" -d "Description"
# List all agents
plazbot agent list
# Delete an agent
plazbot agent delete -i agent_id🌐 Portal Management
# Add a link to portal
plazbot portal add-link -n "Example" -u "https://example.com"
# Clear all links
plazbot portal clear-links💬 WhatsApp Integration
# Send a message
plazbot whatsapp send-message -t "+1234567890" -m "Hello"
# Send a template
plazbot whatsapp send-template -t "+1234567890" -n "welcome"
# Manage webhooks
plazbot whatsapp register-webhook -u "https://your-webhook.com"
plazbot whatsapp delete-webhookInstallation
npm install -g plazbot-cliUsage
Portal Commands
# Add a link to portal
plazbot portal add-link -n "Example Link" -u "https://example.com"
# Clear all links
plazbot portal clear-linksWhatsApp Commands
# Send a direct message
plazbot whatsapp send-message -t "+1234567890" -m "Hello World"
# Send a template message
plazbot whatsapp send-template -t "+1234567890" -n "welcome_template"
# Register a webhook
plazbot whatsapp register-webhook -u "https://your-webhook.com"
# Delete a webhook
plazbot whatsapp delete-webhookCommand Options
Portal Commands
add-link-n, --name: Link name-u, --url: Link URL
clear-links: No options required
WhatsApp Commands
send-message-t, --to: Recipient phone number-m, --message: Message text
send-template-t, --to: Recipient phone number-n, --name: Template name
register-webhook-u, --url: Webhook URL
delete-webhook: No options required
Requirements
- Node.js 14 or higher
- npm or yarn package manager
- Valid Plazbot API credentials
Support
For issues and feature requests, please visit our GitHub repository or contact [email protected]
