Add src/index.ts

This commit is contained in:
kodemaster-admin 2025-11-25 20:02:25 +00:00
parent be943071d8
commit cb2924a21c

21
src/index.ts Normal file
View File

@ -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);