DeployDirective

flitter-cli/directives/DeployDirective~ DeployDirective

Directive to run one-time deployment functions provided by the units.

Constructor

new DeployDirective()

Source:

Extends

Methods

(static) help() → {string}

Source:

Get the usage information for the directive.

Returns:
Type
string

(static) name() → {string}

Source:

Get the name of the directive.

Returns:

"deploy"

Type
string

(async) handle(app, argv) → {Promise.<void>}

Source:
Overrides:

Handle an invocation of this directive. Runs the deployment associated with the specified unit.

Parameters:
Name Type Description
app module:libflitter/app/FlitterApp~FlitterApp

the Flitter app

argv Array

the CLI arguments after the directive

Returns:
Type
Promise.<void>