@telety/telety

0.1.1 • Public • Published

Telety.io Command Line

wercker status

About

Refer to telety.io docs

Usage

npx @telety/telety
telety --help

Usage: <command> [options]

Options:

  -h, --help       output command usage information
  -v, --version    display command version number

Commands:

  host    Create TTY session piping stdin to a channel webhook
  join    Join a telety channel with a TTY interface

Authentication

Use a telety.io authentication token. The best way to do this is to set an environment variable with the token contents:

export TELETY_TOKEN=0000eeee-ddd4-aaa2-bbb1-cccccccfffff

Host

Hosting from the terminal provides a means of securely piping shell commands to telety.io, and simultaneously executing the commands on your machine. Sensitive inputs are redacted automatically

npx @telety/telety host https://api.telety.io/channel/xxxxx/webhook
Usage: host [options] <webhookURL>

Create TTY session piping stdin to a channel webhook

Arguments:

  <webhookURL>    telety.io webhook URL

Options:

  -h, --help                  output command usage information
  -t, --auth-token <token>    telety.io authentication token
  -p, --prompt-text <text>    customize host prompt text          (default telety)

Join

Users may also join a telety.io session from the terminal, allowing a complete history of inputs to be retrieved as history from the prompt. Any new commands will also be received in real time.

NOTE: Only registered users may join from the CLI

npx @telety/telety join https://api.telety.io/channel/xxxxx/webhook
Usage: join [options] <webhookURL>

Join a telety channel with a TTY interface

Arguments:

  <webhookURL>    telety.io webhook URL

Options:

  -h, --help                  output command usage information
  -t, --auth-token <token>    telety.io authentication token
  -p, --prompt-text <text>    customize host prompt text          (default telety)
  -P, --print-history         output all channel history

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.17latest
0.0.1-beta.51master

Version History

VersionDownloads (Last 7 Days)Published
0.1.17
0.1.01
0.0.20
0.0.10
0.0.1-beta.80
0.0.1-beta.70
0.0.1-beta.60
0.0.1-beta.51
0.0.1-beta40
0.0.1-beta30
0.0.1-beta20
0.0.1-beta0

Package Sidebar

Install

npm i @telety/telety

Weekly Downloads

5

Version

0.1.1

License

MIT

Unpacked Size

39.1 kB

Total Files

16

Last publish

Collaborators

  • mvandervliet