Haineko::CLI::Password - Utility class for hainekoctl pw
hainekoctl pw
Haineko::CLI::Password provide methods for generating a password used in Basic Authentication like htpasswd command of Apache.
htpasswd
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
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() method parse options given at command line and returns the value of run-mode.
parseoptions()
help()
help() prints help message of Haineko::CLI::Password for command line.
Haineko::CLI - Base class of Haineko::CLI::Password
"haineoctl" in bin - Script of Haineko::CLI::* implementation
https://github.com/azumakuniyuki/Haineko
azumakuniyuki <perl.org [at] azumakuniyuki.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Haineko, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Haineko
CPAN shell
perl -MCPAN -e shell install Haineko
For more information on module installation, please visit the detailed CPAN module installation guide.