X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FApp.pm;h=4a93a163d6bc8849fc1006ed6b715ab3b6413c75;hb=b35cbc0d6ca5baf03ffbeb2b9a375fa71f4d0ad3;hp=f2069284c6b5f53738540a3bdefdb14629be06cf;hpb=6fb81f9a1055a50a04818371efe8143d3fc1ab04;p=gruntmaster-data.git diff --git a/lib/Gruntmaster/App.pm b/lib/Gruntmaster/App.pm index f206928..4a93a16 100644 --- a/lib/Gruntmaster/App.pm +++ b/lib/Gruntmaster/App.pm @@ -3,7 +3,7 @@ package Gruntmaster::App; use 5.014000; use warnings; -our $VERSION = '5999.000_004'; +our $VERSION = '5999.000_016'; use App::Cmd::Setup '-app'; use Gruntmaster::Data; @@ -21,7 +21,10 @@ sub global_opt_spec { sub table { shift->global_options->{table} } -dbinit $ENV{GRUNTMASTER_DSN} // 'dbi:Pg:'; +sub run { + dbinit $ENV{GRUNTMASTER_DSN} // 'dbi:Pg:'; + shift->SUPER::run(@_); +} 1; __END__ @@ -34,10 +37,29 @@ Gruntmaster::App - command-line interface to the Gruntmaster 6000 database =head1 SYNOPSIS - + use Gruntmaster::App; + Gruntmaster::App->run; =head1 DESCRIPTION +Gruntmaster::App is a command-line interface to the Gruntmaster 6000 +database. It is the backend of the B script. + +=head1 SEE ALSO + +L + +=head1 AUTHOR + +Marius Gavrilescu, Emarius@ieval.roE + +=head1 COPYRIGHT AND LICENSE + +Copyright (C) 2014-2016 by Marius Gavrilescu + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself, either Perl version 5.20.1 or, +at your option, any later version of Perl 5 you may have available. =cut