CLI tool for managing CHANGELOG.md
file based on Keep a Changelog format.
npm isntall -g chlog-cli
Or use with npx
:
npx chlog-cli help
Init a new changelog:
chlog init
chlog init changelog.md
Get full changelog:
chlog get
Get all changes at 1.50.x
versions:
chlog get 1.50
Add record:
chlog add -a 1.50.1 "Some new feature"
# Options:
# -f, --fixed add to "Fixed"
# -a, --added add to "Added"
# -c, --changed add to "Changed"
# -d, --deprecated add to "Deprecated"
# -r, --removed add to "Removed"
# -s, --security add to "Security"
Add reccord with a link:
chlog add -a Unreleased "Some new feature" "https://jira-ticket.com/APP-300"
Change version name:
chlog change 1.50.1 --name 1.50.2
Change version date:
chlog change 1.50.1 --date "2021-01-01"
chlog change 1.50.1 --date current
chlog change 1.50.1 --date cur
Remove version:
chlog remove 1.50.1
Get help:
chlog -h
chlog help
chlog add -h
chlog add --help