Skip to content

fayrghos/pass-dot-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PassDotGo

A small command-line password generator written in Go.

Usage

The program can be used to generate passwords up to 80 characters long, including letters, numbers, and symbols like @$&!#%&*.

passdotgo <length> [flags]

Flags

Flag Description
-l, --letters Letters only password.
-n, --numbers Letters and numbers password.
-s, --symbols All characters password (Default).
-e, --eye-candy Outputs a colorful password.
-c, --count Generates multiple passwords.
-h, --help Helps.

Important

The --eye-candy flag will not function properly if your terminal doesn't support ANSI colors or if you're exporting the output using the > operator.

Building

go build -o ./bin/passdotgo

The binary will appear inside the /bin subfolder.

Examples

# A single 42-char password
./bin/passdotgo 42

# Three 42-char passwords
./bin/passdotgo 42 --count 3

# Two alphanumeric passwords, with a colorful output
./bin/passdotgo 42 -n -c 2 --eye-candy

About

Yet another password generator utility.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages