Maintain changelog with the power of generative AI.
chglog initThe chglog will ask for required configuration parameters and store in the config directory.
Subsequent call will override the current config.
Note, to configure the details, one should edit the configuration file manually.
Call from the git repository:
chglog commitchglog reads the branch name, takes the git diff and asks LLM for a single line commit message.
Generates changelog entry and appends to CHANGELOG.md file in the root of the project.
chglog changelog [--append] [--target CHANGELOG.md]chglog takes a diff of all unstaged changes and asks LLM for a changelog entry.
By default, the changelog entry is just printed to stdout, with --append flag, it is appended
to the CHANGELOG.md file. The --target flag allows to specify a different file.