Gen scripts are too verbose

Bug #636729 reported by Matt Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rootin Tootin
Confirmed
High
Unassigned

Bug Description

The gen scripts are too long and the help is too crowded. Right now they look like this:
./gen create noun [singular:user] [plural:users]
./gen create migration [name] [field:type] ...
./gen create scaffold [name] [field:type] ...
    types: boolean, date, datetime, decimal, decimal[18,2]
           float, integer, string, text, time, timestamp
./gen migrate [production|development]
./gen configure [production|development] database [option:value] ...
    options: user, password, host, name
./gen configure [production|development] server [option:value] ...
    options: port, max_waiting_clients, header_max_size,
             ip, directory, httpd, user
./gen create [production|development] database
./gen drop [production|development] database
./gen recreate [production|development] database

It should be broken up into these 6 scripts:

./noun create [singular:user] [plural:users]

./migration create [name] [field:type] ...
    types: boolean, date, datetime, decimal, decimal[18,2],
           float, integer, string, text, time, timestamp

./scaffold create [name] [field:type] ...
    types: boolean, date, datetime, decimal, decimal[18,2],
           float, integer, string, text, time, timestamp

./config_db [production|development] [option:value] ...
    options: user, password, host, name

./config_server [production|development] [option:value] ...
    options: port, max_waiting_clients, header_max_size,
             ip, directory, httpd, user

./db migrate [production|development]
./db [create, drop, recreate] [production|development]

Matt Jones (workhorsy)
description: updated
Matt Jones (workhorsy)
Changed in rester:
milestone: 0.8 → 0.9
Matt Jones (workhorsy)
Changed in rester:
milestone: 0.11 → 0.12
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.