0.3.13 • Published 9 months ago

@twilio/plugin-microvisor v0.3.13

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

@twilio/plugin-microvisor

twilio-cli plugin for interacting with Twilio Microvisor devices

Running locally

Run

make build

Then use ./bin/run in place of twilio, eg. ./bin/run microvisor:logs:stream UV424242...

Installing a local copy to your twilio-cli

To make twilio-cli use your local checkout instead of the published plugin, run

twilio plugins:link @twilio/plugin-microvisor

Developing

Install dependencies

npm install

Running tests

make test

Updating the commands section of this readme

make update-readme

Updating the readme in npm

Modify README.npm.md. The toc and commands will be filled out during pack/publish

Publishing a new version

Bump version with npm version major|minor|patch

BRANCH_NAME=release-$(jq -r '.version' package.json)
git checkout -b $BRANCH_NAME
git push --follow-tags -u origin $BRANCH_NAME

Get this branch reviewed and merged

Log in to npm using npm login. Credentials inluding TOTP are in the IoT_Core 1password vault.

Run make publish, you'll be prompted for the OTP code again, then the package will be published.

Commands

twilio microvisor:debug DEVICESID DEBUGKEY

USAGE
  $ twilio microvisor:debug DEVICESID DEBUGKEY

ARGUMENTS
  DEVICESID  The Sid of the device you wish to debug
  DEBUGKEY   Filename containing debug authentication private key

OPTIONS
  -l=(debug|info|warn|error|none)  [default: info] Level of logging messages.
  -p, --profile=profile            Shorthand identifier for your profile.
  --listen-port=listen-port        [default: 8001] The port on which the debug tunnel should listen

twilio microvisor:debug:generate_keypair

USAGE
  $ twilio microvisor:debug:generate_keypair

OPTIONS
  -f, --force
  -l=(debug|info|warn|error|none)          [default: info] Level of logging messages.
  -p, --profile=profile                    Shorthand identifier for your profile.
  --debug-auth-privkey=debug-auth-privkey  [default: debug-private-key.pem] Private key output filename
  --debug-auth-pubkey=debug-auth-pubkey    [default: debug-public-key.pem] Public key output filename

twilio microvisor:logs:stream DEVICESID

USAGE
  $ twilio microvisor:logs:stream DEVICESID

ARGUMENTS
  DEVICESID  The Sid of the device you wish to stream logging from

OPTIONS
  -l=(debug|info|warn|error|none)  [default: info] Level of logging messages.
  -p, --profile=profile            Shorthand identifier for your profile.
  --output=text|json               [default: text] Output format [text (default), json]
0.3.13

10 months ago

0.3.12

11 months ago

0.3.12-alpha.0

11 months ago

0.3.13-alpha.0

11 months ago

0.3.13-alpha.1

10 months ago

0.3.14-alpha.0

9 months ago

0.3.11

12 months ago

0.3.11-alpha.1

1 year ago

0.3.11-alpha.0

1 year ago

0.3.10

1 year ago

0.3.10-alpha.1

1 year ago

0.3.10-alpha.0

1 year ago

0.3.9

1 year ago

0.3.8-alpha.0

1 year ago

0.3.8

1 year ago

0.3.7-alpha.4

2 years ago

0.3.7-alpha.3

2 years ago

0.3.7-alpha.0

2 years ago

0.3.7-alpha.2

2 years ago

0.3.7-alpha.1

2 years ago

0.3.6-alpha.0

2 years ago

0.3.3-alpha.0

2 years ago

0.3.4-alpha.0

2 years ago

0.3.5

2 years ago

0.3.7

2 years ago

0.3.4

2 years ago

0.3.2-alpha.0

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.3.1-alpha.0

2 years ago

0.3.0-alpha.0

2 years ago

0.2.1-alpha.0

2 years ago

0.2.0-alpha.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

3 years ago

0.0.1

3 years ago