summaryrefslogtreecommitdiffstats
path: root/lib/App/Hiveminder/Command.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App/Hiveminder/Command.pm')
-rw-r--r--lib/App/Hiveminder/Command.pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/App/Hiveminder/Command.pm b/lib/App/Hiveminder/Command.pm
new file mode 100644
index 0000000..4d76dd1
--- /dev/null
+++ b/lib/App/Hiveminder/Command.pm
@@ -0,0 +1,13 @@
+#!/usr/bin/perl
+package App::Hiveminder::Command;
+use Moose;
+use Net::Hiveminder;
+extends 'MooseX::App::Cmd::Command';
+
+has hm => (
+ isa => 'Net::Hiveminder',
+ is => 'ro',
+ default => sub { Net::Hiveminder->new(use_config => 1) },
+);
+
+1;