kvs tools

This commit is contained in:
gilles committed 2022-09-07 09:54:39 +02:00
1 parent 657a1b38e3
commit d072d29fba
3 files changed
+33

No files matched your search

Executable
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
source $(dirname $0)/shelly.conf
if [ $# -ne 1 ]; then
echo "usage: $0 <key> <value>"
exit 1
fi
key=$1
curl -s $SHELLY_RPC/KVS.Delete'?key="'$key'"' | jq .