Skip to content
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

Add flags and options to support user-defined templates #412

Open
liuyinz opened this issue Dec 27, 2023 · 0 comments
Open

Add flags and options to support user-defined templates #412

liuyinz opened this issue Dec 27, 2023 · 0 comments
Labels
feature/request New feature or request good first issue Good for newcomers

Comments

@liuyinz
Copy link
Contributor

liuyinz commented Dec 27, 2023

Is your feature request related to a problem? Please describe.

I define templates by myself and want to init with same mechanism which git-cliff already support by only for built-in templates

Describe the solution you'd like

# 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

Describe alternatives you've considered

no

Additional context

  • allow user to define his own templates
  • give a higher priority to overwrite built-in templates if they have same names

See #370

@liuyinz liuyinz added the feature/request New feature or request label Dec 27, 2023
@orhun orhun added the good first issue Good for newcomers label Dec 27, 2023
@orhun orhun removed their assignment Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/request New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants