betty.cli package¶
Subpackages¶
- betty.cli.commands package
- Submodules
- betty.cli.commands.clear_caches module
- betty.cli.commands.config module
- betty.cli.commands.demo module
- betty.cli.commands.dev_update_translations module
- betty.cli.commands.docs module
- betty.cli.commands.extension_new_translation module
- betty.cli.commands.extension_update_translations module
- betty.cli.commands.generate module
- betty.cli.commands.new module
- betty.cli.commands.new_translation module
- betty.cli.commands.serve module
- betty.cli.commands.update_translations module
- Module contents
- Submodules
Submodules¶
Module contents¶
Provide the Command Line Interface.
- final class betty.cli.ContextAppObject[source]¶
Bases:
object
The running Betty application and it localizer.
- betty.cli.ctx_app_object(ctx: Context) ContextAppObject [source]¶
Get the running application object from a context.
- Parameters:
ctx – The context to get the application from. Defaults to the current context.