@trunq-nq/changelogs-cli
v1.0.5
Published
Auto generate changelogs from git commits
Readme
Requirements
- Node 18+
Install global
npm install -g w3s-changelogsCommands w3s-changelogs CLI
# Ghi lại changelogs version mới kể từ tag gần nhất
w3s-changelogsOptions
--all: Ghi lại toàn bộ--fromvà--to: Ghi lại logfromđếnto,fromvàtocó thể là tag hoặc commit hash. Nếu chỉ cófromthìtosẽ là commit HEADw3s-changelogs --from=v1.0.0 --to=v1.0.1w3s-changelogs --from=e4c226b --to=786a238w3s-changelogs --from=v1.0.0
--version: Mặc định sẽ làpackage.jsonversion. Nếu có thì sẽ ghi lại changelogs theo version nàyw3s-changelogs --version=v1.0.1
--file: Ghi lại changelogs vào file khácCHANGELOG.mdw3s-changelogs --file=CHANGELOG-1.0.1.md
