Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
bubblev
/
bubble
Observar
9
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
130
Wiki
Atividade
Ver código fonte
update bget utilities, add vultr_list_instance_labels
tags/v0.15.1
Jonathan Cobb
4 anos atrás
pai
aef7d70a01
commit
78ff3edd11
5 arquivos alterados
com
17 adições
e
8 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+2
-2
bin/bgeti
+2
-2
bin/bgeti1
+2
-2
bin/bgetn
+2
-2
bin/bgetn1
+9
-0
bin/vultr/vultr_list_instance_labels.sh
+ 2
- 2
bin/bgeti
Ver arquivo
@@ -33,6 +33,6 @@ if [[ ${JSON} = \{* ]] ; then
elif [[ "${JSON}" = \[* ]] ; then
echo "${JSON}" | jq -r .[].uuid
else
echo "not sure what to do with JSON:"
echo "
${JSON}"
die "Invalid JSON received:
${JSON}"
fi
+ 2
- 2
bin/bgeti1
Ver arquivo
@@ -33,6 +33,6 @@ if [[ ${JSON} = \{* ]] ; then
elif [[ "${JSON}" = \[* ]] ; then
echo "${JSON}" | jq -r .[].uuid | head -1
else
echo "not sure what to do with JSON:"
echo "
${JSON}"
die "Invalid JSON received:
${JSON}"
fi
+ 2
- 2
bin/bgetn
Ver arquivo
@@ -33,6 +33,6 @@ if [[ ${JSON} = \{* ]] ; then
elif [[ "${JSON}" = \[* ]] ; then
echo "${JSON}" | jq -r .[].name
else
echo "not sure what to do with JSON:"
echo "
${JSON}"
die "Invalid JSON received:
${JSON}"
fi
+ 2
- 2
bin/bgetn1
Ver arquivo
@@ -33,6 +33,6 @@ if [[ ${JSON} = \{* ]] ; then
elif [[ "${JSON}" = \[* ]] ; then
echo "${JSON}" | jq -r .[].name | head -1
else
echo "not sure what to do with JSON:"
echo "
${JSON}"
die "Invalid JSON received:
${JSON}"
fi
+ 9
- 0
bin/vultr/vultr_list_instance_labels.sh
Ver arquivo
@@ -0,0 +1,9 @@
#!/bin/bash
#
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
#
THISDIR=$(cd $(dirname ${0}) && pwd)
VCURL=${THISDIR}/vcurl
LABEL=${1}
${VCURL} server/list | jq -r '.[].label'
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar