UNPKG

plazbot-cli

Version:
24 lines (23 loc) 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.whatsappCommands = void 0; const commander_1 = require("commander"); const send_1 = require("./send"); const send_template_1 = require("./send-template"); const register_webhook_1 = require("./register-webhook"); const delete_webhook_1 = require("./delete-webhook"); const broadcast_1 = require("./broadcast"); const chat_1 = require("./chat"); const widget_1 = require("./widget"); const channels_1 = require("./channels"); exports.whatsappCommands = new commander_1.Command('whatsapp') .description('Comandos de WhatsApp: mensajes, templates, broadcast y mas') .addCommand(send_1.sendMessageCommand) .addCommand(send_template_1.sendTemplateCommand) .addCommand(register_webhook_1.registerWebhookCommand) .addCommand(delete_webhook_1.deleteWebhookCommand) .addCommand(broadcast_1.broadcastCommand) .addCommand(chat_1.whatsappChatCommand) .addCommand(widget_1.widgetCommand) .addCommand(channels_1.channelsCommand) .addCommand(channels_1.assignCommand);