INNER CODE UNIT · Python
cli_config
Kohei-Wada/taskdog · packages/taskdog-ui/src/taskdog/tui/app.py:377
def cli_config(self) -> "CliConfig":
"""Public accessor for the CLI configuration."""
return self._cli_config
def __getattr__(self, name: str) -> Any:
"""Dynamically handle action_* methods by delegating to command_factory.
This eliminates the need for 12 nearly-identical action methods.
When Textual calls action_foo(), this method intercepts it and
executes the corresponding "foo" command via command_factory.
Args:
name: Attribute name being accessed
Returns:
Callable that executes the corresponding command
Raises: