quickly create a random password
A command line tool to quickly create a random password.
-h, --help help for pwgen
- pwgen number - Generate a random number
- pwgen phrase - Generate a phrase of multiple words, leveraging the words API
- pwgen random - Generate a random string
- pwgen completion - Generate the autocompletion script for the specified shell
Generate a random number
pwgen number [flags]
-c, --count int8 Number of digits (default 4)
-h, --help help for number
- pwgen - quickly create a random password
Generate a phrase of multiple words, leveraging the words API
This generates a phrase or list of words. This function does not use a local dictionary, but fetches the words from the words API from random-word-api.herokuapp.com. Please take this into consideration when generating phrases to use as passwords.
pwgen phrase [flags]
-c, --count int Number of words to fetch (default 3)
-h, --help help for phrase
-s, --separator string Separator bewteen words (default "-")
- pwgen - quickly create a random password
Generate a random string
pwgen random [flags]
-c, --count int Number of characters (default 12)
-h, --help help for random
-l, --lowerCase include lower case characters
-n, --numbers include numbers
-s, --symbols include special characters:
-u, --upperCase include upper case characters
- pwgen - quickly create a random password
Generate the autocompletion script for the specified shell
Generate the autocompletion script for pwgen for the specified shell. See each sub-command's help for details on how to use the generated script.
-h, --help help for completion
- pwgen - quickly create a random password
- pwgen completion bash - Generate the autocompletion script for bash
- pwgen completion fish - Generate the autocompletion script for fish
- pwgen completion powershell - Generate the autocompletion script for powershell
- pwgen completion zsh - Generate the autocompletion script for zsh