[FIXED] Simplificar menú principal en versadm_token.sh para mostrar solo nombres de plataformas
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
4471d9417a
commit
bbd0cb2de0
1 changed files with 2 additions and 9 deletions
|
@ -297,17 +297,10 @@ test_connection() {
|
|||
|
||||
# Función principal para gestionar tokens
|
||||
manage_vcs_token() {
|
||||
# Construir opciones para el menú
|
||||
# Construir opciones para el menú - solo nombres de plataformas
|
||||
local menu_options=""
|
||||
for i in "${!VCS_TYPES[@]}"; do
|
||||
local token_file="$SOPS_CONFIG_DIR/${VCS_TOKENS[$i]}"
|
||||
local status=""
|
||||
if [ -f "$token_file" ]; then
|
||||
status="[✓]"
|
||||
else
|
||||
status="[ ]"
|
||||
fi
|
||||
menu_options+="$((i+1)) \"${VCS_TYPES[$i]} $status\" "
|
||||
menu_options+="$((i+1)) \"${VCS_TYPES[$i]}\" "
|
||||
done
|
||||
|
||||
# Mostrar menú de selección
|
||||
|
|
Loading…
Reference in a new issue