First "release"
This commit is contained in:
parent
c9ccc590a7
commit
c7049880ab
15
main.py
Normal file
15
main.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
import os
|
||||
import subprocess
|
||||
|
||||
initDirectory = os.path.dirname(os.path.realpath(__file__))
|
||||
currentDirectory = initDirectory
|
||||
version = "0.0.1"
|
||||
|
||||
while True:
|
||||
command = input(currentDirectory + " > ")
|
||||
if command == "pwd":
|
||||
print(currentDirectory)
|
||||
elif command == "version":
|
||||
print(version)
|
||||
else:
|
||||
subprocess.run(command)
|
Loading…
Reference in New Issue
Block a user