mirror of
https://github.com/sayanarijit/xplr
synced 2024-11-18 09:26:05 +00:00
Automated deployment: Sat Dec 11 15:40:23 UTC 2021 7b9e4deff5
This commit is contained in:
parent
b552f88d2c
commit
52453e70c0
@ -412,10 +412,13 @@ stderr will be piped to null. So it's non-interactive.</p>
|
||||
<p><strong>Lua Example:</strong> <code>{ CallLuaSilently = "custom.some_custom_function" }</code></p>
|
||||
<h3 id="-luaeval--string-"><a class="header" href="#-luaeval--string-">{ LuaEval = "string" }</a></h3>
|
||||
<p><strong>YAML:</strong> <code>LuaEval: string</code></p>
|
||||
<p>Execute Lua code without needing to define a function. However,
|
||||
<a href="#lua-context">Lua Context</a> won't be available.</p>
|
||||
<p><strong>YAML Example:</strong> <code>LuaEval: "return { { LogInfo = io.read() } }"</code></p>
|
||||
<p><strong>Lua Example:</strong> <code>{ LuaEval = [[return { { LogInfo = io.read() } }]] }</code></p>
|
||||
<p>Execute Lua code without needing to define a function.</p>
|
||||
<p>If the <code>string</code> is a callable, xplr will try to call it with with the
|
||||
<a href="#lua-context">Lua Context</a> argument.</p>
|
||||
<p><strong>YAML Example:</strong> <code>LuaEval: "return { { LogInfo = io.read() } }"</code>
|
||||
<strong>YAML Example:</strong> <code>LuaEval: "function(app) return { { LogInfo = app.pwd } } end"</code></p>
|
||||
<p><strong>Lua Example:</strong> <code>{ LuaEval = [[return { { LogInfo = io.read() } }]] }</code>
|
||||
<strong>Lua Example:</strong> <code>{ LuaEval = [[function(app) return { { LogInfo = app.pwd } } end]] }</code></p>
|
||||
<h3 id="-luaevalsilently--string-"><a class="header" href="#-luaevalsilently--string-">{ LuaEvalSilently = "string" }</a></h3>
|
||||
<p><strong>YAML:</strong> <code>LuaEvalSilently: string</code></p>
|
||||
<p>Like <code>LuaEval</code> but without the flicker. The stdin, stdout
|
||||
|
@ -1520,10 +1520,13 @@ stderr will be piped to null. So it's non-interactive.</p>
|
||||
<p><strong>Lua Example:</strong> <code>{ CallLuaSilently = "custom.some_custom_function" }</code></p>
|
||||
<h3 id="-luaeval--string-"><a class="header" href="#-luaeval--string-">{ LuaEval = "string" }</a></h3>
|
||||
<p><strong>YAML:</strong> <code>LuaEval: string</code></p>
|
||||
<p>Execute Lua code without needing to define a function. However,
|
||||
<a href="message.html#lua-context">Lua Context</a> won't be available.</p>
|
||||
<p><strong>YAML Example:</strong> <code>LuaEval: "return { { LogInfo = io.read() } }"</code></p>
|
||||
<p><strong>Lua Example:</strong> <code>{ LuaEval = [[return { { LogInfo = io.read() } }]] }</code></p>
|
||||
<p>Execute Lua code without needing to define a function.</p>
|
||||
<p>If the <code>string</code> is a callable, xplr will try to call it with with the
|
||||
<a href="message.html#lua-context">Lua Context</a> argument.</p>
|
||||
<p><strong>YAML Example:</strong> <code>LuaEval: "return { { LogInfo = io.read() } }"</code>
|
||||
<strong>YAML Example:</strong> <code>LuaEval: "function(app) return { { LogInfo = app.pwd } } end"</code></p>
|
||||
<p><strong>Lua Example:</strong> <code>{ LuaEval = [[return { { LogInfo = io.read() } }]] }</code>
|
||||
<strong>Lua Example:</strong> <code>{ LuaEval = [[function(app) return { { LogInfo = app.pwd } } end]] }</code></p>
|
||||
<h3 id="-luaevalsilently--string-"><a class="header" href="#-luaevalsilently--string-">{ LuaEvalSilently = "string" }</a></h3>
|
||||
<p><strong>YAML:</strong> <code>LuaEvalSilently: string</code></p>
|
||||
<p>Like <code>LuaEval</code> but without the flicker. The stdin, stdout
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user