mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-01 21:40:24 +00:00
22 lines
511 B
Plaintext
22 lines
511 B
Plaintext
|
# Execute a Lua script server side
|
||
|
EVAL script numkeys key [key ...] arg [arg ...]
|
||
|
|
||
|
# Execute a Lua script server side
|
||
|
EVALSHA sha1 numkeys key [key ...] arg [arg ...]
|
||
|
|
||
|
# Set the debug mode for executed scripts.
|
||
|
SCRIPT DEBUG YES|SYNC|NO
|
||
|
|
||
|
# Check existence of scripts in the script cache.
|
||
|
SCRIPT EXISTS sha1 [sha1 ...]
|
||
|
|
||
|
# Remove all the scripts from the script cache.
|
||
|
SCRIPT FLUSH
|
||
|
|
||
|
# Kill the script currently in execution.
|
||
|
SCRIPT KILL
|
||
|
|
||
|
# Load the specified Lua script into the script cache.
|
||
|
SCRIPT LOAD script
|
||
|
|