Skip to content

dotnet tool for generating license files based on SPDX identifiers (e.g., MIT, Apache-2.0)

License

Notifications You must be signed in to change notification settings

TeodorVecerdi/Vecerdi.License

Repository files navigation

Vecerdi.License

Nuget (with prereleases)

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

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: 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

Example

license --license MIT --output LICENSE.md

About

dotnet tool for generating license files based on SPDX identifiers (e.g., MIT, Apache-2.0)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published