Julián Porta

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.