-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4526a1
commit 8626cdf
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# passgen | ||
|
||
A simple random password generator. | ||
|
||
## Usage | ||
``` | ||
passgen 1.0 | ||
@Sparkenstein | ||
Generate Random password on command line | ||
USAGE: | ||
passgen [OPTIONS] | ||
FLAGS: | ||
-h, --help Prints help information | ||
-V, --version Prints version information | ||
OPTIONS: | ||
-i, --include <include> include numbers/upppercase/lowercase/symbols in generated string [default: nlus] | ||
-l, --length <length> include lowercase characters in generated string [default: 16] | ||
``` | ||
|
||
## Example | ||
|
||
Generate random password with default settings (16 char long string with number, lowercase, uppercase, and symbols): | ||
``` | ||
passgen | ||
``` | ||
|
||
Change length of password to 20 chars: | ||
``` | ||
passgen -l 20 | ||
``` | ||
|
||
Use only Lowercase and Uppercase characters | ||
``` | ||
passgen -i lu | ||
``` | ||
|
||
Generate only number, symbols and uppercase with length of 25 | ||
``` | ||
passgen -l 25 -i nsu | ||
``` |