| Crates.io | license-generator |
| lib.rs | license-generator |
| version | 1.3.0 |
| created_at | 2019-01-11 16:21:52.418646+00 |
| updated_at | 2024-09-06 01:12:08.658005+00 |
| description | A Command line tool that generate `LICENSE` file. |
| homepage | |
| repository | https://github.com/azu/license-generator |
| max_upload_size | |
| id | 107937 |
| size | 248,553 |
A Command line tool that generates LICENSE file.
Install with Cargo:
cargo install license-generator
$ license-generator --author <name> [LICENSE_TYPE]
[LICENSE_TYPE]:
- AGPL
- Apache
- CC-BY
- CC-BY-NC
- CC-BY-NC-SA
- CC-BY-SA
- CC0
- GPL
- LGPL
- MIT
- MPL
- Unlicense
Options:
-l, --list lists the available licenses
--author input author name. Default: `GitName <GitEmail>`
--project input project name that is required by some license
--year input license year
--output path to the output. Default: ./LICENSE
This CLI supports the following licenses:
license-generator MIT
license-generator MIT --output /dev/stdout
license-generator MIT Apache
# generates `LICENSE-MIT` and `LICENSE-APACHE`
license-generator MIT --author azu --year 2024
cargo test
Use cargo-release.
cargo release --execute --publish {patch,minor,major}
git checkout -b my-new-featuregit commit -am 'Add some feature'git push origin my-new-featureMIT © azu