0.0.3 • Published 8 years ago

simple-iothub-cli v0.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Simple Azure IoT Hub CLI

A simple platform independent command line interface to manage Azure IoT Hub devices.

How to install

Make sure, Node.js is installed on your system and simply add the simple-iothub-cli package via npm.

npm install simple-iothub-cli --global

How to use

Example

iothub add DemoId123 --json "HostName=iothubname.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=mysupersecretkey123="

Hint: Please don't forget the quotes " around the connection string!

Commands

  • list displays a list of all devices
  • add adds a new device
  • delete removes an existing device

Help

Get a list of commands and all of their options at the according help pages.

iothub -- help
iothub <command> --help