ctrlshiftleft
Version:
AI-powered toolkit for embedding QA and security testing into development workflows
35 lines • 1.35 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const commander_1 = require("commander");
const dotenv_1 = __importDefault(require("dotenv"));
const gen_1 = require("./commands/gen");
const run_1 = require("./commands/run");
const watch_1 = require("./commands/watch");
const watch_ai_1 = require("./commands/watch-ai");
const checklist_1 = require("./commands/checklist");
const search_1 = require("./commands/search");
const package_json_1 = require("../package.json");
// Load environment variables
dotenv_1.default.config();
const program = new commander_1.Command();
program
.name('ctrlshiftleft')
.description('Ctrl.shift.left: Shift QA and security left with auto-generated tests and checklists')
.version(package_json_1.version);
// Register commands
(0, gen_1.genCommand)(program);
(0, run_1.runCommand)(program);
(0, watch_1.watchCommand)(program);
(0, watch_ai_1.watchAICommand)(program);
(0, checklist_1.checklistCommand)(program);
(0, search_1.searchCommand)(program);
program.parse(process.argv);
// If no command is provided, show help
if (!process.argv.slice(2).length) {
program.outputHelp();
}
//# sourceMappingURL=cli.js.map