The CLI Commands related to managing users.
Members
(static) login.usage
Usage for di login command.
- di users login
- di login
(static) logout.usage
Usage for di logout command.
- di users logout
- di logout
(static) usage
Usage for the di users * commands which allow you to work with existing user accounts on DeployR. Supported commands:
- di users login
- di users logout
- di users whoami
(static) whoami.usage
Usage for di whoami command.
- di users whoami
- di whoami
Methods
(static) login(vcallback)
Attempts to login the user with the prompted credentials. Makes three prompt attempts and then exists.
Parameters:
Name | Type | Description |
---|---|---|
vcallback |
function | Continuation to pass control to when complete. |
(static) logout(vcallback)
Attempts to logout current user by removing the name from application config and calling /r/user/logout on DeployR.
Parameters:
Name | Type | Description |
---|---|---|
vcallback |
function | Continuation to pass control to when complete. |
(static) whoami(callback)
Retrieves the name of the current logged in user to DeployR.
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Continuation to pass control to when complete. |