# 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](https://gitlab.com/marquess-projects/add-license)
`$ chmod +x install.sh`
`$ ./install.sh`
# Usage
`$ cargo add-license [AGPL3, APACHE2, BSD2, BSD3, GPL2, GPL3, LGPL2, MIT]`
Example:
`$ cargo add-license MIT`
You may add new files to 'licenses' folder and then reference them in the match expression inside 'src/main.rs' file to have different licenses arguments.
# ATTENTION
Some licenses files must be manually edited to include the current year and your personal name. You may search for `<year>` and `<name>` keywords in those files.