The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

do_list_instances.sh 364 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. DOCURL=${THISDIR}/docurl
  7. DO_OUTPUT=${1}
  8. if [[ -z "${DO_OUTPUT}" ]] ; then
  9. ${DOCURL} droplets | jq .
  10. else
  11. ${DOCURL} droplets | jq -r .droplets[].${DO_OUTPUT}
  12. fi