class Randpass::Cli

Defined in:

randpass/cli.cr

Constant Summary

USAGE = "Usage: randpass [length] [charsets] [count] | [option]\n\nPassword options:\n length length of password (integer)\n charsets charsets passwords use (string)\n count passwords to be generated (int followed by x)\n\n NOTE: Password options can be specified in any order.\n\nOptions:\n --charsets, -c show charsets\n --help, -h show this help\n --version, -v show version\n"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(args : Array(String), io : IO = STDOUT) #

[View source]

Class Method Detail

def self.run(args = ARGV) #

[View source]

Instance Method Detail

def run #

[View source]