This repository has been archived on 2022-12-03. You can view files and clone it, but cannot push or open issues or pull requests.
texty/__main__.py
2021-11-26 22:13:30 +01:00

17 lines
331 B
Python

from sys import argv
from game import *
from colorama import init
def main():
init()
if len(argv)<2:
print("You need to specify a path to a YAML file")
exit(1)
else:
game = load(argv[1])
if(game is None):
exit(1)
game.printme()
if __name__ == "__main__":
main()