Announced when shell first starts, but before any commands are run or output has been flushed to the console.
shellType- The string
interactiveif starting the interactive shell, or
commandif running a one-off command and exiting
args- An array of arguments provided from the OS when
banner- A string containing the CommandBox banner text that displays when in interactive mode.
This fires every time the
reload command runs and a fresh shell is created.
Announced right before the shell exits and control is returned back to the OS. This fires every time the
reload command runs right before the shell is destroyed and re-created.