Class: Register

commands/register~ Register

Command class

new Register(app, config, help, auth)

Create the service
Parameters:
Name Type Description
app App The application
config object Configuration
help Help Help command
auth Auth Auth command

Members


<static> provides :string

Service name is 'commands.register'
Type:
  • string

<static> requires :Array.<string>

Dependencies as constructor arguments
Type:
  • Array.<string>

Methods


<async> run(argv)

Run the command
Parameters:
Name Type Description
argv Array.<string> Arguments
Returns:
Type
Promise