diff options
| author | Saikari <[email protected]> | 2026-01-31 05:42:37 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-01-31 05:42:37 +0300 |
| commit | 4630ca802874f6d45e447a7ab79c1a54b03d866a (patch) | |
| tree | faaa20ffbf1b81c9079d37ac62dc6440892fb934 /xmake/plugins/lua/xmake.lua | |
| parent | 51a68ee33918b95811420beb6a56673a83abe6cc (diff) | |
add support for running Lua scripts from stdin and enhance error handling
Diffstat (limited to 'xmake/plugins/lua/xmake.lua')
| -rw-r--r-- | xmake/plugins/lua/xmake.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/lua/xmake.lua b/xmake/plugins/lua/xmake.lua index 8ef6c3573..c8ebc8ba3 100644 --- a/xmake/plugins/lua/xmake.lua +++ b/xmake/plugins/lua/xmake.lua @@ -45,6 +45,7 @@ task("lua") {'l', "list" , "k" , nil , "List all scripts." } , {'c', "command" , "k" , nil , "Run script as command" } , {'d', "deserialize" , "kv" , nil , "Deserialize arguments starts with given prefix" } + , {nil, "from-stdin" , "k" , nil , "Run script from stdin" } , {nil, "script" , "v" , nil , "Run the given lua script name, file or module and enter interactive mode if no given script.", "e.g.", " - xmake lua (enter interactive mode)", |
