2017-01-26 12:02:04 +00:00
|
|
|
# pwgenr [![Crates.io](https://img.shields.io/crates/v/pwgenr.svg)](https://crates.io/crates/pwgenr)
|
2017-01-26 11:59:05 +00:00
|
|
|
|
|
|
|
Random password generator (mainly for use with a password manager).
|
|
|
|
|
|
|
|
## Example
|
|
|
|
```bash
|
2017-09-01 10:38:10 +00:00
|
|
|
$ pwgenr -c box -- 12 6
|
2017-01-26 11:59:05 +00:00
|
|
|
◭┫▹◨┒◳┟┰┒┴┷○
|
|
|
|
╓┭◷▱╙▙╼○▒┆◌╰
|
|
|
|
▯◳▥◱◛═▉◆┴◽▌╓
|
|
|
|
◶◓┆│┓╰┶◑▶◉◁┓
|
|
|
|
┶┬◪◶◞┼▰▏┞╳╋▩
|
|
|
|
▌┖╅┺┶◫┺┹◪┲┧┦
|
|
|
|
```
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
You can check by typing `pwgenr -h`:
|
|
|
|
|
|
|
|
```
|
|
|
|
USAGE:
|
|
|
|
pwgenr [FLAGS] [OPTIONS] [--] [ARGS]
|
|
|
|
|
|
|
|
FLAGS:
|
|
|
|
-b, --clipboard Copy first password to clipboard (requires xclip)
|
|
|
|
-h, --help Prints help information
|
|
|
|
-V, --version Prints version information
|
|
|
|
|
|
|
|
OPTIONS:
|
2017-09-01 10:38:10 +00:00
|
|
|
-c <categories>... Categories to be used [values: symbols, games, tech, box, arrows, dingbat, math, ascii]
|
2017-01-26 11:59:05 +00:00
|
|
|
|
|
|
|
ARGS:
|
2018-09-16 17:23:58 +00:00
|
|
|
<LENGTH> of the generated passwords [default: 64]
|
|
|
|
<AMOUNT> of generated passwords [default: 12]
|
2017-01-26 11:59:05 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
You can use the `cargo install` command:
|
|
|
|
|
|
|
|
$ cargo install pwgenr
|
|
|
|
|
|
|
|
or a classic build and run:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ git clone https://gitlab.com/Sakuhl/pwgenr
|
|
|
|
$ cd pwgenr
|
|
|
|
$ cargo build --release
|
|
|
|
$ cp target/release/pwgenr ~/.bin # assuming .bin is in your path
|
2017-09-01 10:38:10 +00:00
|
|
|
```
|