StaticSphere.Cli.Guid 1.0.0

.NET 6.0
dotnet tool install --global StaticSphere.Cli.Guid --version 1.0.0
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 StaticSphere.Cli.Guid --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#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
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.0 158 12/26/2021