Create a 'console' or 'repl' command that provides a Lua REPL at any security level.
bbuck opened this issue · 1 comments
bbuck commented
Having a simple and live way to get your hands dirty is extremely helpful, so this would be to create a REPL that can be executed to load up any level of engine (server, client or game) where you dive into the Lua code directly and make any call as if your commands were being run in the game.
bbuck commented
Reference the REPL defined in gopher-lua here: https://github.com/yuin/gopher-lua/blob/master/cmd/glua/glua.go#L124 as a good starting place.