Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
bubblev
/
bubble
Vigiar
9
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
130
Wiki
Trabalho
Ver a proveniência
update bget utilities, add vultr_list_instance_labels
tags/v0.15.1
Jonathan Cobb
há 4 anos
ascendente
aef7d70a01
cometimento
78ff3edd11
5 ficheiros alterados
com
17 adições
e
8 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+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 ficheiro
@@ -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 ficheiro
@@ -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 ficheiro
@@ -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 ficheiro
@@ -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 ficheiro
@@ -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é-visualizar
Carregando…
Cancelar
Guardar