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 Object
    • options.pluginPaths Array<string> Where to find all plugins that need scanning. Supports wildcards.
    • options.blueprintPaths Array<string> Where to find all blueprints that need scanning. Supports wildcards - not implemented yet.
  • callback 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