cubicweb #1436273 cubicweb-ctl newcube improvements [open]

a few things I'd like to see in cubicweb-ctl newcube

  • an option to generate a views, entities and hooks as subpackages rather than modules
  • some additional boilerplate code in the generated python modules (e.g. in entities.py, generate the import of AnyEntity and fetch_config, in views.py generate the import of is_instance, and the base primary view class, in hooks.py Hook, Operation, is_instance and match_rtype, in schema.py the standard buildobjs, maybe some constraints).

I feel this would ease the life of newcomers and should not be considered invasive for experienced cw developers.

prioritynormal
typeenhancement
done in<not specified>
closed by<not specified>