constatic
Version:
Constatic is a CLI for creating and managing modern TypeScript projects, providing an organized structure and features that streamline development.
24 lines (23 loc) • 515 B
JavaScript
// src/commands/bot/index.ts
import { defineCommand } from "citty";
import init from "./init.js";
import { l } from "#helpers";
import add from "./add.js";
function bot_default(cli) {
return defineCommand({
meta: {
name: "bot",
description: l({
"pt-BR": "Iniciar e gerenciar projetos de bot de discord",
"en-US": "Init and manage discord bot projects"
})
},
subCommands: {
init: init(cli),
add: add(cli)
}
});
}
export {
bot_default as default
};