8 lines
144 B
Plaintext
8 lines
144 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ "$#" -lt 2 ]; then
|
||
|
echo "Usage: $0 <https://domain:port> <user>"
|
||
|
exit 1
|
||
|
fi
|
||
|
curl -X GET --basic -u "$1" "$0/v2/_catalog"
|