1.6.0 • Published 6 years ago
license-maker-cli v1.6.0
license-maker-cli
A simple command line tool to generate license and prepend license notices to the project files.
Usage
npx license-maker-cli <options>
Options
--program-description
One line to give the program's name and a brief idea of what it does.
Default value is empty
--author
Author of the program. This value is used in the license notice.
Default value is os username.
--year
Year of copyright. Default value is current year
--dir
The program directory to add license notices.
Default value is current directory
--license
The license type to apply. This defaulted to AGPL and can not change at the moment.
--exclude
A pattern to exclude files
--skip-license-generation
Skips license generation step
--skip-notice-generation
Skips license notice generation stepRequirements
- Lated version of node which supports ES modules
- Tested on
nodeversionv13.5.0
Supported Licenses
Supported Files
All files except the ones listed below will be ignored. We are working hard to support more file types. Feel free to contribute.
- Java
- Ruby
- Javascript
- html
- rhtml
- erb
- rxml
- rabl
- sh
Running locally
- Clone the repository
- Run
npm linkfrom the repository - Run
license-maker-cliwith the required options
Upcoming
- Add more license notices
- Add more licenses