Modules
Build Your First Module
component {
function configure(){}
function onCLIStart() {
shell.callCommand( 'upgrade' );
}
}Use Intercept Data
function onCLIStart( interceptData ) {
if( interceptData.shellType == 'interactive' ) {
shell.callCommand( 'upgrade' );
}
}Use A Config Setting
Share The Love
Was this helpful?