| 1 | #!/usr/bin/env perl | ||
| 2 | |||
| 3 | our $VERSION = '1.001'; # VERSION | ||
| 4 | # PODNAME: snig.pl | ||
| 5 | # ABSTRACT: Generate a html image gallery from a directory of images | ||
| 6 | |||
| 7 | use Getopt::Long qw( GetOptions ); | ||
| 8 | use Log::Any::Adapter ( split(/\s+/, ($ENV{LOGADAPTER} || 'Stderr')), log_level => $ENV{LOGLEVEL} || 'info' ); | ||
| 9 | use Log::Any qw($log); | ||
| 10 | |||
| 11 | use Snig; | ||
| 12 | |||
| 13 | my %opts = ( force => []); | ||
| 14 | GetOptions( \%opts, qw(name:s th_size:s detail_size:s sort_by:s input:s output:s force:s@)); | ||
| 15 | |||
| 16 | Snig->new( %opts )->run; | ||
| 17 | |||
| 18 | __END__ |