/Licenser

A small tool to add licnense notices

Primary LanguageRustGNU General Public License v3.0GPL-3.0

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