X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FApp.pm;h=61805a4ba6d3d7f44a41e9924074073b43b08a92;hb=c847cceeb2343de57094432e172fba8f9404e312;hp=c867f70b6738a88dfc0ad6c96213015d2ddcc35a;hpb=e1b6fd19f5724ce68ee92aaeae1c0ddf7a6a2561;p=gruntmaster-data.git diff --git a/lib/Gruntmaster/App.pm b/lib/Gruntmaster/App.pm index c867f70..61805a4 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_014'; +our $VERSION = '5999.000_015'; 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__