From abcfef5d15e01a6050f72f722027c015c587a5ef Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Fri, 9 May 2008 01:55:03 -0500 Subject: add a base class implementation of command() that just throws a usage error --- lib/App/Hiveminder/Command.pm | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3