pswg

command module
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2026 License: MIT Imports: 7 Imported by: 0

README

pswg pixel art logo

pswg

Go Version CI Version

pswg is a small password generator CLI written in Go.

It uses crypto/rand, prints only the generated password to stdout, and lets you set password length plus uppercase, special-character, and numeric requirements.

Quick Start

Generate a password with the default policy:

pswg

Generate a 16-character password with 2 uppercase letters, 2 special characters, and 2 numbers:

pswg -l 16 -u 2 -s 2 -n 2

Show version and help:

pswg -version
pswg -h

Documentation

Read the user manual for all flags, valid combinations, invalid examples, exit codes, character sets, and build commands.

Build

make check
make build VERSION=v1.0.3

License

MIT. See LICENSE.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package genutil generates random passwords for the pswg CLI.
Package genutil generates random passwords for the pswg CLI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL