From cb2924a21c4d3a717b1ce248d17e00903ef40ba7 Mon Sep 17 00:00:00 2001 From: kodemaster-admin Date: Tue, 25 Nov 2025 20:02:25 +0000 Subject: [PATCH] Add src/index.ts --- src/index.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/index.ts diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..612d854 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,21 @@ +#!/usr/bin/env node + +import { Command } from 'commander'; +import chalk from 'chalk'; + +const program = new Command(); + +program + .name('git-ai-commit') + .description('AI-powered commit message generator') + .version('1.0.0'); + +// TODO: Uncomment the code below to pass the first stage +// program +// .command('hello') +// .description('Test command') +// .action(() => { +// console.log(chalk.green('Hello from git-ai-commit!')); +// }); + +program.parse(process.argv);