-
Notifications
You must be signed in to change notification settings - Fork 1
/
help.txt
30 lines (21 loc) · 1.43 KB
/
help.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Geddy MVC scaffold generator.
Scaffolds a geddy resource for you.
Usage:
geddy gen scaffold create[name,propertyA:datatype,propertyB:datatype,...] --bower engine=... framework=... templates=...
name Name of your view including subdirectories (e.g. users/account)
properties Properties are optional
engine=value Name of the template engine to use (see below for supported engines)
framework=css/js (optional) CSS and JS framework to use.
Separate the frameworks by a "/", the CSS framework beeing the first. e.g. "bootstrap/angular"
See below for a list of supported frameworks.
templates=value (optional) Override path to the templates directory.
The directory must contain add.html.ejs, index.html.ejs, edit.html.ejs, remove.html.ejs and view.html.ejs
-p --public (optional) if set the view will be created in the public/views, instead of the app/views folder
-f --force (optional) use to replace an existing view
--bower (optional) if set it will setup bower (if not done so yet) and install the bower dependencies
Supported Frameworks:
CSS: bootstrap, foundation, none
JS: angular, rivets, none
Supported Engines:
ejs, handlebars, jade, mustache, swig, none
Use "none" only for client side (public) scaffolds