johnae / spook

Lightweight programmable evented utility based on LuaJIT and ljsyscall
Other
35 stars 0 forks source link

Next #15

Closed johnae closed 8 years ago

johnae commented 8 years ago

This completely revamps the command api behind the scenes. It works the same from the outside. Running functions has changed from the outside however but I suspect noone was using the feature yet.

This enables running multiple commands (and/or functions) in response to a change by simply adding them together eg.

cmd1("some/file/#{a}.rb") +
func_cmd("some/other/#{a}.json")