Crates.io | license-generator |
lib.rs | license-generator |
version | 1.3.0 |
source | src |
created_at | 2019-01-11 16:21:52.418646 |
updated_at | 2024-09-06 01:12:08.658005 |
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-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT © azu