Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teodorvecerdi/vecerdi.license
dotnet tool for generating license files based on SPDX identifiers (e.g., MIT, Apache-2.0)
https://github.com/teodorvecerdi/vecerdi.license
cli-tool dotnet dotnet-tool license license-generator tool
Last synced: 9 days ago
JSON representation
dotnet tool for generating license files based on SPDX identifiers (e.g., MIT, Apache-2.0)
- Host: GitHub
- URL: https://github.com/teodorvecerdi/vecerdi.license
- Owner: TeodorVecerdi
- License: other
- Created: 2022-11-19T16:25:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-13T08:42:54.000Z (about 1 month ago)
- Last Synced: 2024-10-13T11:44:59.284Z (about 1 month ago)
- Topics: cli-tool, dotnet, dotnet-tool, license, license-generator, tool
- Language: C#
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vecerdi.License
[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/Vecerdi.License)](https://www.nuget.org/packages/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
```bash
dotnet tool install -g Vecerdi.License
```## Usage
```bash
$ license --helpDescription:
Generates a license file based on the given SPDX identifier.Usage:
license [command] [options]Options:
-i, --license, --spdx-identifier The SPDX identifier of the license to generate. [default: NON-AI-MIT]
-o, --output 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 informationCommands:
list List supported SPDX license identifiers
print Print the source of a given SPDX license identifier
```### Example
```bash
license --license NON-AI-MIT --output LICENSE
```