mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-07 08:38:35 +08:00
Example of shebang on Lua script
This commit is contained in:
parent
43055ae6a7
commit
d84c039742
1 changed files with 3 additions and 0 deletions
3
client/luascripts/cmdline.lua
Normal file → Executable file
3
client/luascripts/cmdline.lua
Normal file → Executable 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")
|
||||
|
|
Loading…
Reference in a new issue