NAME

App::SimulateReads::CLI::App - App::SimulateReads::CLI subclass for command line application interface.

VERSION

version 0.15

SYNOPSIS

extends 'App::SimulateReads::CLI::App';

DESCRIPTION

This is the base interface to application class. Classes need to override command_map method to provide command arguments

METHODS

command_stack

This method returns a stach with commands and subcommands

app_path

This method returns the application class path

command_map_bultin

This method retuns a hash with bultin command

command_map

This method needs to be override by child to provide command arguments. It is expected to return a hash

error

This method prints a formatted error message

help_command

This method calls help message to the command up in the command_stack. If no command was passed, it calls help message to the app itself. Help messages are in pod format inside the app, command classes

man_command

This method calls man message to the command up in the command_stack. If no command was passed, it calls man message to the app itself. Man messages are in pod format inside the app, command classes

run_no_command

This method runs app options, those defined in opt_spec method

run_command

This method checkes command_stack and executes the command up mathods validate_args, validate_opts and execute

run

This method checks the arguments passed to the application and call the appropriate methods run_no_command, run_command or help_command/man_command

SEE ALSO

AUTHOR

Thiago L. A. Miller <tmiller@mochsl.org.br>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Teaching and Research Institute from Sírio-Libanês Hospital.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007