Releases: naftulikay/nfty
Releases · naftulikay/nfty
0.4.0
Add license generation feature: #23
Usage:
nfty-project-license 0.4.0
Generate software licenses for a project
USAGE:
nfty project license [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
--no-clean Disable deletion other licenses before license generation. By default, all files matching
`LICENSE*` will be removed before rendering new licenses
-V, --version Prints version information
OPTIONS:
-a, --author <license-holder> The author/copyright holder for the license(s) [default: Naftuli Kay]
-t, --type <license-type> The type of license to generate. Options can be oss, mit, apache2, and private.
'oss' is a special value, it implies both MIT and Apache2 [default: oss]
--dir <project-dir> The root directory of the project to manage licenses for. Defaults to the current
directory
Simply calling nfty project license will remove old licenses and add LICENSE-MIT and LICENSE-APACHE to the current directory with the author's name (default is "Naftuli Kay") with the current year rendered in the license.