1
0
Stanislav Galabov a010cf7752 Use the new INI-like parser to get Lua scripts dir from XML 11 роки тому
..
startup.xml a010cf7752 Use the new INI-like parser to get Lua scripts dir from XML 11 роки тому
test.lua 3fbc9fdd98 Initial import of Lua plugin. Currently clish_plugin_lua_la_LDFLAGS and clish_plugin_lua_la_CFLAGS need to be specified manually in plugins/lua/module.am in order to build successfully. Once built - set CLISH_PATH to xml-examples/lua and start klish. You'll have all the commands as in xml-examples/test interpreted by Lua and, in addition, commands test8 (calls a lua function defined in test.lua), eval (can evaluate any string parameter as a Lua chunk) and test9 (an alias for eval) 11 роки тому
test.xml 5d18567db0 Modify xml-examples/lua/*.xml in order to make the default ACTION handler Lua. Leave a command (test1) which uses the clish_script@clish handler just to illustrate how Lua and shell ACTIONs can co-exist 11 роки тому