makefiles-cli is a simple commandline tool to create files and templates. It can create one or more empty files or any template defined in XDG_TEMPLATES_DIR. It also has support for fzf to make it easier to find template.
Create empty files:
mkfile example1 example2List all available templates:
mkfile --listCreate template from any template defined in XDG_TEMPLATES_DIR:
mkfile script.py --template="pyscript.py"Create template using fzf as picker to pick template interactively:
mkfile script.py --template --picker="fzf"Run mkfile --help for all the available options.
Requirements:
- python3 (python3.10 or greater)
- pip
You can install makefiles-cli directly from PyPI using pip:
pip install makefiles-cliOr if you love to stay on bleeding edge, install directly from github:
pip install git+https://github.com/Rid1FZ/makefiles-cli