[Bps-public-commit] r16082 - in Prophet/branches/dispatcher: . lib/Prophet/CLI

sartak at bestpractical.com sartak at bestpractical.com
Thu Sep 25 18:48:48 EDT 2008


Author: sartak
Date: Thu Sep 25 18:48:47 2008
New Revision: 16082

Removed:
   Prophet/branches/dispatcher/lib/Prophet/CLI/Command/Config.pm
Modified:
   Prophet/branches/dispatcher/   (props changed)
   Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm

Log:
 r72498 at onn:  sartak | 2008-09-25 18:40:57 -0400
 export command


Modified: Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm
==============================================================================
--- Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm	(original)
+++ Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm	Thu Sep 25 18:48:47 2008
@@ -132,6 +132,11 @@
     }
 };
 
+on export => sub {
+    my $self = shift;
+    $self->cli->handle->export_to( path => $self->context->arg('path') );
+};
+
 # catch-all. () makes sure we don't hit the annoying historical feature of
 # the empty regex meaning the last-used regex
 on qr/()/ => sub {



More information about the Bps-public-commit mailing list