Credit for the foundation of this program goes to Pushbullet.py: https://github.com/randomchars/pushbullet.py
Download the repository:
git clone https://github.com/heywoodlh/pushbullet-sms-cli
Install the dependencies:
pip3 install -r requirements.txt
Edit the api_token and device_id variable in pb-messages.py to reflect the appropriate Pushbullet API Key and Pushbullet device ID.
If you do not know the device ID just make sure that the api_token variable is properly set and run pb-messages.py to list all the devices:
./pb-messages.py
Help:
./pb-messages.py -h
Send SMS to a phone number:
./pb-messages.py text +12223334444 'this is my message'