diff options
author | echo <91651232+exhq@users.noreply.github.com> | 2022-08-28 17:29:50 +0430 |
---|---|---|
committer | echo <91651232+exhq@users.noreply.github.com> | 2022-08-28 17:29:50 +0430 |
commit | 9ac13c2a3117f44edb71066a6ff717a782ab3209 (patch) | |
tree | 348f06982bc42b0802b6a1ccdc3fee96be69e886 /console/src/jsMain | |
parent | 46f3b3d5cb327abcbed3f5ad8b34ee006c98dfad (diff) | |
download | exhq.github.io-9ac13c2a3117f44edb71066a6ff717a782ab3209.tar.gz exhq.github.io-9ac13c2a3117f44edb71066a6ff717a782ab3209.tar.bz2 exhq.github.io-9ac13c2a3117f44edb71066a6ff717a782ab3209.zip |
BLAHAJ
and actual help command
Diffstat (limited to 'console/src/jsMain')
-rw-r--r-- | console/src/jsMain/kotlin/main.kt | 31 |
1 files changed, 31 insertions, 0 deletions
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 |