diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-09 01:55:03 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-09 01:55:03 -0500 |
commit | abcfef5d15e01a6050f72f722027c015c587a5ef (patch) | |
tree | 5b6b7d925b58452da76f8a7ada0e748c003f002b | |
parent | ebe57a624672a4b9f2cdee9f7282dd67b5c97d1d (diff) | |
download | app-hiveminder-abcfef5d15e01a6050f72f722027c015c587a5ef.tar.gz app-hiveminder-abcfef5d15e01a6050f72f722027c015c587a5ef.zip |
add a base class implementation of command() that just throws a usage error
-rw-r--r-- | lib/App/Hiveminder/Command.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/App/Hiveminder/Command.pm b/lib/App/Hiveminder/Command.pm index 8647d35..d6f13df 100644 --- a/lib/App/Hiveminder/Command.pm +++ b/lib/App/Hiveminder/Command.pm @@ -26,5 +26,9 @@ sub run { } } +sub command { + die shift->usage_error("This command is not implemented."); +} + __PACKAGE__->meta()->make_immutable(); 1; |