freebsd-skq/stand/lua
Kyle Evans afad05b233 lualoader: Add ability to intercept cli commands
If we failed to execute the input line as pure lua, run the command through
parse for consistent argument parsing. Pass the parsed arguments through to
a global "cli_execute" written in Lua, which is expected to either handle it
or pass it back through to interp_builtin_cmd (via loader.command).

lua-handled cli commands will then exist as globals in whatever module they
most belong in, and invocations at the loader prompt will magically dispatch
to them if they exist.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D14450
2018-02-20 17:46:50 +00:00
..
color.lua stand/lua: Consistently organize modules 2018-02-20 14:45:58 +00:00
config.lua stand/lua: Consistently organize modules 2018-02-20 14:45:58 +00:00
core.lua stand/lua: Consistently organize modules 2018-02-20 14:45:58 +00:00
drawer.lua stand/lua: Consistently organize modules 2018-02-20 14:45:58 +00:00
loader.lua lualoader: Add ability to intercept cli commands 2018-02-20 17:46:50 +00:00
Makefile
menu.lua stand/lua: Consistently organize modules 2018-02-20 14:45:58 +00:00
password.lua stand/lua: Consistently organize modules 2018-02-20 14:45:58 +00:00
screen.lua stand/lua: Consistently organize modules 2018-02-20 14:45:58 +00:00