/passgen

A simple password generator in Rust

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Passgen

A simple password generator in Rust

Installation

git clone https://github.com/Keegan-JW/passgen
cd passgen
cargo build --release
# Move the binary into $PATH

Usage

Generate random passwords

Usage: passgen [OPTIONS]

Options:
  -l, --length <LENGTH>    The length of the password [default: 20]
  -u, --include-uppercase
  -c, --include-lowercase
  -d, --include-digits
  -s, --include-special
  -v, --copy-password
  -h, --help               Print help
  -V, --version            Print version

Example

passgen -l 25 -u -c -d -s
# Or
passgen -ucdsl 25