Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
bubblev
/
bubble
Suivre
9
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
130
Wiki
Activité
Parcourir la source
update bget utilities, add vultr_list_instance_labels
tags/v0.15.1
Jonathan Cobb
il y a 4 ans
Parent
aef7d70a01
révision
78ff3edd11
5 fichiers modifiés
avec
17 ajouts
et
8 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+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
Voir le fichier
@@ -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
Voir le fichier
@@ -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
Voir le fichier
@@ -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
Voir le fichier
@@ -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
Voir le fichier
@@ -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'
Écrire
Aperçu
Chargement…
Annuler
Enregistrer