Announced before the execution of a command. This fires after all command parameters have been evaluated, including expressions. If piping the output of one command into another in a command chain, this will fire twice-- once for each command in the chain.
commandInfo- A struct containing the following keys about the command to execute
commandString- A string representing the command name
commandReference- The instantiated Command CFC
parameters- An array of un-parsed parameter tokens typed in the CLI
closestHelpCommand- The CFC path to the most-applicable help command. Used to generate namespace help.
parameterInfo- A struct containing the following keys about the processed parameters for the command execution
positionalParameters- An array of parameter values
namedParameters- A struct of name/value pairs. The named parameters are always what is passed to the command's
flags- A struct of flags that were passed in.
Announced immediately after command execution is complete. If more than one command is piped together in a command chain, this is announced after each command in the chain.
commandInfo- Same as
parameterInfo- Same as
results- A string that represents any output from the command that hasn't already been flushed to the console.