UNPKG

plazbot-cli

Version:
22 lines (20 loc) 886 B
import { Command } from 'commander'; import { sendMessageCommand } from './send'; import { sendTemplateCommand } from './send-template'; import { registerWebhookCommand } from './register-webhook'; import { deleteWebhookCommand } from './delete-webhook'; import { broadcastCommand } from './broadcast'; import { whatsappChatCommand } from './chat'; import { widgetCommand } from './widget'; import { channelsCommand, assignCommand } from './channels'; export const whatsappCommands = new Command('whatsapp') .description('Comandos de WhatsApp: mensajes, templates, broadcast y mas') .addCommand(sendMessageCommand) .addCommand(sendTemplateCommand) .addCommand(registerWebhookCommand) .addCommand(deleteWebhookCommand) .addCommand(broadcastCommand) .addCommand(whatsappChatCommand) .addCommand(widgetCommand) .addCommand(channelsCommand) .addCommand(assignCommand);