cargo-generate 0.23.14

cargo, make me a project
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Hooks template

This is an example template that uses hook scripts to let the user select a license file.

The selected license file will be renamed into `LICENSE`, and besides this `README.md` be the only files left after expansion.

## Expansion

```sh
cargo generate --name my-expanded-template gh:cargo-generate/cargo-generate example-templates/hooks
```

or to select the license directly from commandline:

```sh
cargo generate --name my-expanded-template gh:cargo-generate/cargo-generate example-templates/hooks -d license=mit
```