Modules
Last updated
Was this helpful?
Was this helpful?
component {
function configure(){
settings = {
checkForUpdates=true
};
}
function onCLIStart( interceptData ) {
if( interceptData.shellType == 'interactive' && settings.checkForUpdates ) {
shell.callCommand( 'upgrade' );
}
}
}config set modules.test.checkforupdates=falsepackage init name="Update Checker" version=1.0.0 slug="commandbox-update-checker"
package set type=commandbox-modules