NAME
HiD::App::Command - Base class for HiD commands
SYNOPSIS
package HiD::App::Command::my_awesome_command;
use Moose;
extends 'HiD::App::Command';
sub _run {
my( $self , $opts , $args ) = @_;
# do whatcha like
}
1;
DESCRIPTION
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.
ATTRIBUTES
config_file
Path to config file.
Defaults to './_config.yml'
VERSION
version 0.3
AUTHOR
John SJ Anderson <genehack@genehack.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 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.