From 61f64cd0a1befad39e1212d645a63c5abcba22b0 Mon Sep 17 00:00:00 2001 From: max Date: Wed, 3 Jul 2024 12:12:07 +1000 Subject: [PATCH] start work on cat --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 11590d6..0f5ca83 100644 --- a/main.py +++ b/main.py @@ -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) \ No newline at end of file + subprocess.run(command)