[Bps-public-commit] r16439 - in Prophet/branches/dispatcher: lib/Prophet/CLI

sartak at bestpractical.com sartak at bestpractical.com
Tue Oct 21 13:54:16 EDT 2008


Author: sartak
Date: Tue Oct 21 13:54:15 2008
New Revision: 16439

Modified:
   Prophet/branches/dispatcher/   (props changed)
   Prophet/branches/dispatcher/lib/Prophet/CLI/Shell.pm

Log:
 r74297 at onn:  sartak | 2008-10-21 13:54:10 -0400
 Have Shell use the Parameters role instead of redefining its own cli attribute


Modified: Prophet/branches/dispatcher/lib/Prophet/CLI/Shell.pm
==============================================================================
--- Prophet/branches/dispatcher/lib/Prophet/CLI/Shell.pm	(original)
+++ Prophet/branches/dispatcher/lib/Prophet/CLI/Shell.pm	Tue Oct 21 13:54:15 2008
@@ -1,6 +1,7 @@
 #!/usr/bin/env perl
 package Prophet::CLI::Shell;
 use Moose;
+with 'Prophet::CLI::Parameters';
 
 has name => (
     is => 'ro',
@@ -22,12 +23,6 @@
     },
 );
 
-has cli => (
-    is       => 'ro',
-    isa      => 'Prophet::CLI',
-    required => 1,
-);
-
 our $HIST = $ENV{PROPHET_HISTFILE}
         || (($ENV{HOME} || (getpwuid($<))[7]) . "/.prophetreplhist");
 our $LEN = $ENV{PROPHET_HISTLEN} || 500;



More information about the Bps-public-commit mailing list