Creates an instance of CommandProfileLoader.
The input command definition for the command being issued.
The profile manager factory
The input command definition for the command being issued.
The factory for getting profile manager instances.
Logger - supplied on the constructor - but defaults to the Imperative logger.
Accessor for the command definition document
Accessor for the profile manager factory
Accessor for the logging object
Builds the command map for input the the command map object for the command handlers
The full list of profiles loaded for this command
The map to populate
Builds the command meta map for input the the command map object for the command handlers
The full list of profiles loaded for this command
The meta map to populate
Builds the control parameters for the loading of each profile name/type.
If the profile is optional
The profile types to load
The command arguments
Builds the list of profiles to load for this command.
The arguments supplied on the command (Yargs Style)
Invoke the profile managers to load the profiles requested for this command.
The list of profiles to load and control parameters.
Load the profiles for the command - the command arguments are supplied to grab the profile names from the arguments supplied by the user.
The command arguments supplied on this command invocation (Yargs style)
Create a new instance of the profile loader
Generated using TypeDoc
The command processor profile loader loads all profiles that are required (or optional) given a command definitions requirements. It returns the CommandProfiles object (which contains the map and getters for the command handlers usage).