Massimo, thanks for the post -- it clarifies some of what you said on
09 Nov 2010. I actually revived this thread to see if anyone had
collected these under one interface, e.g.:

web2py_manage --newapp=APPNAME
  Makes a new directory applications/APPNAME and copies scaffolding
there.

web2py_manage --newcontroller=CONTROLLER_NAME [--appname=APPNAME]
  Makes a new file CONTROLLER_NAME.py in applications/$APPNAME/
controllers
  (or . if APPNAME isn't given) and places template code in the new
  file consisting of an index action.
  Makes a new dir applications/APPNAME/views/CONTROLLER_NAME and
places
  a template index.html file in it.

web2py_manage --newmodel=MODEL_NAME [--appname APPNAME]
  Makes a new file MODEL_NAME.py in applications/APPNAME/models
  (or . if APPNAME isn't given) and maybe sticks some template code in
there
  with CRUD and authorization imports.

etc.

I can bash something together in an evening (or py it out as a
learning exercise), but if the wheel already exists ...

Reply via email to