https://github.com/rebar/rebar/wiki/Template-support
installing:
cp ~/code/rebar_templates/* ~/.rebar/templates/
cp -r ~/code/rebar_templates/rebar2/* ~/.rebar/templates/
https://www.rebar3.org/docs/using-templates
installing:
cp ~/code/rebar_templates/* ~/.config/rebar3/templates/
cp -r ~/code/rebar_templates/rebar3/* ~/.config/rebar3/templates/