Lifecycle Methods
Life-cycle Events
function onLoad(){
log.info('Module loaded successfully.' );
}
function onUnLoad(){
log.info('Module unloaded successfully.' );
}Custom Events
function preCommand( interceptData ){
// I just intercepted ALL Commands in the CLI
log.info('The command executed is #interceptData.CommandInfo.commandString#');
}Last updated
Was this helpful?