mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-12 06:28:28 +00:00
15 lines
411 B
TypeScript
15 lines
411 B
TypeScript
import { Command } from "commander";
|
|
import { initCommand } from "../commands/init.js";
|
|
import { VERSION } from "./version.js";
|
|
|
|
const program = new Command();
|
|
|
|
program.name("core").description("Core CLI - A Command-Line Interface for Core").version(VERSION);
|
|
|
|
program
|
|
.command("init")
|
|
.description("Initialize Core development environment (run once)")
|
|
.action(initCommand);
|
|
|
|
program.parse(process.argv);
|