Moved menu files to be under /ui directory, added support for commands to Console!

This commit is contained in:
2019-08-07 15:36:45 -05:00
parent ffae3ae14e
commit 80576a211a
7 changed files with 101 additions and 6 deletions

View File

@@ -0,0 +1,24 @@
class IMICFPS
class Commands
class HelpCommand < Command
def initialize
end
def group
:global
end
def command
:help
end
def handle(arguments, console)
console.stdin(usage)
end
def usage
"HELP\ncommand [arguments]\ncommand subcommand [argument]"
end
end
end
end