-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.md.tmpl
25 lines (20 loc) · 930 Bytes
/
README.md.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# mdtmpl
<!--- {{ file "docs/intro.tmpl" }} --->
# Installation
Find all releases [here](https://github.com/FalcoSuessgott/mdtmpl/releases) or simply download the latest by running:
```bash
## curl
version=$(curl https://api.github.com/repos/falcosuessgott/mdtmpl/releases/latest -s | jq .name -r)
curl -OL "https://github.com/FalcoSuessgott/mdtmpl/releases/download/${version}/mdtmpl_$(uname)_$(uname -m).tar.gz"
tar xzf mdtmpl_$(uname)_$(uname -m).tar.gz
chmod u+x mdtmpl
./mdtmpl version
## brew
brew install falcosuessgott/tap/mdtmpl
```
# Usage
<!--- {{ exec "echo \"$> mdtmpl -h\" && go run main.go -h" | truncate | code "bash" }} --->
# pre-commit hook
Add the following config to your `.pre-commit-config.yaml` file and adjust the `args` to your needs.
Mae sure to run `pre-commit install` and `pre-commit autoupdate` to stay on the last version:
<!--- {{ tmpl "docs/pre-commit.tmpl" | truncate | code "yaml" }} --->