instead of using MI, compose a role which brings in the same Inheritable behaviour
[catagits/Catalyst-Runtime.git] / lib / Catalyst / ScriptRole.pm
index 50949c7..4bab785 100644 (file)
@@ -14,6 +14,7 @@ coerce 'Catalyst::ScriptRole::LoadableClass',
   via { ensure_class_loaded($_); 1 };
 
 with 'MooseX::Getopt' => {
+    -version => 0.48,
     -excludes => [qw/
         _getopt_spec_warnings
         _getopt_spec_exception
@@ -123,6 +124,10 @@ Role with the common functionality of Catalyst scripts.
 
 The method invoked to run the application.
 
+=head2 print_usage_text
+
+Prints out the usage text for the script you tried to invoke.
+
 =head1 ATTRIBUTES
 
 =head2 application_name