Add necessary files to enable AI commit feature - .example.env, .gitignore, README.md, aicommit.mjs.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env zx
|
||||
|
||||
let { OPENAI_API_KEY } = await fs.readJson("./.env.json");
|
||||
|
||||
let diff = await $`git diff --cached`;
|
||||
|
||||
// echo("Current branch is", branch);
|
||||
// console.log(branch);
|
||||
echo(diff);
|
||||
|
||||
Reference in New Issue
Block a user