summaryrefslogtreecommitdiff
path: root/lib/Getopt/Dakkar.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Getopt/Dakkar.pm')
-rw-r--r--lib/Getopt/Dakkar.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Getopt/Dakkar.pm b/lib/Getopt/Dakkar.pm
index f35147b..1432987 100644
--- a/lib/Getopt/Dakkar.pm
+++ b/lib/Getopt/Dakkar.pm
@@ -7,3 +7,7 @@ use Module::Runtime qw(use_module);
with 'Getopt::Dakkar::Role::Command';
has '+name' => ( default => $0 );
+
+sub go($self,$args=\@ARGV) {
+ return $self->parse($args,undef);
+}