mirror of
https://github.com/SoPat712/my-portfolio.git
synced 2025-08-21 18:28:46 -04:00
cat cmd reordered
This commit is contained in:
@@ -231,7 +231,7 @@
|
|||||||
const cmd = currentCommand.toLowerCase().trim();
|
const cmd = currentCommand.toLowerCase().trim();
|
||||||
|
|
||||||
if (cmd === "help") {
|
if (cmd === "help") {
|
||||||
output = `Available commands:\n- help: Show this help\n- clear: Clear terminal\n- whoami: Display name\n- ls: List sections\n- cat [section]: View section (projects, experience, education, achievements, skills)\n- contact: Display contact info`;
|
output = `Available commands:\n- help: Show this help\n- clear: Clear terminal\n- whoami: Display name\n- ls: List sections\n- cat [section]: View section (projects, education, achievements, experience, skills)\n- contact: Display contact info`;
|
||||||
} else if (cmd === "clear") {
|
} else if (cmd === "clear") {
|
||||||
terminalHistory = [];
|
terminalHistory = [];
|
||||||
currentCommand = "";
|
currentCommand = "";
|
||||||
|
Reference in New Issue
Block a user