@ptkdev/node-cli-boilerplate
Version:
Create node cli with this user friendly boilerplate. Use this respository as template for your new npm command line interface project
21 lines • 562 B
JavaScript
/**
* Hello World
* =====================
*
* Print hello-world, run with: npx @ptkdev/node-cli-boilerplate
*
* @interface [ModuleInterface ModuleResponseInterface](https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/app/types/module.interfaces.ts)
*
* @param {string} {text} - input string
*
* @return {Promise<ModuleResponseInterface>} (async) app() function that return string
*
*/
const m = async ({ text }) => {
const app = () => text;
return {
app,
};
};
export default m;
//# sourceMappingURL=module.js.map