From 8760b79ff27839408cb8d06939558bd97c58eaa4 Mon Sep 17 00:00:00 2001 From: max Date: Wed, 3 Jul 2024 12:39:29 +1000 Subject: [PATCH] dedingusify (delete a file i accientilly made) --- main.py! | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 main.py! diff --git a/main.py! b/main.py! deleted file mode 100644 index a81093d..0000000 --- a/main.py! +++ /dev/null @@ -1,20 +0,0 @@ -import os -import subprocess - -initDirectory = os.path.dirname(os.path.realpath(__file__)) -currentDirectory = initDirectory -version = "0.0.1" - -def grabArgument(fullCommand, commandRan): - fullCommand.replace(commandRan, "") - -while True: - command = input(currentDirectory + " > ") - if command == "pwd": - print(currentDirectory) - elif command == ("cat", *): - grabArgument(command, cat ) - elif command == "version": - print(version) - else: - subprocess.run(command)