start work on cat
This commit is contained in:
2
main.py
2
main.py
@@ -9,6 +9,8 @@ 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:
|
||||||
|
Reference in New Issue
Block a user