UNPKG

@nestbox-ai/cli

Version:

The cli tools that helps developers to build agents

20 lines (17 loc) 598 B
import { Command } from "commander"; import { registerUseCommand } from "./project/use"; import { registerAddCommand } from "./project/add"; import { registerListCommand } from "./project/list"; /** * Register all project-related commands */ export function registerProjectCommands(program: Command): void { // Create the main project command const projectCommand = program .command("project") .description("Manage Nestbox projects"); // Register all subcommands registerUseCommand(projectCommand); registerAddCommand(projectCommand); registerListCommand(projectCommand); }