Skip to content

Latest commit

 

History

History
46 lines (43 loc) · 1.31 KB

File metadata and controls

46 lines (43 loc) · 1.31 KB

Core Interception Points

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
  • Command Execution Lifecycle
    • preCommand
    • preCommandParamProcess
    • postCommand
    • prePrompt
    • preProcessLine
    • postProcessLine
  • Module Lifecycle
    • preModuleLoad
    • postModuleLoad
    • preModuleUnLoad
    • postModuleUnload
  • Server Lifecycle
    • preServerStart
    • onServerStart
    • onServerInstall
    • onServerStop
    • preServerForget
    • postServerForget
  • Error Handling
    • onException
  • Package Lifecycle
    • preInstall
    • onInstall
    • postInstall
    • preUninstall
    • postUninstall
    • preInstallAll
    • postInstallAll
    • preVersion
    • postVersion
    • prePublish
    • postPublish
    • preUnpublish
    • postUnpublish
    • onRelease