Updated to be Python3 Based

This commit is contained in:
2020-04-18 14:46:19 -05:00
parent faf287f57b
commit dfe7b2bb63
18 changed files with 938 additions and 20 deletions

19
src/__main__.py Normal file
View File

@@ -0,0 +1,19 @@
# Python imports
import argparse
# Application imports
from __init__ import Main
if __name__ == "__main__":
try:
parser = argparse.ArgumentParser()
# Add long and short arguments
parser.add_argument("--theme", "-t", default="default", help="The theme to use for the menu. (default, orange, red, purple, green)")
# Read arguments (If any...)
args = parser.parse_args()
main = Main(args)
except Exception as e:
print( repr(e) )