UNPKG

maestro

Version:

Maestro is a framework for quickly bootstrapping serverless orchestration workflows with AWS Step Functions

11 lines (8 loc) 279 B
const childProcess = require("child_process"); const configDir = require("./configDir"); const copyTemplateToDir = (templateName, dirname) => { childProcess.execSync( `cp -r ${configDir}/templates/${templateName}/* ${dirname}` ); }; module.exports = copyTemplateToDir;