changeloguru/README.md

37 lines
1.2 KiB
Markdown

# Changeloguru
[![Go](https://github.com/haunt98/changeloguru/workflows/Go/badge.svg?branch=main)](https://github.com/actions/setup-go)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/haunt98/changeloguru)](https://pkg.go.dev/github.com/haunt98/changeloguru)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/haunt98/changeloguru.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/haunt98/changeloguru/alerts/)
Tool to generate `CHANGELOG.md` from [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
## Install
```sh
GO111module=on go get github.com/haunt98/changeloguru
```
## Usage
```sh
# Help
changeloguru --help
# Generate changelog v1.0.0
changeloguru --version v1.0.0
# Generate changelog v2.0.0 from HEAD to tag v1.0.0
changeloguru --to v1.0.0 --version v2.0.0
```
## Thanks
- [Command Line Interface Guidelines](https://clig.dev/)
- [fatih/color](https://github.com/fatih/color)
- [go-git/go-git](https://github.com/go-git/go-git)
- [google/go-cmp](https://github.com/google/go-cmp)
- [sebdah/goldie](https://github.com/sebdah/goldie)
- [stretchr/testify](https://github.com/stretchr/testify)
- [urfave/cli](https://github.com/urfave/cli)