texworld / betterbib

:green_book: Command-line tools for bibliographies.
816 stars 42 forks source link

pre-commit support #190

Closed JensHeinrich closed 3 years ago

JensHeinrich commented 3 years ago

I would like to add pre-commit support to this tool (especially the betterbib-format-command) to support automatic formatting of bib-files in git repositories, if this is ok for the maintainers.

It would consist of adding a definition of the hook entry point and adding an 'inplace'-option to the cli call

nschloe commented 3 years ago

Sure.