From cd2e1e510c50e0ae18ef667f7ed55ad3b70feb82 Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Sun, 29 Mar 2026 22:25:00 +0800 Subject: [PATCH] =?UTF-8?q?help=E5=91=BD=E4=BB=A4=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/Commands/Help/Help.cs | 102 ++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) diff --git a/shell/Commands/Help/Help.cs b/shell/Commands/Help/Help.cs index 4151f53..e2e7289 100644 --- a/shell/Commands/Help/Help.cs +++ b/shell/Commands/Help/Help.cs @@ -50,6 +50,18 @@ namespace CMLeonOS.Commands Description = "Clear screen" }, new CommandInfo + { + Command = "clear", + Parameters = "", + Description = "Clear screen" + }, + new CommandInfo + { + Command = "cls", + Parameters = "", + Description = "Clear screen" + }, + new CommandInfo { Command = "restart", Parameters = "", @@ -86,6 +98,12 @@ namespace CMLeonOS.Commands Description = "Simple calculator" }, new CommandInfo + { + Command = "cal", + Parameters = "[year] [month]", + Description = "Show calendar" + }, + new CommandInfo { Command = "exporttestexe", Parameters = "", @@ -110,6 +128,12 @@ namespace CMLeonOS.Commands Description = "Show command history" }, new CommandInfo + { + Command = "sleep", + Parameters = "", + Description = "Sleep for specified seconds" + }, + new CommandInfo { Command = "background", Parameters = "", @@ -141,6 +165,12 @@ namespace CMLeonOS.Commands SubCommands = new[] { new SubCommandInfo { Command = "", Description = "Tab key inserts 4 spaces" } } }, new CommandInfo + { + Command = "nano", + Parameters = "", + Description = "Open Nano editor" + }, + new CommandInfo { Command = "ls", Parameters = "", @@ -227,6 +257,12 @@ namespace CMLeonOS.Commands Description = "Move/rename file" }, new CommandInfo + { + Command = "rename", + Parameters = " ", + Description = "Rename file or directory" + }, + new CommandInfo { Command = "touch", Parameters = "", @@ -239,6 +275,18 @@ namespace CMLeonOS.Commands Description = "Find file" }, new CommandInfo + { + Command = "tree", + Parameters = "[dir]", + Description = "Show directory tree" + }, + new CommandInfo + { + Command = "tuitree", + Parameters = "[dir]", + Description = "Show TUI tree view" + }, + new CommandInfo { Command = "getdisk", Parameters = "", @@ -312,6 +360,18 @@ namespace CMLeonOS.Commands Description = "Application manager" }, new CommandInfo + { + Command = "diff", + Parameters = " ", + Description = "Compare two files" + }, + new CommandInfo + { + Command = "com", + Parameters = "", + Description = "Execute command script file" + }, + new CommandInfo { Command = "branswe", Parameters = "", @@ -330,6 +390,18 @@ namespace CMLeonOS.Commands Description = "Hexadecimal file editor" }, new CommandInfo + { + Command = "markit", + Parameters = "", + Description = "Open MarkIt document in shell renderer" + }, + new CommandInfo + { + Command = "runbin", + Parameters = "", + Description = "Run MSE binary file" + }, + new CommandInfo { Command = "ping", Parameters = "", @@ -384,6 +456,12 @@ namespace CMLeonOS.Commands Description = "Show current username" }, new CommandInfo + { + Command = "hostname", + Parameters = "[new_name]", + Description = "Show or set hostname" + }, + new CommandInfo { Command = "base64", Parameters = "encrypt ", @@ -451,6 +529,30 @@ namespace CMLeonOS.Commands Parameters = "", Description = "Show help page (1-5)", SubCommands = new[] { new SubCommandInfo { Command = "help all", Description = "Show all help pages" } } + }, + new CommandInfo + { + Command = "ftp", + Parameters = "", + Description = "Start FTP service" + }, + new CommandInfo + { + Command = "logs", + Parameters = "", + Description = "Show system logs" + }, + new CommandInfo + { + Command = "testgui", + Parameters = "", + Description = "Run GUI test" + }, + new CommandInfo + { + Command = "testtui", + Parameters = "", + Description = "Run TUI test" } };