bin/gen in gen-0.28.0 vs bin/gen in gen-0.29.0

- old
+ new

@@ -16,17 +16,26 @@ generators are used to 'bootstrap' development by creating a standard directory structure and files for common tasks. app: This will create some basic files to get you - started fleshing out your Nitro web application. + started fleshing out your Nitro web application. + form: + This will create an html representation of a model. + EXAMPLE - nitrogen app ~/my_application + gen app ~/my_application - This will generate a new Nitro application in the - ~/my_application folder. + This will generate a new Nitro application in the + ~/my_application folder. + + gen form model.rb Model _model.html + + This will generate an html form of the class Model + defined in model.rb. The html form will be output + to _model.html USAGE exit 1 end generator = ARGV.shift || usage() @@ -38,6 +47,6 @@ exit 1 end $generator.generator_dir = File.join(Gen::LibPath, 'gen', generator) $generator.setup -$generator.run \ No newline at end of file +$generator.run