generate_api.sh 269 B

1234567891011
  1. #!/bin/bash
  2. for fn in `./ayguci-client 'module/list^{"method":"get","query":""}' | jq .data[]`;do
  3. fun=`echo "$fn" | sed 's/"//g'`
  4. echo "##### $fun"
  5. echo '```'
  6. ./ayguci-client $fun | jq
  7. echo '```'
  8. #./ayguci-client "$fn\n"
  9. echo "---------------------------"
  10. done