Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
juliandavidmr committed Dec 1, 2016
1 parent 53e366a commit b46f32a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Expand Up @@ -47,13 +47,16 @@ $ sails-inverse-model -g all --name Pet -a "name:string:r owner:string"
```

## Detail #
| # | Param | Description |
|:- | :-------------: | -----------------------------------------: |
| 1 | g | Generate view, model, controller |
| 2 | name | Name of the model, driver, and view folder |
| 3 | a | Content of the element to generate |
| 4 | name:string:r | Name of the attribute : [type of data](#http://sailsjs.com/documentation/concepts/models-and-orm/attributes) : required |

|Param | Description |
|-------------:|:------------------------------------|
|g | Generate view, model, controller |
|name | Name: model, driver, and view folder|
|a | Content of the element to generate |
|name:string:r | Attribute name: data type: required |

Specifies the type of data that will be stored in this attribute. One of:
http://sailsjs.com/documentation/concepts/models-and-orm/attributes

# Generator ##

Expand Down

0 comments on commit b46f32a

Please sign in to comment.