A simple command-line UUID generator supporting multiple UUID versions.
go install github.com/weppos/xuuid@latestor build from source:
git clone https://github.com/weppos/xuuid.git
cd xuuid
make buildThe binary will be created in the current directory as xuuid.
xuuid [flags]Generate a single UUID v7 (default):
xuuid
# 018f1234-5678-7890-abcd-ef1234567890Generate a UUID v4:
xuuid --v4
# 550e8400-e29b-41d4-a716-446655440000Generate multiple UUIDs:
xuuid --count 2
# 018f1234-5678-7890-abcd-ef1234567890
# 018f1235-5678-7890-abcd-ef1234567891Show all available flags:
xuuid --help