Contains all of the commands to test various components of the system.
- Copyright:
- Copyright © 2022-… by Seth Hollingsead. All rights reserved
- Source:
Requires
- module:commandBroker
- module:ruleBroker
- module:workflowBroker
- module:colorizer
- module:configurator
- module:loggers
- module:data
- @haystacks/constants
- path
Methods
(inner) validateCommandAliases(inputData, inputMetaData) → {array.<boolean, (string|integer|boolean|object|array)>}
Validates all command aliases have no duplicates within a command, but also between commands.
Parameters:
| Name | Type | Description |
|---|---|---|
inputData |
string | Not used for this command. |
inputMetaData |
string | Not used for this command. |
Returns:
An array with a boolean True or False value to indicate if the application should exit or not exit, followed by the command output.
- Type
- array.<boolean, (string|integer|boolean|object|array)>
(inner) validateConstants(inputData, inputMetaData) → {array.<boolean, (string|integer|boolean|object|array)>}
Validates all constants with a 2-phase verification process.
Parameters:
| Name | Type | Description |
|---|---|---|
inputData |
string | Not used for this command. |
inputMetaData |
string | Not used for this command. |
Returns:
An array with a boolean True or False value to indicate if the application should exit or not exit, followed by the command output.
- Type
- array.<boolean, (string|integer|boolean|object|array)>
(inner) validateWorkflows(inputData, inputMetaData) → {array.<boolean, (string|integer|boolean|object|array)>}
Validates all the workflows have no duplicates.
Parameters:
| Name | Type | Description |
|---|---|---|
inputData |
string | Not used for this command. |
inputMetaData |
string | Not used for this command. |
Returns:
An array with a boolean True or False value to indicate if the application should exit or not exit, followed by the command output.
- Type
- array.<boolean, (string|integer|boolean|object|array)>