sdin
Version:
JavaScript package builder.
3 lines • 654 B
JavaScript
require("../tools/entry");var t=require("commander"),a=require("../utils/path"),r=require("../main/create");let o=new t.Command("sdin create");async function e(t){var e={output:o.getOptionValue("output")||"",template:o.getOptionValue("template")||""};await(0,r.createSdinProject)({templateName:e.template,projectName:t,projectParentPath:(0,a.withWorkPath)(e.output)})}o.description("Create project.").argument("[name]","Project name.").option("-o, --output <projectParentPath>","The path to store project.").option("-t, --template <templateName>","Project template.").action(e).parse(process.argv);
//# sourceMappingURL=create.js.map