use FindBin;
use lib "$FindBin::Bin/../lib";
with 'MooseX::Getopt';
+use MooseX::Types::Moose qw/Str Bool/;
use namespace::autoclean;
+#extends qw(MooseX::App::Cmd);
+
has _app => (
reader => 'app',
init_arg => 'app',
traits => [qw(NoGetopt)],
- isa => 'Str',
+ isa => Str,
is => 'ro',
);
has help => (
traits => [qw(Getopt)],
cmd_aliases => 'h',
- isa => 'Bool',
+ isa => Bool,
is => 'ro',
documentation => qq{ display this help and exits },
);
}
-no Moose;
+
__PACKAGE__->meta->make_immutable;
1;