From 9ac13c2a3117f44edb71066a6ff717a782ab3209 Mon Sep 17 00:00:00 2001 From: echo <91651232+exhq@users.noreply.github.com> Date: Sun, 28 Aug 2022 17:29:50 +0430 Subject: BLAHAJ and actual help command --- console/src/jsMain/kotlin/main.kt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'console/src/jsMain') diff --git a/console/src/jsMain/kotlin/main.kt b/console/src/jsMain/kotlin/main.kt index a607e69..4dc550e 100644 --- a/console/src/jsMain/kotlin/main.kt +++ b/console/src/jsMain/kotlin/main.kt @@ -44,5 +44,36 @@ fun main() { console.registerCommand(defaultCdCommand("cd")) console.registerCommand(defaultCatCommand("cat")) console.registerCommand(defaultCwdCommand("cwd", "pwd")) + console.registerCommand(command("help", "?"){ + console.addMultilineText(""" + ls - lists stuff in current directory + cd - move to another directory + cat - open files + pwd - shows current directory + """.trimIndent()) + + }) + console.registerCommand(command("blahaj", "shark"){ + console.addMultilineText(""" + ,(((/ + /((((( + ((((#(( (// + (((((((. *(((/ + /(######/ *((((/ + *//%#####((/ ((#((/ + ,*/********/////////////////(//* (%* ,((##(( + ,*/((///(//////////((/(///////(/////(////*,(*#((/(/((//////###(###(/( + /(((((((//((///((////((((((/(((((((((((((((((/(((##((#%(##(/((///*(&#(##/ + /#((%(#(((((//#((((((((((((((((((((((((#(((((((((((/##(((((//((//* ####(/ + (((###(###(#(#####(###############((#((((((((/((//(((#/(///// ,, + ,(###%####%&%#############(#(#(####(((((((/(((/////*//, + . .....*#(#######(((###(#(##(##(((/(/(/////, + .. ....,..........,..*#%#######/( + .. .............,*%%%%#%((((/ + **,,,****//*(##((###(#((( + &#(#/#((((((((# + """.trimIndent()) + }) + } \ No newline at end of file -- cgit