Add entrypoint
This commit is contained in:
parent
643d70bd20
commit
a934589c4f
14
sllo/Main.py
14
sllo/Main.py
|
@ -0,0 +1,14 @@
|
|||
from sllo.Classes import Interface
|
||||
|
||||
|
||||
def main() -> None:
|
||||
interface = Interface()
|
||||
try:
|
||||
interface.open()
|
||||
except ValueError as error:
|
||||
print(f"\n{error}")
|
||||
interface.help()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Loading…
Reference in New Issue