banah
Version:
Start up your Node.js projects with ease. No need to install express, cors, or the basic things you need for a Node.js project. We got you covered.
17 lines (12 loc) • 353 B
text/typescript
import { Command } from "commander";
import createProject from "../createProject";
const program = new Command();
program
.version("1.0.0")
.command("create <project-name>")
.description("Create a new Node.js project")
.action((projectName: string) => {
createProject(projectName);
});
program.parse(process.argv);