@twilio/plugin-microvisor v0.3.13
@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
twilio microvisor:debug:generate_keypair
twilio microvisor:logs:stream DEVICESID
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]
10 months ago
11 months ago
11 months ago
11 months ago
10 months ago
9 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago