#!/usr/bin/env perl

use strict;
use warnings;

use App::Perl::Module::Examples;

our $VERSION = 0.02;

# Run.
exit App::Perl::Module::Examples->new->run;

# Print version.
sub VERSION_MESSAGE {
	print $VERSION."\n";
	exit 0;
}

__END__

=pod

=encoding utf8

=head1 NAME

perl-module-examples - Tool for creating examples from Perl module POD documentation.

=head1 SYNOPSIS

 perl-module-examples [-d] [-h] [--version]

=head1 DESCRIPTION

Tool to create examples/ directory in Perl distribution, which is generated by
L<Pod::Example> from *.pm modules.

=head1 ARGUMENTS

=over 8

=item * C<-d>

Turn on debug mode.

=item * C<-h>

Print help.

=item * C<--version>

Print version of script.

=back

=head1 EXAMPLE

 perl-module-examples -h

=head1 REPOSITORY

L<https://github.com/michal-josef-spacek/App-Perl-Module-Examples>

=head1 AUTHOR

Michal Josef Špaček L<mailto:skim@cpan.org>

L<http://skim.cz>

=head1 LICENSE AND COPYRIGHT

© 2012-2023 Michal Josef Špaček

BSD 2-Clause License

=head1 VERSION

0.02

=cut
