summaryrefslogtreecommitdiffstats
path: root/lib/App/Hiveminder/Base.pm
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-05-08 20:48:44 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-05-08 20:48:44 -0500
commita470747864e9774c512e611ecc39e389c242af80 (patch)
tree30063b26061f48358d747977a77e308f07192655 /lib/App/Hiveminder/Base.pm
downloadapp-hiveminder-a470747864e9774c512e611ecc39e389c242af80.tar.gz
app-hiveminder-a470747864e9774c512e611ecc39e389c242af80.zip
initial framework, the create command works
Diffstat (limited to 'lib/App/Hiveminder/Base.pm')
-rw-r--r--lib/App/Hiveminder/Base.pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/App/Hiveminder/Base.pm b/lib/App/Hiveminder/Base.pm
new file mode 100644
index 0000000..7f40483
--- /dev/null
+++ b/lib/App/Hiveminder/Base.pm
@@ -0,0 +1,13 @@
+#!/usr/bin/perl
+package App::Hiveminder::Base;
+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;