TestDirective

flitter-cli/directives/TestDirective~ TestDirective

Directive that simply checks if Flitter can launch properly.

Constructor

new TestDirective()

Source:

Extends

Methods

(static) help() → {string}

Source:

Get the usage information for the unit. Used by ./flitter help.

Returns:
Type
string

(static) name() → {string}

Source:

Get the name of the directive. Used by ./flitter.

Returns:

"test"

Type
string

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

Source:
Overrides:

Handle an invocation of this unit. Prints a success message.

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

the Flitter app

argv Array

array of CLI arguments passed to the unit

Returns:
Type
Promise.<void>