1 unstable release
0.1.0 | Apr 5, 2023 |
---|
#71 in #changelog
19KB
381 lines
aichangelog
aichangelog
is a CLI tool written in Rust, that generates a changelog based on your Git commit messages. It leverages OpenAI's conversational models to produce a human-readable, Markdown-formatted changelog.
Installation
aichangelog can be easily installed with Cargo, Rust's package manager. Simply run the following command:
cargo install aichangelog
Please note that in order to use aichangelog, you will need to set the OPENAI_API_KEY
environment variable. This API key is required to use the OpenAI language models, which is used by aichangelog to generate commit messages.
Usage
Generating Conventional Commits with aichangelog
Short | Long | Description | Default |
---|---|---|---|
-s | --short | Only use first line of commit message to reduce tokens | |
-t | --temp | Temperature for AI 0.0 - 2.0 | 1.0 |
-f | --freq | Frequency Penalty for AI -2.0 - 2.0 | 0.0 |
-m | --model | Model to use | gpt-3.5-turbo |
-h | --help | Print help | |
-V | --version | Print version |
Getting Help with aichangelog
To get help with using aichangelog
, you can use the -h
or --help
option
$ aichangelog --help
This will display the help message with information on how to use the tool.
Dependencies
~24–39MB
~433K SLoC