0.6.1 • Published 5 years ago

@spacedsweden/sinchcli v0.6.1

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

SinchCLI

Sinch CLI for interacting with our APIs

oclif Version Downloads/week License

Usage

$ npm install -g @spacedsweden/sinchcli
$ sinch COMMAND
running command...
$ sinch (-v|--version|version)
@spacedsweden/sinchcli/0.6.1 win32-x64 node-v10.15.0
$ sinch --help [COMMAND]
USAGE
  $ sinch COMMAND
...

Commands

sinch autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ sinch autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ sinch autocomplete
  $ sinch autocomplete bash
  $ sinch autocomplete zsh
  $ sinch autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

sinch hello [FILE]

describe the command here

USAGE
  $ sinch hello [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

EXAMPLE
  $ sinch hello
  hello world from ./src/hello.ts!

See code: src\commands\hello.ts

sinch help [COMMAND]

display help for sinch

USAGE
  $ sinch help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

sinch login

Use this to configure your sinch CLI

USAGE
  $ sinch login

EXAMPLE
  $ sinch login

See code: src\commands\login.ts

sinch sendVerification

Send an SMS verification

USAGE
  $ sinch sendVerification

OPTIONS
  -h, --help                                      show CLI help
  -p, --phoneNumber=phoneNumber                   Phone number to send a verification to
  -t, --verificationType=(sms|flashcall|callout)  Type of Verification to run
  --version                                       show CLI version

EXAMPLE
  $ sinch sendSMSVerification
  creates a sms verification

See code: src\commands\sendVerification.ts