#password #command-line #generate #command-line-tool #lets #pass-gen #passg

程序 passg-tool

从命令行生成伪随机密码

1 个不稳定版本

0.1.0 2021年9月7日

身份验证 中排名第972

MIT 许可证

16KB
265 代码行

PassG-tool

PassGen是一个简单的命令行工具,用于生成符合所需(简单约束)集的伪随机密码

用法

passg 0.2.0
PassGen is a tool that lets you generate pseudo-random passwords from the command line

USAGE:
    passg [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -a, --alpha <alpha>        What kind of alphabetic characters do you want to allow ? (all = 'all', none = 'none',
                               easily distinguished = 'dist' [eg removes O vs 0], lower case = 'lower', upper case =
                               'upper') [default: dist]
    -d, --digit <digit>        What kind of numeric characters do you want to allow ? (all = 'all', none = 'none',
                               easily distinguished = 'dist' [eg removes O vs 0]) [default: dist]
    -l, --length <length>      The length of the password [default: 20]
    -s, --special <special>    What kind of special characters do you want to allow ? (all = 'all', none = 'none', the
                               most common ones = 'basic') [default: basic]

依赖项

~3MB
~49K SLoC