choose-license
1.1.1
dotnet tool install --global choose-license --version 1.1.1
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 choose-license --version 1.1.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=choose-license&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package choose-license --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 --name "Khalid Abuhakmeh"
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Be sure to escape markup from user input on message output.