A simple tool to generate uuid with a cli command.
Generates a random (Version 4) UUID and prints to stdout.
Underlying library: https://pkg.go.dev/github.com/google/uuid
1. Manually build
- Clone the repo
git clone https://github.com/siripr4/uuid-cli.git
- cd to the directory
cd uuid-cli
- Build the go file
go build . -o uuid
- Run the binary
./uuid
- Optionally, add the binary to your PATH to generate uuid from anywhere. Symlink the binary to
usr/local/bin
sudo ln -s <absolute-path-to-binary> /usr/local/bin/uuid
2. Install via homebrew
TODO