Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terror/bp
A simple templating engine for commonly used project files.
https://github.com/terror/bp
template-engine utility
Last synced: 5 days ago
JSON representation
A simple templating engine for commonly used project files.
- Host: GitHub
- URL: https://github.com/terror/bp
- Owner: terror
- Created: 2021-06-26T20:22:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T14:38:37.000Z (almost 3 years ago)
- Last Synced: 2025-01-03T02:38:38.623Z (8 days ago)
- Topics: template-engine, utility
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
`bp` is a simple, ~200 loc (excluding tests!) templating engine for commonly
used project files.#### Installation
```bash
$ curl https://raw.githubusercontent.com/terror/bp/master/bp.py -o /usr/local/bin/bp
$ chmod +x /usr/local/bin/bp
```#### Usage
```
usage: bp.py [-h] [--use [NAMES]] [--list] [--interactive] [--save [NAMES]]optional arguments:
--help, -h Show this help message and exit
--use, -u [NAMES] Use a file template.
--list, -l List all available templates.
--interactive, -i Be prompted for each variable in the files frontmatter.
--save, -s [NAMES] Save a template in `store`.
```