App-Term2HTML

 view release on metacpan or  search on metacpan

lib/App/Term2HTML.pm  view on Meta::CPAN

        }
        print "</pre>\n";
    }
}

sub _merge_opt {
    my ($config, @argv) = @_;

    GetOptionsFromArray(
        \@argv,
        'is|inline-style' => \$config->{inline_style},
        'h|help'  => sub {
            _show_usage(1);
        },
        'v|version' => sub {
            print "$0 $VERSION\n";
            exit 1;
        },
    ) or _show_usage(2);
}

sub _show_usage {
    my $exitval = shift;

    require Pod::Usage;
    Pod::Usage::pod2usage(-exitval => $exitval);
}

1;

__END__

=head1 NAME

App::Term2HTML - converting colored terminal output to HTML


=head1 SYNOPSIS

    use App::Term2HTML;

    App::Term2HTML->run(@ARGV);


=head1 DESCRIPTION

App::Term2HTML provides L<term2html> command.


=head1 METHOD

=head2 run

execute term2html


=head1 REPOSITORY

=begin html

<a href="http://travis-ci.org/bayashi/App-Term2HTML"><img src="https://secure.travis-ci.org/bayashi/App-Term2HTML.png?_t=1449406825"/></a> <a href="https://coveralls.io/r/bayashi/App-Term2HTML"><img src="https://coveralls.io/repos/bayashi/App-Term2HT...

=end html

App::Term2HTML is hosted on github: L<http://github.com/bayashi/App-Term2HTML>

I appreciate any feedback :D


=head1 AUTHOR

Dai Okabayashi E<lt>bayashi@cpan.orgE<gt>


=head1 SEE ALSO

L<term2html>


=head1 LICENSE

This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself. See L<perlartistic>.

=cut



( run in 1.842 second using v1.01-cache-2.11-cpan-df04353d9ac )