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

15 lines
252 B
Python
Raw Normal View History

2021-11-02 17:40:54 +01:00
from sys import argv
from loader import *
def main():
if len(argv)<2:
print("You need to specify a path to a YAML file")
exit(1)
else:
game = load(argv[1])
game.printme()
if __name__ == "__main__":
main()