npytabletracker/bin/tabletracker

18 lines
438 B
Python
Executable File

#!/usr/bin/env python3
"""Bootstrap the application and start it."""
import npyscreen
from npytabletracker.ui import TableTrackerDisplay
class TableTrackerApplication(npyscreen.NPSAppManaged):
"""Combine the pieces of the application."""
def onStart(self):
"""Link necessary UI elements and state management and whatnot."""
self.addForm('MAIN', TableTrackerDisplay)
app = TableTrackerApplication()
app.run()