1.0.6 • Published 5 years ago
chlog-cli v1.0.6
Changelog CLI
CLI tool for managing CHANGELOG.md file based on Keep a Changelog format.
Installation
npm isntall -g chlog-cliOr use with npx:
npx chlog-cli helpUsage
Init a new changelog:
chlog init
chlog init changelog.mdGet full changelog:
chlog getGet all changes at 1.50.x versions:
chlog get 1.50Add 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.2Change version date:
chlog change 1.50.1 --date "2021-01-01"
chlog change 1.50.1 --date current
chlog change 1.50.1 --date curRemove version:
chlog remove 1.50.1Get help:
chlog -h
chlog help
chlog add -h
chlog add --help