1package Minilla::CLI::Run; 2use strict; 3use warnings; 4use utf8; 5 6use Minilla::WorkDir; 7use Minilla::Project; 8 9sub run { 10 my ($self, @args) = @_; 11 12 my $project = Minilla::Project->new(); 13 my $work_dir = $project->work_dir; 14 my $code = $work_dir->run(@args); 15 exit $code; 16} 17 181; 19__END__ 20 21=head1 NAME 22 23Minilla::CLI::Run - Run Arbitrary Commands 24 25=head1 SYNOPSIS 26 27 % minil run ... 28 29=head1 DESCRIPTION 30 31This sub-command allows you to run arbitrary commands on your build directory 32 33=cut 34