start work on cat
This commit is contained in:
parent
c7049880ab
commit
61f64cd0a1
4
main.py
4
main.py
|
@ -9,7 +9,9 @@ while True:
|
||||||
command = input(currentDirectory + " > ")
|
command = input(currentDirectory + " > ")
|
||||||
if command == "pwd":
|
if command == "pwd":
|
||||||
print(currentDirectory)
|
print(currentDirectory)
|
||||||
|
elif command == "cat *":
|
||||||
|
print("You ran cat")
|
||||||
elif command == "version":
|
elif command == "version":
|
||||||
print(version)
|
print(version)
|
||||||
else:
|
else:
|
||||||
subprocess.run(command)
|
subprocess.run(command)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user