@trunq-nq/changelogs-cli
1.0.5 • Public • Published
npm install -g w3s-changelogs
Commands w3s-changelogs CLI
# Ghi lại changelogs version mới kể từ tag gần nhất
w3s-changelogs
-
--all
: Ghi lại toàn bộ
-
--from
và --to
: Ghi lại log from
đến to
, from
và to
có thể là tag hoặc commit hash. Nếu chỉ có from
thì to
sẽ là commit HEAD
w3s-changelogs --from=v1.0.0 --to=v1.0.1
w3s-changelogs --from=e4c226b --to=786a238
w3s-changelogs --from=v1.0.0
-
--version
: Mặc định sẽ là package.json
version. Nếu có thì sẽ ghi lại changelogs theo version này
w3s-changelogs --version=v1.0.1
-
--file
: Ghi lại changelogs vào file khác CHANGELOG.md
w3s-changelogs --file=CHANGELOG-1.0.1.md
Package Sidebar
Install
npm i @trunq-nq/changelogs-cli
Weekly Downloads