Upload files to ''
This commit is contained in:
parent
729bc0c852
commit
712c1e33bf
|
@ -0,0 +1,40 @@
|
|||
# PCLISH 0.8-DEV Build 8826
|
||||
# This is a dev build, for more stability get a stable version
|
||||
|
||||
# Configuration
|
||||
PROMPT = "$ " # Change this to change how your prompt looks
|
||||
VERBOSE = "false" # Change this to true for startup verbose
|
||||
|
||||
# Initialization
|
||||
if VERBOSE == "true":
|
||||
print("pclish 0.8-DEV Build 8826")
|
||||
print("Loading plugins...")
|
||||
print("Loading configs...")
|
||||
print("Welcome to pclish")
|
||||
|
||||
# Plugins -- Make sure to import your plugins
|
||||
# Plugins are meant to add functionality not add commands. To add a command to the shell, import the python script under the binaries section
|
||||
# from <plugins.plugin> import *
|
||||
|
||||
# The code below is the shell's functionality, be careful here.
|
||||
|
||||
# The prompt
|
||||
def SHOW_PROMPT():
|
||||
while 1:
|
||||
print(PROMPT)
|
||||
CMD = input("")
|
||||
|
||||
SHOW_PROMPT()
|
||||
|
||||
# Binaries
|
||||
# Import python scripts to integrate them with the shell
|
||||
# from bin.file import *
|
||||
from bin.oscmd import *
|
||||
from bin.help import *
|
||||
from bin.echo import *
|
||||
|
||||
# Command interpretation
|
||||
os.system("bin/", + CMD + ".py")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue