summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-05-09 02:30:34 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-05-09 02:30:34 -0500
commitfee5cd9a09125b2f0c993e95f928821f77f936d6 (patch)
tree2f8c2a687e6fc35523bcdbc8818d8a9fe552b606
parent088ce6109b41ca38c471a730b3dbac28ac45d1be (diff)
downloadapp-hiveminder-fee5cd9a09125b2f0c993e95f928821f77f936d6.tar.gz
app-hiveminder-fee5cd9a09125b2f0c993e95f928821f77f936d6.zip
add some more command aliases
-rw-r--r--lib/App/Hiveminder/Command/Create.pm2
-rw-r--r--lib/App/Hiveminder/Command/List.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/App/Hiveminder/Command/Create.pm b/lib/App/Hiveminder/Command/Create.pm
index cca1ea6..25b1a0b 100644
--- a/lib/App/Hiveminder/Command/Create.pm
+++ b/lib/App/Hiveminder/Command/Create.pm
@@ -11,6 +11,8 @@ App::Hiveminder::Command::Create - Create a new task
=cut
+sub command_names { qw/create c/ }
+
sub command {
my ($self, $args) = @_;
$args = join " ", @$args;
diff --git a/lib/App/Hiveminder/Command/List.pm b/lib/App/Hiveminder/Command/List.pm
index 337adf6..e7746a6 100644
--- a/lib/App/Hiveminder/Command/List.pm
+++ b/lib/App/Hiveminder/Command/List.pm
@@ -10,7 +10,7 @@ App::Hiveminder::Command::List - List tasks
=cut
-sub command_names { qw/list ls/ }
+sub command_names { qw/list ls find/ }
sub command {
my ($self, $args) = @_;