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:
--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 --author "azu"
license-generator MIT --output /dev/stdout --author "azu"
license-generator MIT Apache --author "azu"
# output
# LICENSE-MIT and LICENSE-APACHE
cargo test
Use cargo-release.
cargo release --no-dev-version {patch,minor,major} --execute
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT © azu