1
0
Fork 0
arangodb/scripts/dumpAgency.sh

7 lines
203 B
Bash
Executable File

#!/bin/bash
if [ "$*" == "" ] ; then
curl -s X POST http://localhost:4001/_api/agency/read -d '[["/"]]' | jq .
else
curl -s -X POST http://localhost:4001/_api/agency/read -d '[["/"]]' | jq $*
fi