Expected to return new settings that should be merged with the existing ones.
Makes it possible to modify the settings object before a command is started and after potential arguments from the command line and configuration file have been parsed. This is a good point to default to some value if no was given or modify something in the settings.
Initial value: Nothing
Expected return value: Object()
Name | Description | Type | Required | Can be empty |
---|---|---|---|---|
getSettings | A function that returns the settings after the context has been initialized. | Function |
No |
Used to add template paths, namespace and template file to render.
Initial value: Nothing
Expected return value: Object(path?: Path, namespace: String, template: String)
Used to add extra values to the templates when they render. Actions should merge their props with the previousValue
Initial value: {}
Expected return value: Object()
Use to define for what target that it should try to find a resource for too start with.
Initial value: "node"
Expected return value: String
Can be used to modify the runtime before an application starts.
Initial value: Nothing
Expected return value: Nothing
Name | Description | Type | Required | Can be empty |
---|---|---|---|---|
verbose | Boolean |
No |