Constructor
new App(cwd)
Class constructor
Parameters:
Name | Type | Description |
---|---|---|
cwd | string | Current working dirctory |
- Source
Members
getPluginNames
Get all loaded plugin names
- Source
Methods
addPlugin(plugin)
Add a plugin to the app
Parameters:
Name | Type | Description |
---|---|---|
plugin | Object | A valid bajo plugin |
- Source
(async) boot()
Booting the app
- Source
dump(…args)
Dumping variable on screen
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
args | any | <repeatable> | any arguments passed will be displayed on screen. If the last argument is a boolean 'true', app will quit rightaway |
- Source