6 个版本 (3 个重大更改)
0.4.0 | 2019 年 5 月 30 日 |
---|---|
0.3.0 | 2018 年 9 月 16 日 |
0.2.1 | 2018 年 3 月 2 日 |
0.2.0 | 2017 年 9 月 1 日 |
0.1.1 | 2017 年 1 月 31 日 |
在 #password-generator 中排名 62
17KB
198 行
pwgenr 
随机密码生成器(主要用于与密码管理器一起使用)。
示例
$ pwgenr -c box -- 12 6
◭┫▹◨┒◳┟┰┒┴┷○
╓┭◷▱╙▙╼○▒┆◌╰
▯◳▥◱◛═▉◆┴◽▌╓
◶◓┆│┓╰┶◑▶◉◁┓
┶┬◪◶◞┼▰▏┞╳╋▩
▌┖╅┺┶◫┺┹◪┲┧┦
选项
您可以通过输入 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:
-c <categories>... Categories to be used [values: symbols, games, tech, box, arrows, dingbat, math, ascii]
ARGS:
<LENGTH> of the generated passwords [default: 64]
<AMOUNT> of generated passwords [default: 12]
安装
您可以使用 cargo install
命令
$ cargo install pwgenr
或经典的构建和运行
$ git clone https://gitlab.com/Sakuhl/pwgenr
$ cd pwgenr
$ cargo build --release
$ cp target/release/pwgenr ~/.bin # assuming .bin is in your path
依赖关系
~2MB
~18K SLoC