Add src/index.ts
This commit is contained in:
parent
be943071d8
commit
cb2924a21c
21
src/index.ts
Normal file
21
src/index.ts
Normal 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);
|
||||
Loading…
Reference in New Issue
Block a user