Improve /dump command
This commit is contained in:
parent
2425cf8097
commit
1e9e0386f9
@ -354,7 +354,9 @@ dump(){
|
|||||||
admin
|
admin
|
||||||
out=/tmp/$RANDOM.json
|
out=/tmp/$RANDOM.json
|
||||||
jq <<< "$input" > $out
|
jq <<< "$input" > $out
|
||||||
sendmsg "Event saved to $out."
|
sendmsg "Event saved to <code>$out</code>.
|
||||||
|
Retrieve using <code>/sh_cat_$out</code>.
|
||||||
|
Remove using <code>/sh_rm_-v_$out</code>."
|
||||||
}
|
}
|
||||||
|
|
||||||
# Notes and such
|
# Notes and such
|
||||||
|
Loading…
x
Reference in New Issue
Block a user