@justadi10/logline
v1.0.1
Published
Git CLI tool that writes my commit messages for me.
Maintainers
Readme
Logline
Logline is a small Git CLI helper that generates conventional commit messages and can commit them for you. The project has been refreshed so it works again on modern Node.js and npm.
Features
- AI-powered commit message generation with Google Gemini when a key is available
- Fallback message generation when AI is unavailable
- Automatic staging with
git add . - Interactive confirmation, or
--yesto skip the prompt - Basic regression tests for the CLI helpers
Installation
npm installFor a global install:
npm install -g .Setup
Create a .env file with your Gemini API key:
echo "GEMINI_API_KEY=your-api-key-here" > .envYou can also export it directly in your shell.
Usage
# Make changes, then run
lolUseful flags:
lol --help
lol --version
lol --yesDevelopment
npm testLicense
Licensed under the ISC License. See LICENSE.
