$ module-setup Foo::Bar
$ module-setup --init catalyst-action # create a "catalyst actions" flavor
edit for flavor
$ cd ~/.module-setup/flavor/catalyst-action/template && some files edit for catalyst action templates
$ module-setup Foo catalyst-action # create to Catalyst::Action::Foo module
redistribute pack for flavor
$ module-setup --pack MyFlavorCatalystAction catalyst-action > MyFlavorCatalystAction.pm
using redistributed flavor
$ module-setup --direct --flavor-class=+MyFlavorCatalystAction New::Class
importing redistributed flavor
$ module-setup --init --flavor-class=+MyFlavorCatalystAction new_flavor
install additional template
$ module-setup --flavor-class=+MyFlavorCatalystDBIC --additional=DBIC catalyst
redistribute pack for additional template
$ module-setup --pack --additional=DBIC MyFlavorCatalystDBIC catalyst > MyFlavorCatalystDBIC.pm
redistribute pack without additional template
$ module-setup --pack --without-additional MyFlavorCatalyst catalyst > MyFlavorCatalyst.pm
$ module-setup --plugin=VC::Git Foo::Bar # or edit your ~/.module-setup/flavor/foo/config.yaml
Module::Starter is very useful module. However customize of module template is complex.
If Module::Starter::PBP is used, do you solve it?
Yes, but switch of two or more templates is complex.
If Module::Setup is used, switch of template flavor is easy.
flavor customized uniquely becomes the form which can be redistributed by module-setup --pack.
if incorporating Module::Setup in your application, you can make Helper which is well alike of Catalyst::Helper.
Module::Setup considers as possible that it can use as Helper-toolkit for other applications.
but Module::Setup has many dependence modules.
I hear Module::Setup is very not usefl for my application helper tool, because many dependence. well.
The Core function of Module::Setup is split to another distribution in conclusion.
The name considered now is Module::Setup::Core.
It leaves Flavors, Plugins and module-setup script to Module::Setup.
Really required dependence for Core is lessened by this thing.
It develops in <http://github.com/yappo/p5-Module-Setup-Core> and Module::Setups core-branch.