tent
Create files with a template.
Installation
go install codeberg.org/9yokuro/tent@latest
Usage
If you only want to create files:
tent foo ...
If you want to create files with parent directories created as needed:
tent -parents foo/bar/baz ...
If you want to create files with a template,
create a template file in the templates directory ($XDG_CONFIG_HOME/tent/templates
):
echo '#!/bin/sh' > "$XDG_CONFIG_HOME/tent/templates/sh"
and run the following:
tent -template sh foo ...
License
MIT