pjkm.tui.app¶
pjkm TUI application — Textual-based wizard interface.
Classes¶
Interactive project builder TUI. |
Functions¶
|
Entry point for the TUI. |
Module Contents¶
- class pjkm.tui.app.PjkmApp[source]¶
Bases:
textual.app.AppInteractive project builder TUI.
- TITLE = 'pjkm'[source]¶
A class variable to set the default title for the application.
To update the title while the app is running, you can set the [title][textual.app.App.title] attribute. See also [the Screen.TITLE attribute][textual.screen.Screen.TITLE].
- SUB_TITLE = 'Project Builder'[source]¶
A class variable to set the default sub-title for the application.
To update the sub-title while the app is running, you can set the [sub_title][textual.app.App.sub_title] attribute. See also [the Screen.SUB_TITLE attribute][textual.screen.Screen.SUB_TITLE].
- set_archetype(name, archetype)[source]¶
- Parameters:
name (str)
archetype (pjkm.core.models.project.Archetype)
- Return type:
None
- show_done(project_dir, success)[source]¶
- Parameters:
project_dir (pathlib.Path)
success (bool)
- Return type:
None