The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

vultr_list_instances.sh 367 B

1234567891011121314
  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  4. #
  5. THISDIR=$(cd $(dirname ${0}) && pwd)
  6. VCURL=${THISDIR}/vcurl
  7. VULTR_OUTPUT=${1}
  8. if [[ -z "${VULTR_OUTPUT}" ]] ; then
  9. ${VCURL} server/list | jq .
  10. else
  11. ${VCURL} server/list | jq -r .[].${VULTR_OUTPUT}
  12. fi