UUIDNext.Cli
4.0.0-beta3
This is a prerelease version of UUIDNext.Cli.
dotnet tool install --global UUIDNext.Cli --version 4.0.0-beta3
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 UUIDNext.Cli --version 4.0.0-beta3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=UUIDNext.Cli&version=4.0.0-beta3&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package UUIDNext.Cli --version 4.0.0-beta3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
UUIDNext.Cli
A command line tool to generate and decode UUID/GUID that are either sequential and database friendly (versions 7 & 8) or random (version 4).
How to Install
UUIDNext.Cli is available as a tool on nuget.org
dotnet tool install --global UUIDNext.Cli --prerelease
How to Use
# Creating a UUID Version 4
uuidnext random
# Creating a UUID Version 7
uuidnext sequential
# Creating a database friendly UUID for MS SQL Server (Version 8)
uuidnext database sqlServer
# Decoding version, timestamp and sequence from a UUID version 7
uuidnext decode 017F22E2-79B0-7CC3-98C4-DC0C0C07398F
Quick documentation
Description :
Generate a new UUID
Usage :
uuidnext command [options]
Commands :
Random Create a new UUID v4
Sequential Create a new UUID v7
Database [dbName] Create a UUID to be used as a database primary key (v7 or v8 depending on the database)
dbName can be "PostgreSQL", "SqlServer", "SQLite" or "Other"
Decode [UUID] Decode the versioo of the UUID and optionally the timestamp an sequence number of UUID v1, 6, 7 and 8
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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.
Version | Downloads | Last updated |
---|---|---|
4.0.0-beta3 | 37 | 11/17/2024 |
4.0.0-beta2 | 55 | 11/10/2024 |