Vecerdi.License
1.2.0
dotnet tool install --global Vecerdi.License --version 1.2.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Vecerdi.License --version 1.2.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Vecerdi.License&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Vecerdi.License --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Vecerdi.License
Generate license files for your projects.
Available SPDX identifiers:
- MIT
- ISC
- Apache-2.0
- BSD-3-Clause
- BSD-2-Clause
- GPL-3.0-only
- GPL-2.0
- MPL-2.0
- Unlicense
- NON-AI-MIT
- NON-AI-APACHE2
Installation
dotnet tool install -g Vecerdi.License
Usage
$ license --help
Description:
Generates a license file based on the given SPDX identifier.
Usage:
license [command] [options]
Options:
-i, --license, --spdx-identifier <SPDX> The SPDX identifier of the license to generate. [default: NON-AI-MIT]
-o, --output <file> The output file path. [default: ./LICENSE]
-s, --silent Suppress console output.
-a, --accept-placeholders Accept default values for placeholders in the license text.
--version Show version information
-?, -h, --help Show help and usage information
Commands:
list List supported SPDX license identifiers
print <spdx-identifier> Print the source of a given SPDX license identifier
Example
license --license NON-AI-MIT --output LICENSE
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
- Changed target framework to net9.0
- Added NON-AI versions of the MIT and Apache 2.0 licenses
- Changed default license to NON-AI-MIT