UNPKG

maestro

Version:

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

15 lines (12 loc) 399 B
const fs = require("fs"); const titleize = require("./titleize"); const cleanupProjectName = require("./cleanupProjectName"); const createEmptyProject = (name) => { fs.writeFileSync( `${name}/README.md`, `# ${titleize(cleanupProjectName(name))}\n\n` ); fs.writeFileSync(`${name}/definition.asl.json`, "{}"); fs.mkdirSync(`${name}/lambdas`); }; module.exports = createEmptyProject;