[Bps-public-commit] r17634 - in Prophet/trunk: .

spang at bestpractical.com spang at bestpractical.com
Thu Jan 8 04:47:31 EST 2009


Author: spang
Date: Thu Jan  8 04:47:31 2009
New Revision: 17634

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm

Log:
 r52818 at loki:  spang | 2008-11-30 01:30:39 +0200
 dispatcher rule to make:
     sd publish foo at bar.com:www/baz (for example)
 run with foo at bar.com:www/baz as the --to arg


Modified: Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm	Thu Jan  8 04:47:31 2009
@@ -57,6 +57,11 @@
 on aliases  => run_command("Aliases");
 on export => run_command('Export');
 
+on export => sub {
+    my $self = shift;
+    $self->cli->handle->export_to(path => $self->context->arg('path'));
+};
+
 on push => sub {
     my $self = shift;
 



More information about the Bps-public-commit mailing list