WhatsApp CLI for Unix systems — uses fork, pipe, and select for non-blocking message handling. Send and receive WhatsApp messages directly from the terminal.
| Flag | Short | Description | Takes Value |
|---|---|---|---|
| --help | -h | Display help information and available options | No |
| --session | — | Specify a session identifier for persistent connection state | Yes |
| -m | — | Send a message directly from the command line | Yes |
scorpiox-whatsapp --help
scorpiox-whatsapp -m "Hey, the deployment is done!"
# Launch with a named session for persistent state scorpiox-whatsapp --session dev-alerts
# Reconnect to a previously established session scorpiox-whatsapp --session dev-alerts -m "Build #421 passed ✓"
# Send CI/CD results to WhatsApp echo "Deploy to production complete at $(date)" | scorpiox-whatsapp -m -
#!/bin/bash # Monitor disk usage and alert via WhatsApp USAGE=$(df -h / | awk 'NR==2 {print $5}' | tr -d '%') if [ "$USAGE" -gt 90 ]; then scorpiox-whatsapp --session infra -m "⚠️ Disk usage at ${USAGE}%" fi