John SJ Anderson > HiD-1.5 > HiD::App::Command

Download:
HiD-1.5.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.5   Source  

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 1.5

AUTHOR ^

John SJ Anderson <genehack@genehack.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 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.

syntax highlighting: