licensing 0.1.1

Subcommand for Cargo that creates a file with a user-defined license in the project's directory.
licensing-0.1.1 is not a library.

About

A Cargo subcommand that creates a file with a user-defined license in the project's directory.

Made by Pablo Marques in 18/05/2024 under the MIT license.

Installation

cargo add add-license

or

Download source code

$ chmod +x install.sh

$ ./install.sh

Usage

$ cargo add-license [MIT, GPL, AGPL, APACHE]

Example:

$ cargo add-license MIT

If download from source, you can may add new licenses to 'licenses' folder and then reference them in the match expression inside 'src/main.rs' file.