A simple command-line tool for managing and copying templates. You can list available templates from a specified directory and copy them to any directory.
- List available templates — Easily check which templates are ready to use
- Copy templates into a new project — Bootstrap your project with one command
- python >= 3.8
git clone https://github.com/show-t/project-templates.git
cd project-templates
chmod +x scripts/templater.pyAdd the scripts directory to your PATH so you can run the tool from anywhere
export PATH="$PATH:/path/to/templater/scripts"Add this line to your shell profile (e.g., ~/.bashrc or ~/.zshrc) for persistence.
templater.py --helptemplater.py --helptemplater.py --listtemplater.py --use TEMPLATE_NAME --target ./my-projecttemplater.py --use TEMPLATE_NAME --target ./my-project --overwrite| Option | Description |
|---|---|
--list |
List available templates |
--use TEMPLATE_NAME |
Specify the name of the template to use |
-t, --target TARGET_NAME |
Target directory to copy the template into |
-d --dir TEMPLATE_DIR |
Directory containing templates (default: templates) |
--overwrite |
Overwrite target if it already exists |
.
├── scripts/ # Script files
│ └── templater.py
├── templates/ # Template files
│ ├── python/
│ │ └── ...
│ └── typescript/
│ └── ...
└── template.json # Template meta data
This project is licensed under the MIT License. See the LICENSE file for more details.