inventory service
Collates component information by scanning plugins. The results can then be used by tooling and documentation-generators. This service is provided via the flobot plugin and isn't offered by any of the other core plugins.
Boot config
- This service doesn’t require any configuration to boot.
Service methods/properties
collateEverything
Scan the supplied plugin-paths and extract all manner of information for subsequent use by tooling and doc-generators.
Parameters
options
Objectcallback
Function Called with all the information found about the supplied plugin paths
Examples
inventory.collateEverything(
{
pluginPaths [
'/some/dir/*-plugins',
'/another/dir/*-plugins'
]
},
function (err, inventory) {
// 'inventory' is an object representing the contents of all the provided plugins
}
)
Returns undefined
Boots before
storage