yortch / sms-cli

CLI for sending SMS using Nexmo API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SMS CLI 1.0

Reference Documentation

Setup

Run the following command to build:

./gradlew clean build -xtest

Ensure private key is

Run

To launch CLI run:

java -jar build/libs/sms-cli-1.0.0.jar

Available commands

Help

help

Account Balance

Gets account balance:

balance --api-key <apiKey> --api-secret <apiSecret>

Messaging Setup

Setups require configuration to send SMS messages and private key path (assumes default value of ~/private.key)

setup --application-id <guid> or setup --application-id <guid> --private-key <path>

Messaging Send SMS

Sends text SMS message (emojis are supported). Country code is required in to/from phone numbers.

sms --to <phone> --from <phone> --text <text message>

About

CLI for sending SMS using Nexmo API


Languages

Language:Java 100.0%