NAME
App::Starter - App Starter
SYNPSYS
my $app = App::Starter->new( { config => ' /home/tomyhero/work/App-Starter/conf/config.yml' } )->create;
# or
# from = 'tmp/a' , replace => { module => 'MyApp' } overwrite config.yml setting.
my $app = App::Starter->new( { config => ' /home/tomyhero/work/App-Starter/conf/config.yml' , from => '/tmp/a' , name => 'my_app' , replace => { module => 'MyApp' } } )->create;
# or even you can use ~/.app-sterter
#~/.app-starter
#|-- conf
#| `-- sample.conf
#`-- skel
# `-- sample
# |-- bin
# | `-- __app__.pl
# `-- lib
# `-- __app__
# `-- Foo.pm
my $app = App::Starter->new( { template => 'sample' , name =>'foo' } )->create;
DESCRIPTION
you can start your application quickly once you craete skelton with this module. This module only does is rename key to value. in your template file , you can set like this [% key_name %] which replace with value you set in config. and also you can use __key_name__ format as file or directory name which replace as rule you set at config
CONFIG
name : my_app # ${current_dir}/my_app is created as new appication skelton
from : /foo/bar/my-skell # where to fine your skel setup. if you use ~/.app-starter then you do not need this.
tag_style : star # SEE ALSO L<Template> TAG_STYLE OPTION
ignore : # you want to ignore some of files or directories
- \.svn
- \.cvs
replace : # rule for replace key : value
module : MyApp
METHODS
new
constractor
create
create starter dir
AUTHOR
Tomohiro Teranishi<tomohiro.teranishi@gmail.com>
dann