uuid-tool

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2023 License: MIT Imports: 7 Imported by: 0

README

uuid-tool

Use uuid-tool to generate v4 UUIDs on the command line.

GitHub

Get it from the Snap Store

Project Overview

Module github.com/shoenig/uuid-tool provides a command-line utility for generating v4 UUIDs.

Under the hood, uuid-tool makes use of HashiCorp's go-uuid library for v4 UUID generation.

Getting Started

Install from Releases

The uuid-tool command can be downloaded from the Releases page.

Install from SnapCraft

The uuid-tool command can be installed as a snap

$ sudo snap install uuid-tool
Build from source

The uuid-tool command can be compiled by running

$ go install github.com/shoenig/uuid-tool@latest

Example Usages

generate single v4 UUID with trailing newline (default)
$ uuid-tool
fafae80e-a308-120d-99fa-07ecd010e2b0
generate multiple v4 UUIDs (-c [count])
$ uuid-tool -c 3
b723aaef-0811-bbbc-7d6b-69555a683af8
11fa89a0-d0a4-e8d3-c89f-4d1907b7f385
b27ff498-83ae-eb29-263b-560e118942d7
omit trailing newline (-n)
# useful for pasting directly to clipboard
$ uuid-tool -n | pcbopy

Contributing

The github.com/shoenig/uuid-tool module is always improving with new features and error corrections. For contributing bug fixes and new features please file an issue.

License

The github.com/shoenig/uuid-tool module is open source under the MIT license.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL