StaticSphere.Cli.Guid
1.0.0
dotnet tool install --global StaticSphere.Cli.Guid --version 1.0.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local StaticSphere.Cli.Guid --version 1.0.0
#tool dotnet:?package=StaticSphere.Cli.Guid&version=1.0.0
nuke :add-package StaticSphere.Cli.Guid --version 1.0.0
StaticSphere.Cli.Guid
This project is a simple .NET 6 CLI tool that can be installed as a global dotnet tool, and will generate GUID's from the command line. As a .NET 6 CLI, it can be installed on Windows, Mac, and Linux.
Installation
To install the tool, you can use the following command to install it from Nuget.org:
dotnet tool install --global StaticSphere.Cli.Guid
Or if you wish to compile it locally and install it, you can do so with the following commands:
cd <<path to source>>
dotnet pack
dotnet tool install --global --add-source ./dist StaticSphere.Cli.Guid
Usage
Once installed, you can execute the CLI to create a guid with the guid
command:
guid
By default, the produced GUID is in all caps, and includes dashes. You can use the --lowercase
or -l
parameter to signal that you want the GUID to have lowercased letters. You can also specify --nodashes
or -n
to remove the dashes. You can also use -ln
to generate a guid with lowercased and with no dashes.
Dependencies
This project depends on the CommandLineParser Nuget package to handle parsing of command line parameters.
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. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 176 | 12/26/2021 |