validstart
Version:
ValidStart is a powerful and intuitive command-line interface (CLI) tool meticulously crafted to streamline the project setup process.
29 lines (22 loc) • 647 B
text/typescript
import { Command } from "commander";
import chalk from "chalk";;
import { runInitCommand } from "./commands/init";
const program = new Command();
program
.name("validstart")
.description("🚀 Scaffold any project in any language or framework with ease.")
.version("1.0.0");
program
.command("hello")
.description("Test command")
.action(() => {
console.log(chalk.green("✅ Hello from validstart!"));
});
program
.command("init")
.description("Start an interactive project scaffolding process")
.action(() => {
runInitCommand();
});
program.parse(process.argv);