Protected
directivesDirective classes registered with the CLI command.
Protected
Readonly
loggingThe current status of the unit.
Protected
templatesTemplates registered with the CLI command. These can be created with the TemplateDirective.
Private
appThe global application instance.
Protected
appGet the global Application.
Protected
containerThis method is called to stop the unit when the application is shutting down. Here, you should do any teardown required to stop the package cleanly.
IN PARTICULAR take care to free blocking resources that could prevent the process from exiting without a kill.
Get the method with the given name from this class, bound to this class.
function
Get the method with the given name from this class, bound to this class.
function
Rest
...args: any[]Get a collection of all registered directives.
Get a collection of all registered templates.
Returns true if the given directive is registered with this service.
Protected
makeRegister a Directive class with this service. This will make the directive available for use on the CLI.
Register the given template with this service. This makes the template available for use with the TemplateDirective service.
Service for managing directives, templates, and other resources related to the command line utilities.