UNPKG

agp-cli

Version:

Agentic Programming Project CLI - Standardized knowledge layer for AI-assisted development

22 lines 855 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createStartCommand = createStartCommand; const commander_1 = require("commander"); const agp_start_1 = require("../utils/agp-start"); const logger_1 = require("../utils/logger"); function createStartCommand() { const command = new commander_1.Command('start'); command.description('Start or resume AGP session').action(async () => { try { await logger_1.logger.withSpinner('Starting session', async () => { await (0, agp_start_1.startAgpSession)(); }); } catch (error) { logger_1.logger.error(`Failed to start AGP session: ${error instanceof Error ? error.message : String(error)}`); process.exit(1); } }); return command; } //# sourceMappingURL=start.js.map