Skip to content

jorunfa/smhesly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smhesly

CLI written in Rust to send SMS using WGTWO APIs.

Usage

$ smhesly 4799900111 4799900112 Hello world 👋
Smhesly 0.1.0
Send SMS using WGTWO API

USAGE:
    smhesly [FLAGS] <FROM> <TO> <MESSAGE>...

FLAGS:
    -d, --dryrun     Don't send SMS, only prints input
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <FROM>          Sender of SMS (e.g.: 4799900111 or MyTelco)
    <TO>            Receiver of SMS (e.g.: 4799900111)
    <MESSAGE>...    SMS body content

Install

$ cargo run -- --help # alt 1
$ cargo build && target/debug/smhesly --help # alt 2
$ cargo build --release && target/release/smhesly --help # alt 3
$ cargo install --path . && smhesly --help # alt 4

Requirements

BASE64_CLIENT_AND_SECRET env variable needs to be set to use the CLI. This is the Client ID and secret, concatenated with a colon (:), and then base 64 encoded.

Manual dependencies

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages