[IMPROVED] Simplificar mensajes de solicitud de tokens en cversion_token.sh

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Mauro Rosero P. 2025-03-15 12:28:38 -05:00
parent 92dd54059f
commit feed5c1089
Signed by: mrosero
GPG key ID: 83BD2A5F674B7E26

View file

@ -79,24 +79,24 @@ manage_version_token() {
cli_command="gh" cli_command="gh"
token_file="$SOPS_CONFIG_DIR/github.sops.yaml" token_file="$SOPS_CONFIG_DIR/github.sops.yaml"
install_script="$SCRIPT_DIR/ghcli_install.sh" install_script="$SCRIPT_DIR/ghcli_install.sh"
token_prompt="Ingrese su token de acceso personal de GitHub:" token_prompt="Ingrese su token personal de GitHub:"
token_helper="Puede generar un nuevo token en: https://github.com/settings/tokens\nAsegúrese de incluir los permisos necesarios (repo, workflow, etc.)" token_helper="Puede generar un nuevo token en: https://github.com/settings/tokens"
;; ;;
"2") "2")
vcs_type="GitLab" vcs_type="GitLab"
cli_command="glab" cli_command="glab"
token_file="$SOPS_CONFIG_DIR/gitlab.sops.yaml" token_file="$SOPS_CONFIG_DIR/gitlab.sops.yaml"
install_script="$SCRIPT_DIR/glcli_install.sh" install_script="$SCRIPT_DIR/glcli_install.sh"
token_prompt="Ingrese su token de acceso personal de GitLab:" token_prompt="Ingrese su token personal de GitLab:"
token_helper="Puede generar un nuevo token en: https://gitlab.com/-/profile/personal_access_tokens\nAsegúrese de incluir los permisos necesarios (api, read_repository, etc.)" token_helper="Puede generar un nuevo token en: https://gitlab.com/-/profile/personal_access_tokens"
;; ;;
"3") "3")
vcs_type="Forgejo" vcs_type="Forgejo"
cli_command="berg" cli_command="berg"
token_file="$SOPS_CONFIG_DIR/forgejo.sops.yaml" token_file="$SOPS_CONFIG_DIR/forgejo.sops.yaml"
install_script="$SCRIPT_DIR/fjcli_install.sh" install_script="$SCRIPT_DIR/fjcli_install.sh"
token_prompt="Ingrese su token de acceso personal de Forgejo/Codeberg:" token_prompt="Ingrese su token personal de Forgejo/Codeberg:"
token_helper="Puede generar un nuevo token en su perfil de usuario, en la sección 'Aplicaciones'\nAsegúrese de incluir los permisos necesarios" token_helper="Puede generar un nuevo token en su perfil de usuario, en la sección 'Aplicaciones'"
;; ;;
*) *)
return 1 return 1