App-RunCron

 view release on metacpan or  search on metacpan

lib/App/RunCron/CLI.pm  view on Meta::CPAN

use Getopt::Long;
use Pod::Usage;
use Time::Piece;
use YAML::Tiny ();

use App::RunCron;

sub new {
    my ($class, @argv) = @_;

    local @ARGV = @argv;
    my $p = Getopt::Long::Parser->new(
        config => [qw/posix_default no_ignore_case bundling auto_help/],
    );
    $p->getoptions(\my %opt, qw/
        logfile=s
        timestamp
        print
        reporter=s
        error_reporter=s
        common_reporter=s



( run in 0.495 second using v1.01-cache-2.11-cpan-49f99fa48dc )