Skip to content

userAdmin

thiagobustamante edited this page Jun 13, 2017 · 4 revisions

This command line tool allow you to manage gateway admin users.

Ensure that you have already installed the gateway:

$ npm install -g tree-gateway

Then, just call the userAdmin tool directly into your terminal.

To see the program help:

$ userAdmin -h

The program allow you to

  • Add a new admin user;
  • Remove a user;
  • List existing users;
  • (Re)define the password for a given user.

You must also inform the location of the tree-gateway Config File.

Example. To create a new user:

$ userAdmin -c ./tree-gateway.json add -u myUser -p myPass -n "My Name" -e myEmail@mycompany.com
Clone this wiki locally