16 lines
444 B
Plaintext
16 lines
444 B
Plaintext
|
#!/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()
|