[Bps-public-commit] r16857 - Prophet/trunk/lib/Prophet/CLI

jesse at bestpractical.com jesse at bestpractical.com
Sat Nov 15 22:21:15 EST 2008


Author: jesse
Date: Sat Nov 15 22:21:14 2008
New Revision: 16857

Modified:
   Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm

Log:
* Added a 'version' command to Prophet

Modified: Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI/Dispatcher.pm	Sat Nov 15 22:21:14 2008
@@ -36,6 +36,7 @@
 on [ ['delete', 'del', 'rm'] ]   => run_command("Delete");
 on [ ['search', 'list', 'ls' ] ] => run_command("Search");
 
+on version  => run_command("Version");
 on init     => run_command("Init");
 on clone    => run_command("Clone");
 on merge    => run_command("Merge");
@@ -48,6 +49,8 @@
 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'));



More information about the Bps-public-commit mailing list