summaryrefslogtreecommitdiffstats
path: root/lib/App/Hiveminder/Command.pm
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-05-08 20:56:05 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-05-08 20:56:05 -0500
commit2c7c1434ce31811e188c290480d6a89d7fae7a5e (patch)
tree5d1a4b544aa1c77988ad13e8768b5b1bfeb3cee3 /lib/App/Hiveminder/Command.pm
parenta470747864e9774c512e611ecc39e389c242af80 (diff)
downloadapp-hiveminder-2c7c1434ce31811e188c290480d6a89d7fae7a5e.tar.gz
app-hiveminder-2c7c1434ce31811e188c290480d6a89d7fae7a5e.zip
duh...
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;