diff --git a/main.py b/main.py new file mode 100644 index 0000000..11590d6 --- /dev/null +++ b/main.py @@ -0,0 +1,15 @@ +import os +import subprocess + +initDirectory = os.path.dirname(os.path.realpath(__file__)) +currentDirectory = initDirectory +version = "0.0.1" + +while True: + command = input(currentDirectory + " > ") + if command == "pwd": + print(currentDirectory) + elif command == "version": + print(version) + else: + subprocess.run(command) \ No newline at end of file