[NAME]
- The name of the scaffold.*[COLUMN:TYPE]
- The columns/attributes for the model's database table, along with their types (argument can be empty).--no
alias -n
, (Possible values: [h, hs, c, cs, m, ms])h
- Helper filehs
- Helper spec filec
- Controller filecs
- Controller spec filem
- Model filems
- Model spec file--rest
alias -r
, (Default: False)--table
, --no-table
, (Default: True)$ eucalypt g scaffold tweet
$ eucalypt g scaffold tweet text:string likes:integer
$ eucalypt g scaffold tweet -n h hs ms cs
$ eucalypt g scaffold tweet --no-table
$ eucalypt g scaffold tweet -r