v1 working
This commit is contained in:
@@ -40,5 +40,6 @@ The next version of the CLI, v2, will address both of these limitations!
|
||||
## Future tasks
|
||||
|
||||
- Add support for conventional commits as a flag that users can enable
|
||||
- Try supporting more than 200 lines by grabbing the diff per file
|
||||
- Add support for diffs greater than 200 lines by grabbing the diff per file
|
||||
- Add support for a flag that can auto-accept
|
||||
- Build landing page for the 2.0 launch
|
||||
|
||||
@@ -8,12 +8,12 @@ import fetch from "node-fetch";
|
||||
let OPENAI_API_KEY = process.env.OPENAI_API_KEY;
|
||||
|
||||
export async function main() {
|
||||
console.log(chalk.white("▲ ") + chalk.green("Welcome to AICommit!"));
|
||||
console.log(chalk.white("▲ ") + chalk.green("Welcome to AICommits!"));
|
||||
|
||||
if (!OPENAI_API_KEY) {
|
||||
console.error(
|
||||
chalk.white("▲ ") +
|
||||
"Please specify an OpenAI key using export OPENAI_API_KEY='YOUR_API_KEY'"
|
||||
"Please save your OpenAI API key as an env variable by doing 'export OPENAI_API_KEY=YOUR_API_KEY'"
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "aicommits",
|
||||
"version": "0.3.2",
|
||||
"version": "1.0.0",
|
||||
"description": "Writes your git commit messages for you with AI",
|
||||
"main": "bin/index.js",
|
||||
"bin": {
|
||||
|
||||
Reference in New Issue
Block a user