Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gmana

sun-sreng216MIT1.0.2TypeScript support: included

A sleek, interactive, and secure CLI tool for generating and managing passwords with modern UX, strong encryption, and smart features.

cli, password-generator, secure-password, interactive-cli, typescript, encryption, security, password-manager, gmana

readme

🔐 gmana-cli

A sleek, interactive, and secure CLI tool for generating and managing passwords with modern UX, strong encryption, and smart features.

Installation

npm install -g gmana

Basic Usage

Basic Password Generation

gmana gen                 # Default secure password
gmana gen -l 20           # Custom length
gmana gen --no-symbols    # Exclude symbols
gmana gen -l 16 --extra-symbols --exclude-similar

Interactive Mode

gmana gen -i

Configuration

# Show Current Config
gmana config --show


# Update Config
gmana config --set length=16
gmana config --set savehistory=true
gmana config --set autocopy=false

# gmana config
gmana config

History

gmana history --list

History Interactive Mode

gmana history

Options include:

  • View & copy passwords
  • Masked display
  • Clear history

Clear History

gmana history --clear

Advanced Usage

Command Aliases

gmana g       # gen
gmana g -i    # gen --interactive
gmana c       # config
gmana h       # history

General Options

gmana gen -l 32 --extra-symbols --exclude-ambiguous
gmana gen -l 6 --no-uppercase --no-lowercase --no-symbols
gmana gen -l 12 --no-numbers --no-symbols

Batch Generation

for i in {1..5}; do gmana gen -l 16; done

🎨 Features

  • 🌈 Colorful and emoji-rich output
  • ⚡ Progress spinners and live feedback
  • 📋 Smart config/history formatting
  • 🔐 Secure password generation (crypto.randomInt)
  • ✅ Auto-copy to clipboard
  • 📊 Strength scoring and suggestions
  • 🕵️‍♂️ History masking (first/last 2 chars only)