import { defineCommand } from "citty"; export const TestCommand = defineCommand({ meta: { name: "test", version: "1.0.0", description: "Test Command", }, args: { // Add your command arguments here input: { type: "positional", description: "Input parameter", required: false, }, verbose: { type: "boolean", description: "Enable verbose output", default: false, }, }, async run({ args }) { if (args.verbose) { console.log(`Running Test Command...`); } // Implement your command logic here console.log(`Test command executed successfully!`); if (args.input) { console.log(`Input: ${args.input}`); } }, }); export default TestCommand;