A simple CLI application to generate UUIDs using Rust and clap
.
- Rust: Install Rust using rustup
-
Clone the repository:
git clone https://github.com/yourusername/uuid-generator.git cd uuid-generator
-
Build the project:
cargo build --release
The compiled binary will be available at
target/release/uuid-generator
.
USAGE:
uuid-generator [OPTIONS]
OPTIONS:
-n, --num-uuids <NUM_UUIDS>
Number of UUIDs to generate [default: 1]
-h, --help
Prints help information
-
Generate a single UUID (default):
./target/release/uuid-generator
-
Generate 5 UUIDs:
./target/release/uuid-generator -n 5