Crates.io | lygen |
lib.rs | lygen |
version | 1.0.0 |
source | src |
created_at | 2024-10-05 15:54:04.818583 |
updated_at | 2024-10-05 15:54:04.818583 |
description | Common Software License Generator |
homepage | https://github.com/Tyrannican/lygen |
repository | https://github.com/Tyrannican/lygen |
max_upload_size | |
id | 1398087 |
size | 207,864 |
Tired of constantly copy/pasting software licenses?
This will let you create some of the most common ones directly!
This is the list of supported licenses:
MIT License
Apache License 2.0
GNU General Public License 2.0 (GPLv2)
GNU General Public License 3.0 (GPLv3)
GNU Lesser General Public License v2.1 (LGPLv2)
GNU Lesser General Public License v3.0 (LGPLv3)
GNU Affero General Public License v3.0 (AGPLv3)
ISC License
BSD Zero Clause License
BSD 2-Clause "Simplified" License
BSD 3-Clause "New" or "Revised" License
Mozilla Public License 2.0
The Unlicense
zlib License
Do What The F*ck You Want To Public License
You can install via Cargo or download from the Releases tab for your platform:
cargo install lygen
Common License Generator to create LICENSE files
Usage: lygen <COMMAND>
Commands:
mit MIT License
apache2 Apache License 2.0
gplv2 GNU General Public License v2.0
gplv3 GNU General Public License v3.0
lgplv2 GNU Lesser General Public License v2.1
lgplv3 GNU Lesser General Public License v3.0
agplv3 GNU Affero General Public License v3.0
isc ISC License
bsd0 BSD Zero Clause License
bsd2 BSD 2-Clause "Simplified" License
bsd3 BSD 3-Clause "New" or "Revised" License
mozilla Mozilla Public License 2.0
unlicense The Unlicense
zlib zlib License
dwtfywt Do What The F*ck You Want To Public License
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
Each license shared the same subcommands. For example:
MIT License
Usage: lygen mit [OPTIONS]
Options:
-o, --output-dir <OUTPUT_DIR> Output directory for the License. Defaults to the working directory
-n, --name <NAME> Creator name to use within the License (if applicable)
-f, --filename <FILENAME> Filename for the License. Defaults to LICENSE [default: LICENSE]
-h, --help Print help
-V, --version Print version
These Licenses are provided "as is" from their relevant sources with zero modification.
Double check the license you want to use is appropriate for your use-case.