Documentation

Features

  • Generates secure 22-character passwords (customizable length)
  • Includes random uppercase letters, lowercase letters, numbers, and special characters
  • Colorful, user-friendly terminal interface
  • Comprehensive error handling and input validation
  • Logging system that records operations
  • Automatic clipboard integration (requires xclip, pbcopy, or wl-copy)

Usage

Basic usage:

pwdgen

With options:

# Generate a 16-character password
pwdgen -l 16

# Generate a password without special characters
pwdgen --no-special

# Enable verbose output
pwdgen -v

# Display help information
pwdgen --help

Options

  • -l, --length NUM - Set password length (default: 22)
  • -h, --help - Display help message
  • -v, --verbose - Enable verbose mode
  • --no-special - Exclude special characters
  • --no-numbers - Exclude numbers
  • --no-lowercase - Exclude lowercase letters
  • --no-uppercase - Exclude uppercase letters

Example Output

Secure Password Generator v1.0

Generated Password: QWr]oHs/%D;%PO~o2Trb6j
Password copied to clipboard!