cement.ext.ext_generate
Cement generate extension module.
- class cement.ext.ext_generate.Generate(*args: Any, **kw: Any)[source]
Bases:
ArgparseController
- class Meta[source]
Bases:
Meta
- config_section: str = 'generate'
A config [section] to merge config_defaults into. Cement will default to controller.<label> if None is set.
- stacked_on = 'base'
A label of another controller to ‘stack’ commands/arguments on top of.
- stacked_type = 'nested'
Whether to embed commands and arguments within the parent controller’s namespace, or to nest this controller under the parent controller (making it a sub-command). Must be one of
['embedded', 'nested']
.