Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
Implement subcommands with OptArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdom committed Feb 24, 2016
1 parent 470864b commit 289ea5c
Show file tree
Hide file tree
Showing 18 changed files with 530 additions and 246 deletions.
5 changes: 3 additions & 2 deletions bin/txtnix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

use strict;
use warnings;
use App::txtnix;
use OptArgs qw/class_optargs/;
my ($class, $opts) = class_optargs('App::txtnix::Cmd');

exit App::txtnix->new()->run(@ARGV);
exit $class->new($opts)->run();

__END__
Expand Down
Loading

0 comments on commit 289ea5c

Please sign in to comment.