Here is a list of all the core interception points in CommandBox that you can listen to. Some have interceptData
that comes along with them, while others don't. Remember, the interceptData
struct is passed by reference. This means modifying any values directly in that struct will affect how processing continues afterwards inside of CommandBox where those values are used.
Click a category for more information.
- CLI Lifecycle
- onCLIStart
- onCLIExit
- onSystemSettingExpansion
- onConfigSettingSave
- onEndpointLogin
- Command Execution Lifecycle
- preCommand
- preCommandParamProcess
- postCommand
- prePrompt
- preProcessLine
- postProcessLine
- Module Lifecycle
- preModuleLoad
- postModuleLoad
- preModuleUnLoad
- postModuleUnload
- Server Lifecycle
- preServerStart
- onServerStart
- onServerInstall
- onServerInitialInstall
- onServerStop
- preServerForget
- postServerForget
- Error Handling
- onException
- Package Lifecycle
- preInstall
- onInstall
- postInstall
- preUninstall
- postUninstall
- preInstallAll
- postInstallAll
- preVersion
- postVersion
- prePublish
- postPublish
- preUnpublish
- postUnpublish
- onRelease