edited prompt slightly
This commit is contained in:
@@ -36,11 +36,14 @@ Video coming soon where I rebuild it from scratch to show you how to easily buil
|
||||
- Only supports git diffs of up to 200 lines of code for now
|
||||
- Does not support conventional commits
|
||||
|
||||
The next version of the CLI, version 2, will address both of these limitations!
|
||||
The next version of the CLI, version 2, will address both of these limitations as well as the tasks below!
|
||||
|
||||
## Future tasks
|
||||
|
||||
- Add a debugging flag to troubleshoot OpenAI responses
|
||||
- Add support for conventional commits as a flag that users can enable
|
||||
- Add support for diffs greater than 200 lines by grabbing the diff per file
|
||||
- Add support for a flag that can auto-accept
|
||||
- Add opt-in emoji and languages flags
|
||||
- Add ability to specify a commit message from inside aicommit
|
||||
- Build landing page for the 2.0 launch
|
||||
|
||||
@@ -50,7 +50,7 @@ export async function main() {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
let prompt = `I want you to act like a git commit message writer. I will input a git diff and your job is to convert it into a useful commit message. Do not preface the commit with anything, use present tense, return a complete sentence, and do not repeat yourself: ${diff}`;
|
||||
let prompt = `I want you to act like a git commit message writer. I will input a git diff and your job is to convert it into a useful commit message. Do not preface the commit with anything, use the present tense, return a complete sentence, and do not repeat yourself: ${diff}`;
|
||||
|
||||
console.log(
|
||||
chalk.white("▲ ") + chalk.gray("Generating your AI commit message...\n")
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
{
|
||||
"name": "aicommits",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"description": "Writes your git commit messages for you with AI",
|
||||
"files": ["bin"],
|
||||
"files": [
|
||||
"bin"
|
||||
],
|
||||
"bin": "bin/index.js",
|
||||
"repository": "https://github.com/Nutlope/aicommits",
|
||||
"author": "Hassan El Mghari (@nutlope)",
|
||||
|
||||
Reference in New Issue
Block a user