use 5.014000;
use warnings;
-our $VERSION = '5999.000_004';
+our $VERSION = '5999.000_015';
use App::Cmd::Setup '-app';
use Gruntmaster::Data;
sub table { shift->global_options->{table} }
-Gruntmaster::Data::init $ENV{GRUNTMASTER_DSN} // 'dbi:Pg:';
+sub run {
+ dbinit $ENV{GRUNTMASTER_DSN} // 'dbi:Pg:';
+ shift->SUPER::run(@_);
+}
1;
__END__
=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<gm> script.
+
+=head1 SEE ALSO
+
+L<gm>
+
+=head1 AUTHOR
+
+Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
+
+=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