Example of shebang on Lua script

This commit is contained in:
Philippe Teuwen
2019-09-04 23:36:23 +02:00
parent 43055ae6a7
commit d84c039742
Regular → Executable
+3
View File
@@ -1,5 +1,8 @@
#!/usr/bin/env -S pm3 -l
--[[
A sampe script file on how to implement at cmd line inteface.
It also demonstrates how the script can be used with a shebang.
--]]
print("This is how a cmd-line interface could be implemented\nPrint 'exit' to exit.\n")