@watoolkit/whatsapp-cli
v1.1.0
Published
A command-line interface for testing WhatsApp Business API webhooks and sending messages.
Readme
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-cliQuick Start
- 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"- Send a message:
whatsapp message:send 5219991234567 "Hello, World!"- Test a webhook:
whatsapp webhook:trigger --event text_messageDocumentation
For detailed documentation, visit: https://watools.github.io/whatsapp-cli
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - 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.
