Skip to content

weppos/xuuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xuuid

A simple command-line UUID generator supporting multiple UUID versions.

Installation

go install github.com/weppos/xuuid@latest

or build from source:

git clone https://github.com/weppos/xuuid.git
cd xuuid
make build

The binary will be created in the current directory as xuuid.

Usage

xuuid [flags]

Generate a single UUID v7 (default):

xuuid

# 018f1234-5678-7890-abcd-ef1234567890

Generate a UUID v4:

xuuid --v4

# 550e8400-e29b-41d4-a716-446655440000

Generate multiple UUIDs:

xuuid --count 2

# 018f1234-5678-7890-abcd-ef1234567890
# 018f1235-5678-7890-abcd-ef1234567891

Show all available flags:

xuuid --help

About

A simple command-line UUID generator supporting multiple UUID versions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published