The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

NAME

HiD::App::Command - Base class for HiD commands

SYNOPSIS

use Moose;
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'

METHODS

reset_hid

Clear out the existing HiD object attribute, generate a fresh one with the stored configuration information, and return it.

VERSION

version 1.992

AUTHOR

John SJ Anderson <genehack@genehack.org>

COPYRIGHT AND LICENSE

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.