aboutsummaryrefslogtreecommitdiff
path: root/console/src/jsMain
diff options
context:
space:
mode:
Diffstat (limited to 'console/src/jsMain')
-rw-r--r--console/src/jsMain/kotlin/main.kt31
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