-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(args): support initialization with built-in templates #370
Conversation
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #370 +/- ##
==========================================
- Coverage 43.76% 42.65% -1.11%
==========================================
Files 13 13
Lines 649 666 +17
==========================================
Hits 284 284
- Misses 365 382 +17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@orhun Brilliant work ! # add directory which stores user-defined templates,
git cliff --templates-dir <PATH> (ENV: GIT_CLIFF_TEMPLATES_DIR=)
# print all available templates, both built-in and user-defined templates, which is needed for providing completion in emacs.
git cliff --list-templates these features are implemented in my emacs plugin for now and glad for more features are supported natively. |
@liuyinz thank you! Those are great suggestions. Would you be potentially interested in contributing this? Either way, I would appreciate a tracking issue to implement them in the future. |
@orhun I know nothing about rust.. so waiting :> |
Can you at least create an issue so that I won't forget about this feature? :D |
#412 created. My job: done! |
Motivation
Now we embed the files under
examples/
into the binary and support the following use cases:# creates cliff.toml with keepachangelog template git cliff --init keepachangelog
# generates a changelog in keepachangelog format git cliff --config keepachangelog
Types of Changes
Checklist: