fix: Cleanup help
All checks were successful
Build Docker / BuildImage (push) Successful in 48s

This commit is contained in:
2025-10-27 15:47:02 +11:00
parent 27517ad857
commit 0fdcf435e1

View File

@@ -24,7 +24,7 @@ COMMANDS = {
"rm [file]": "Remove a file", "rm [file]": "Remove a file",
"tree [path]": "Display directory tree", "tree [path]": "Display directory tree",
"touch [file]": "Create a new empty file", "touch [file]": "Create a new empty file",
"nano [file]": "Edit a file (write content)", "nano [file]": "Edit a file",
"reset": "Reset the terminal session", "reset": "Reset the terminal session",
"exit": "Exit the terminal session", "exit": "Exit the terminal session",
} }
@@ -567,7 +567,6 @@ 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:
# Basic command processing # Basic command processing
if command == "help": if command == "help":
output = "Available commands:\n" + \ output = "Available commands:\n" + \