HiD::App::Command - Base class for HiD commands
package HiD::App::Command::my_awesome_command; use Moose; extends 'HiD::App::Command'; sub _run { my( $self , $opts , $args ) = @_; # do whatcha like } 1;
Base class for implementing subcommands for hid. Provides basic attributes like --config_file. If you're going to write a sub-command, you want to base it on this class.
--config_file
Path to config file.
Defaults to './_config.yml'
Clear out the existing HiD object attribute, generate a fresh one with the stored configuration information, and return it.
version 1.991
John SJ Anderson <genehack@genehack.org>
This software is copyright (c) 2015 by John SJ Anderson.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install HiD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HiD
CPAN shell
perl -MCPAN -e shell install HiD
For more information on module installation, please visit the detailed CPAN module installation guide.