@shadow-dev/core
Version:
A modular core framework for Discord bot development, providing commands, buttons, menus, middleware, and more.
15 lines (10 loc) • 372 B
text/typescript
import { Command } from "commander";
import exampleCommand from "./commands/example.js";
import initCommand from "./commands/init.js";
const program = new Command();
program.version("0.4.1").description("ShadowCore CLI");
// Define your commands here
// Example command
program.addCommand(exampleCommand);
program.addCommand(initCommand);
program.parse(process.argv);