X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FApp.pm;h=427352659c5da5c0bf4ea9a7f9c122b7cd852cad;hb=e1b9f3ddadeb424826cacd6319cd065d9b008e95;hp=f61d145fad0347162455ee8da0e32793bf154d39;hpb=92f74061ec24c7d45c9312ae54280356530f6c8c;p=gruntmaster-data.git diff --git a/lib/Gruntmaster/App.pm b/lib/Gruntmaster/App.pm index f61d145..4273526 100644 --- a/lib/Gruntmaster/App.pm +++ b/lib/Gruntmaster/App.pm @@ -21,7 +21,7 @@ sub global_opt_spec { sub table { shift->global_options->{table} } -Gruntmaster::Data::init $ENV{GRUNTMASTER_DSN} // 'dbi:Pg:'; +dbinit $ENV{GRUNTMASTER_DSN} // 'dbi:Pg:'; 1; __END__ @@ -34,10 +34,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-2015 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