1 stable release
1.2.1 | Feb 20, 2023 |
---|---|
1.1.0 |
|
1.0.1 |
|
#1433 in Development tools
19KB
240 lines
Licenser
A small tool to add license notices
Note: The program will ignore all files with unknown file extensions
Usage
licenser [OPTIONS] --directory <DIRECTORY> --license <LICENSE>
Options
-d, --directory <DIRECTORY> Specifies the directory to add license notices to
-l, --license <LICENSE> Specifies the file containing the license notice
-e, --extensions <EXTENSIONS> Specifies what file extensions to license
-D, --dry-run Performs a dry run, showing files that would be affected
-s, --silent Prints only the number of modified files
-c, --comment Automatically add comments
-r, --replace Replaces existing license notices with new ones
-h, --help Print help
-V, --version Print version
Dependencies
~1.1–1.7MB
~32K SLoC