Add terminal page #3

Open
nathanwoodburn wants to merge 10 commits from feat/terminal into main
Showing only changes of commit 6657151f81 - Show all commits

View File

@@ -567,8 +567,8 @@ def tree():
@terminal_bp.route("/terminal/execute/<command>", methods=["POST"]) @terminal_bp.route("/terminal/execute/<command>", methods=["POST"])
def execute_catch(command): def execute_catch(command):
try: try:
data = request.get_json() or {} # data = request.get_json() or {}
args = data.get("args", "") # args = data.get("args", "")
# Basic command processing # Basic command processing
if command == "help": if command == "help":