projects
/
gitmo/MooseX-Runnable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
pass parsed arg object to Invocation when using mx-run
[gitmo/MooseX-Runnable.git]
/
lib
/
MooseX
/
Runnable
/
Invocation
/
Role
/
WithParsedArgs.pm
diff --git a/lib/MooseX/Runnable/Invocation/Role/WithParsedArgs.pm
b/lib/MooseX/Runnable/Invocation/Role/WithParsedArgs.pm
new file mode 100644
(file)
index 0000000..
420839f
--- /dev/null
+++ b/
lib/MooseX/Runnable/Invocation/Role/WithParsedArgs.pm
@@ -0,0
+1,11
@@
+package MooseX::Runnable::Invocation::Role::WithParsedArgs;
+use Moose::Role;
+use MooseX::Runnable::Util::ArgParser;
+
+has 'parsed_args' => (
+ is => 'ro',
+ isa => 'MooseX::Runnable::Util::ArgParser',
+ required => 1,
+);
+
+1;