NAME
Haineko::CLI::Password - Utility class for hainekoctl pw
DESCRIPTION
Haineko::CLI::Password provide methods for generating a password used in Basic Authentication like htpasswd
command of Apache.
SYNOPSIS
use Haineko::CLI::Password;
my $p = Haineko::CLI::Password->new();
my $v = '';
$p->parseoptions; # Parse command-line options
$v = $d->make; # Generate password
print $v; # Print the password
INSTANCE METHODS
make()
make()
method update the contents of Haineko/CLI/Setup/Data.pm for setting up files of Haineko. This method will be used by Haineko author only.
my $p = Haineko::CLI::Password->new();
$p->parseoptions;
print $p->make;
validate()
validate()
is a validator of input password.
parseoptions()
parseoptions()
method parse options given at command line and returns the value of run-mode.
help()
help()
prints help message of Haineko::CLI::Password for command line.
SEE ALSO
Haineko::CLI - Base class of Haineko::CLI::Password
"haineoctl" in bin - Script of Haineko::CLI::* implementation
REPOSITORY
https://github.com/azumakuniyuki/Haineko
AUTHOR
azumakuniyuki <perl.org [at] azumakuniyuki.org>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.