INNER CODE UNIT · Python
run_backup
Kohei-Wada/taskdog · packages/taskdog-ui/src/taskdog/tui/app.py:517
def run_backup(self) -> None:
"""Back up the database to a file.
Called from the Command Palette via BackupCommandProvider.
"""
self.command_factory.execute("backup")
def search_help(self) -> None:
"""Show the help screen with keybindings and usage instructions."""
self.command_factory.execute("show_help")
def search_stats(self) -> None:
"""Show the statistics dashboard."""
self.command_factory.execute("stats")
def _refresh_mode_badges(self) -> None:
"""Refresh the footer mode badges to reflect current toggle/sort state."""
if self.main_screen and self.main_screen.custom_footer: