ai-coder
v0.0.8
Published
A CLI to aid you in your day to day coding tasks.
Downloads
13
Maintainers
Readme
AI-Coder
AI-Coder is a command-line tool that uses AI to generate commit messages and pull request titles and bodies.
Installation
Get an OpenAI API key and set it as an environment variable called OPENAI_API_KEY
.
Add to your package.json your configuration for the AI-Coder to generate PRs. For example, the configuration for this repo looks like this:
{
"ai": {
"repo": {
"baseBranch": "main",
"owner": "jacob-ebey",
"name": "ai-coder"
}
}
}
npm install ai-coder
Usage
ai-coder <command>
Commands
commit
: Commit staged changes with an AI generated commit messagepr
: Generate a pull request with an AI generated title and body
Arguments
--help
: Display help