Introduce `Application` class and reorganize module structure
This commit is contained in:
parent
d8e9efd73a
commit
7a75126708
|
|
@ -0,0 +1,5 @@
|
||||||
|
from metar_navigate.application import Application
|
||||||
|
from metar_navigate.command import main
|
||||||
|
|
||||||
|
|
||||||
|
__all__ = ["Application", "main"]
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
class Application:
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
def run(self):
|
||||||
|
pass
|
||||||
|
|
@ -1,2 +1,5 @@
|
||||||
|
from metar_navigate import Application
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
app = Application()
|
||||||
print("Hello World")
|
print("Hello World")
|
||||||
Loading…
Reference in New Issue