The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::StaticImageGallery - Static Image Gallery

VERSION

version 0.002

SYNOPSIS

    ./bin/sig [command] [options]

COMMANDS

build [dir]

Create image gallery

Dir: Working directory, direcotry with the images. Write html pages and thumbnails into this directory.

imager_formats

List all available image formats

init

Initila App-StaticImageGallery

list_styles

List all available styles and there source

clean

Remove all image gallery files

rebuild

Run command clean and build.

OPTIONS

--style|-s

Default: Simple

Set the style/theme.

--help|-h

Print a brief help message and exits.

-v

Verbose mode, more v more output...

--quiet|-q

Quite mode

--no-recursive

Disabled recursiv mode

METHODS

new_with_options
config

Returns the config hashref, at the moment the configuration is hardcode in StaticImageGallery.pm

msg

If not in quite mode, print message to STDOUT.

msg_error

Print message at any time to STDERR.

msg_verbose
msg_warning

Print message at any time to STDERR.

opt

Returns the Getopt::Lucid object.

run
cmd_build

Command build

cmd_clean

Command clean

cmd_name

Name of the current command

TODO

  • Documentation

  • Sourcecode cleanup

  • Write Dispatcher

        App::StaticImageGallery::Style::Source::Dispatcher
  • App::StaticImageGallery::Image line: 31, errorhandling

  • Test unsupported format

  • Added config file support ( App::StaticImageGallery->config )

  • Write App::StaticImageGallery::Style::Source::FromDir

  • Add config file ~/.sig/config.ini

COPYRIGHT & LICENSE

Copyright 2010 Robert Bohne.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

AUTHOR

Robert Bohne, <rbo at cpan.org>