Jesse Vincent > Jifty > Jifty::Script::Model

Download:
Jifty-0.70824.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  13
Open  4
Stalled  1
View/Report Bugs
Source   Latest Release: Jifty-1.10518

NAME ^

Jifty::Script::Model - Add a model class to your Jifty application

DESCRIPTION ^

This creates a skeleton of a new model class for your jifty application, complete with a skeleton of a test suite for it, as well.

API ^

options

There are only two possible options to this script:

--name NAME (required)

Name of the model class.

--force

By default, this will stop and warn you if any of the files it is going to write already exist. Passing the --force flag will make it overwrite the files.

run

Creates a skeleton file under lib/ApplicationClass/Model/Model, as well as a skeleton tests file.

DESCRIPTION ^

A basic test harness for the $model model.

syntax highlighting: