[Teton] Add a help command.

This commit is contained in:
Drew Galbraith 2023-11-26 13:53:22 -08:00
parent 57947fb5dd
commit 7d7cb8024c
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@ void Terminal::HandleCharacter(char c) {
}
void Terminal::ExecuteCommand(const glcr::String& command) {
if (command == "cwd") {
if (command == "help") {
console_.WriteString("Available Commands: cwd\n");
} else if (command == "cwd") {
console_.WriteString(cwd_);
console_.WriteChar('\n');
} else {