start work on cat

This commit is contained in:
Maxwell 2024-07-03 12:12:07 +10:00
parent c7049880ab
commit 61f64cd0a1

View File

@ -9,7 +9,9 @@ while True:
command = input(currentDirectory + " > ")
if command == "pwd":
print(currentDirectory)
elif command == "cat *":
print("You ran cat")
elif command == "version":
print(version)
else:
subprocess.run(command)
subprocess.run(command)