Mixin: plugins/deployr-cli-users/commands

plugins/deployr-cli-users/commands

The CLI Commands related to managing users.

Source:

Members

(static) login.usage

Usage for di login command.

  • di users login
  • di login
Source:

(static) logout.usage

Usage for di logout command.

  • di users logout
  • di logout
Source:

(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
Source:

(static) whoami.usage

Usage for di whoami command.

  • di users whoami
  • di whoami
Source:

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.

Source:

(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.

Source:

(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.

Source: