choose-license
1.1.0
See the version list below for details.
dotnet tool install --global choose-license --version 1.1.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local choose-license --version 1.1.0
#tool dotnet:?package=choose-license&version=1.1.0
nuke :add-package choose-license --version 1.1.0
Choose A License – .NET CLI Tool
Finding the right license for your project can range from being tedious to downright difficult. This .NET CLI tool brings the information found at Choose A License to your command line environment.
- View a glossary rules around permissions, limitations, and conditions
- Search for licenses based on title and identifier
- Create a new license using the
id
of the license - View detailed information about a license by
id
Note, these aren't ALL the licenses in the world. That list is extensive and frankly too much.
Getting Started
You can install the tool from the command line using the following command. It is recommended to install it as a global tool since it can be used in any context.
dotnet tool install -g choose-license
As an example, you can create an MIT license file using the following command.
choose-license new mit
You can also choose the output path (from the current directory) using the -o
flag, but just be sure to include the file name.
Dependencies and Credit
- Choose A License - https://choosealicense.com
- Spectre.Console - https://spectreconsole.net/
- MarkDig - https://github.com/xoofx/markdig
- YamlDotNet - https://github.com/aaubry/YamlDotNet
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
- Added `new` options for name and year
- Added Environment variable of `CHOOSELICENSE_NAME`