zcatalyst-cli
Version:
Command Line Tool for CATALYST
20 lines (17 loc) • 471 B
JavaScript
/**
*
* @param {import('./types/event').EventDetails} event
* @param {import('./types/event').Context} context
*/
module.exports = (event, context) => {
/*
EVENT FUNCTIONALITIES
*/
// const RAW_DATA = event.getRawData(); //raw data
console.log('Hello from {{_MAIN_}}');
/*
CONTEXT FUNCTIONALITIES
*/
context.closeWithSuccess(); //end of application with success
// context.closeWithFailure(); //end of application with failure
};