9 lines
138 B
Bash
9 lines
138 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
if ! which jq >/dev/null ; then
|
||
|
|
echo "Please install jq first."
|
||
|
|
exit 1
|
||
|
|
fi
|
||
|
|
|
||
|
|
curl http://localhost:5000/v2/_catalog | jq .
|