ayu

Crates.ioayu
lib.rsayu
version0.3.0
sourcesrc
created_at2020-02-28 17:16:47.595103
updated_at2020-03-02 12:38:14.093111
descriptionA tool to generate random password
homepagehttps://github.com/weizhang9/ayu
repositoryhttps://github.com/weizhang9/ayu
max_upload_size
id213596
size19,068
Wei Zhang (weizhang9)

documentation

README

This is a command line tool to generate random password.

How to install

via crates.io (supports 32-bit & 64-bit Windows, Linux and MacOS)

  1. install Cargo if you haven't already done so.

brew install rust on MacOS will get you rustup and cargo

  1. run cargo install ayu

via downloading binary (supports 64-bit Linux and MacOS and 32-bit & 64-bit Windows)

  1. go to releases section of the repo and download the desired binary
  2. put the binary at your desired location and add the path/to/ayu to your $PATH variable in your .bashrc file

Basic usage

  • Run ayu -h to see all the information.
USAGE:
    ayu [FLAGS] [OPTIONS]

FLAGS:
    -N, --lowercase    Return password in LOWERCASE, invalid if used with UPPERCASE flag -U
    -U, --uppercase    Return password in UPPERCASE, invalid if used with LOWERCASE flag -N
    -h, --help         Prints help information
    -V, --version      Prints version information

OPTIONS:
    -C, --char <CHARSET>    [OPTIONAL] desired password CHARSET
                            Options include:
                            1) Alphanumeric + Special characters (default)
                            2) Alphanumeric
                            3) Alphabetic
                            4) Numberic

    -L, --len <LENGTH>      [OPTIONAL] desired password LENGTH (default: 18)
  • Example:
ayu

This command generates a random password of a length of 18 and it contains alphameric + special charset, which is the default charset.

ayu -L=20 -C=2 -U

This command generates a random password of a length of 20 and it contains uppercase alphameric.

Maintenance and Contribution

This tool is passively maintained. If you encountered an issue or have any suggestions, please submit here. Contributions are always welcome. :)

Commit count: 18

cargo fmt