[Bps-public-commit] r17516 - Prophet/trunk/lib/Prophet/CLI
jesse at bestpractical.com
jesse at bestpractical.com
Thu Jan 1 21:18:32 EST 2009
Author: jesse
Date: Thu Jan 1 21:18:32 2009
New Revision: 17516
Modified:
Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm
Log:
* Switch the Prophet dispatcher to use a command class for exporting
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 1 21:18:32 2009
@@ -55,11 +55,7 @@
on log => run_command("Log");
on shell => run_command("Shell");
on aliases => run_command("Aliases");
-
-on export => sub {
- my $self = shift;
- $self->cli->handle->export_to(path => $self->context->arg('path'));
-};
+on export => run_command('Export');
on push => sub {
my $self = shift;
More information about the Bps-public-commit
mailing list