This projects is a utility to get the list of hub names associated with an IoTC application.
- NodeJS 10+
Run the following command to link the CLI command to run the utility.
npm i -g iotc-reserved-hubs
This command will run npm install
and build the project. Once built it will link the iotc-reserved-hubs
command on your path. To run the utility use the follwing command:
iotc-reserved-hubs
The following arguments should be used with this utility
-u | --url
: Application URL of the IoTC app. For e.g. https://sample-test-app.azureiotcentral.com
-t | --token
: The API token from the IoTC application which authenticated the user using this script