@watoolkit/whatsapp-cli

1.1.0 • Public • Published

WhatsApp CLI

A command-line interface for testing WhatsApp Business API webhooks and sending messages.

Features

  • 📱 Send WhatsApp messages
  • 🔄 Test webhook events
  • 🛠️ Configure API credentials
  • 🔒 Secure storage of configurations

Installation

npm install -g whatsapp-cli

Quick Start

  1. Configure your credentials:
whatsapp config:set phone_number_id "your_phone_number_id"
whatsapp config:set access_token "your_access_token"
whatsapp config:set webhook_url "https://example.com/webhook"
  1. Send a message:
whatsapp message:send 5219991234567 "Hello, World!"
  1. Test a webhook:
whatsapp webhook:trigger --event text_message

Documentation

For detailed documentation, visit: https://watools.github.io/whatsapp-cli

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, please open an issue in the GitHub repository.

Readme

Keywords

Package Sidebar

Install

npm i @watoolkit/whatsapp-cli

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

879 kB

Total Files

45

Last publish

Collaborators

  • hecsanchez