[Bps-public-commit] r16884 - sd/trunk/lib/App/SD/CLI
jesse at bestpractical.com
jesse at bestpractical.com
Mon Nov 17 17:38:14 EST 2008
Author: jesse
Date: Mon Nov 17 17:38:14 2008
New Revision: 16884
Modified:
sd/trunk/lib/App/SD/CLI/Dispatcher.pm
Log:
* Launch the shell from SD if we don't have a command
Modified: sd/trunk/lib/App/SD/CLI/Dispatcher.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Dispatcher.pm (original)
+++ sd/trunk/lib/App/SD/CLI/Dispatcher.pm Mon Nov 17 17:38:14 2008
@@ -11,7 +11,6 @@
# 'sd about' -> 'sd help about', 'sd copying' -> 'sd help copying'
rewrite [ ['about', 'copying'] ] => sub { "help $1" };
-#on '' => run_command('Shell');
under help => sub {
on intro => run_command('Help::Intro');
@@ -91,6 +90,8 @@
redispatch_to('Prophet::CLI::Dispatcher');
+on '' => run_command('Shell');
+
on qr/^(.*)$/ => sub {
my $self = shift;
my $command = $1;
More information about the Bps-public-commit
mailing list