Julián Porta > Jorge-Generator > jorge-generate

Download:
Jorge-Generator-0.03.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

jorge-generate - Generates Jorge based Models

SYNOPSIS ^

Usage:

    jorge-generate [options]

Options:

    --model=ModelName               (required)
    --plural=ModelNames             (optional, defaults to ModelName . 's')
    --fields=fieldName:datatype     (required, repeatable)

Example:

    jorge-generate --model=User \
        --fields=id:pk,name:varchar,email:varchar,date:timestamp,active:bit

DESCRIPTION ^

jorge-generate is a command-line interface to Jorge::Generator, a tool to easy the generation of Jorge based objects.

syntax highlighting: