NAME

Catalyst::Helper::Model::Curio - Helper for creating new Curio Catalyst models.

SYNOPSIS

Usage:

    script/*_create.pl model <model-class> Curio <curio-class> [<curio-key>]

This would create MyApp::Model::Cache:

    script/myapp_create.pl model Cache Curio MyApp::Service::Cache

DESCRIPTIOM

This Catalyst::Helper makes it so you can run a CLI command to create a new Catalyst::Model::Curio model which ties into one of your Curio classes.

Chapter 2 and 3 of the Catalyst::Manual talk a lot about how to use helpers.

OPTIONS

curio-class

This is used as the class configuration option in the model class.

This option is required, if you don't specify it then your model will throw an exception when loaded by Catalyst.

See "class" in Catalyst::Model::Curio for more details.

curio-key

If your Curio class supports keys you may specify a particular key here that the model should only interact with. If you don't specify a key then your model will support all declared keys, not just one.

This is used as the key configuration option in the model class.

See "key" in Catalyst::Model::Curio for more details.

SUPPORT

See "SUPPORT" in Catalyst::Model::Curio.

AUTHORS

See "AUTHORS" in Catalyst::Model::Curio.

COPYRIGHT AND LICENSE

See "COPYRIGHT AND LICENSE" in Catalyst::Model::Curio.