| Crates.io | moobi |
| lib.rs | moobi |
| version | 0.2.0 |
| created_at | 2025-12-08 21:45:22.761322+00 |
| updated_at | 2025-12-08 21:45:22.761322+00 |
| description | A random password generation CLI tool. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1974422 |
| size | 12,539 |
A small CLI tool written in Rust that generates random passwords with configurable length and optional special characters.
# Default: 12-character password, no special characters
moobi
# 16-character password
moobi --len 16
# 20-character password with special characters
moobi --len 20 --spec-char
Short flags are also supported:
moobi -l 16 -s
If the requested length is less than 8, the program prints an error and exits:
Error: Password length must be at least 8
cargo build --release
./target/release/moobi --len 16 --spec-char
-l, --len <LEN>
Length of the password to generate
Default: 12
Minimum: 8
-s, --spec-char
Include special characters in the password
Default: false