[Bps-public-commit] r17306 - sd/trunk/lib/App/SD/CLI/Command

jesse at bestpractical.com jesse at bestpractical.com
Mon Dec 22 19:29:23 EST 2008


Author: jesse
Date: Mon Dec 22 19:29:23 2008
New Revision: 17306

Modified:
   sd/trunk/lib/App/SD/CLI/Command/Shell.pm

Log:
* use the new project name property

Modified: sd/trunk/lib/App/SD/CLI/Command/Shell.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command/Shell.pm	(original)
+++ sd/trunk/lib/App/SD/CLI/Command/Shell.pm	Mon Dec 22 19:29:23 2008
@@ -3,8 +3,9 @@
 extends 'Prophet::CLI::Command::Shell';
 
 sub preamble {
+    my $self = shift;
     return join "\n",
-        "SD ($App::SD::VERSION; Prophet $Prophet::VERSION)",
+        "SD for ".$self->app_handle->setting( label => 'project_name' )->get()->[0]." ($App::SD::VERSION; Prophet $Prophet::VERSION)",
         'Type "help", "about", or "copying" for more information.',
 }
 



More information about the Bps-public-commit mailing list