Implemented viewing of current directory.

This commit is contained in:
The Wobbler 2025-01-10 19:08:20 +01:00
parent f33e751683
commit 42f2a5f24b

View file

@ -69,6 +69,9 @@ if __name__ == "__main__":
if len(sys.argv) == 1: # use first command line argument when set, else use the module path if len(sys.argv) == 1: # use first command line argument when set, else use the module path
path = module_path path = module_path
elif sys.argv[1] == "-v": # if -v parameter is set, the program will view the current directory
path = os.getcwd()
else: else:
path = sys.argv[1] path = sys.argv[1]