As there is no direct app to send the output of the commands executed on CLI to the Whatsapp contacts. To overcome this problem, I'd written this script by using which we can send the output of the CLI commands directly to the WhatsApp contacts.
This script accepts the command to execute on CLI and the phone number of the contact to whom we want to send the output of that command. After that, it will redirect to the WhatsApp-Web and selects the contact with a message as a CLI output. We just have to click on the send button and the CLI output will be sent to the entered WhatsApp contact.
Technologies used: Shell Script.