Skip to content

Enhance setup interface and add new 2026 CLI tools#42

Open
juninmd wants to merge 2 commits intomasterfrom
feat/enhance-setup-interface-and-add-apps-11153478603709568011
Open

Enhance setup interface and add new 2026 CLI tools#42
juninmd wants to merge 2 commits intomasterfrom
feat/enhance-setup-interface-and-add-apps-11153478603709568011

Conversation

@juninmd
Copy link
Owner

@juninmd juninmd commented Mar 22, 2026

This PR enhances the main setup-2026.sh installer by making its UI more visually appealing, utilizing a synthwave aesthetic and advanced gum styling properties. It also expands the cli-tools module to include modern utilities such as skate, melt, krew, kubectx, kubens, and gh-dash, to further enrich the 2026 terminal experience.


PR created automatically by Jules for task 11153478603709568011 started by @juninmd

- Improved `setup-2026.sh` interface by using more visually appealing `gum` styles, ASCII art, synthwave colors, and better cursors/layout.
- Added new useful CLI tools to `programas/cli-tools/setup.sh`, including Charmbracelet's `skate` and `melt`, Kubernetes tools like `krew`, `kubectx`, and `kubens`, and the GitHub dashboard extension `gh-dash`.

Co-authored-by: juninmd <6952134+juninmd@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Esta pull request visa aprimorar significativamente a experiência do terminal 2026 ao integrar um conjunto de ferramentas CLI modernas e reformular a interface do usuário do instalador. As mudanças proporcionam aos usuários funcionalidades aprimoradas para armazenamento de chave-valor, gerenciamento de chaves SSH, troca de contexto Kubernetes e painel do GitHub CLI, tudo apresentado através de um processo de configuração visualmente atraente e com tema synthwave.

Highlights

  • Novas Ferramentas CLI: Foram adicionadas diversas ferramentas CLI modernas, como skate, melt, krew, kubectx, kubens e gh-dash, para expandir as funcionalidades do ambiente de terminal 2026.
  • Melhorias na Interface do Instalador: A interface do usuário do script de instalação setup-2026.sh foi aprimorada com novos estilos visuais utilizando a ferramenta gum, incorporando uma estética synthwave e melhorando a experiência interativa.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

Este pull request aprimora a interface do usuário do instalador com um tema synthwave e adiciona várias novas ferramentas de linha de comando. As alterações de UI no setup-2026.sh estão bem implementadas e melhoram a experiência visual. No programas/cli-tools/setup.sh, as novas ferramentas são uma ótima adição. Forneci algumas sugestões para melhorar a robustez e a legibilidade da lógica de instalação de algumas das novas ferramentas.

(
set -x; cd "$(mktemp -d)" &&
OS="$(uname | tr '[:upper:]' '[:lower:]')" &&
ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

O comando sed usado para detecção de arquitetura é bastante denso e pode ser difícil de interpretar. Para melhor legibilidade e manutenção, considere usar uma instrução case. Isso torna a lógica explícita e mais fácil de entender ou modificar no futuro.

Suggested change
ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" &&
local arch
arch="$(uname -m)"
case "$arch" in
x86_64) ARCH="amd64" ;;
aarch64 | arm64) ARCH="arm64" ;;
arm*) ARCH="arm" ;;
*)
echo "Arquitetura não suportada para o Krew: $arch" >&2
exit 1
;;
esac
References
  1. Comandos shell complexos, como expressões sed intrincadas, podem ser difíceis de ler e manter. Substituí-los por construções mais explícitas, como case, melhora a clareza do código.

ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" &&
KREW="krew-${OS}_${ARCH}" &&
curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" &&
tar zxvf "${KREW}.tar.gz" &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

A flag v (verbose) no comando tar é redundante porque set -x já está ativo no subshell, que imprime os comandos sendo executados. Remover a flag v resultará em um log de instalação mais limpo e com menos ruído.

Suggested change
tar zxvf "${KREW}.tar.gz" &&
tar zxf "${KREW}.tar.gz" &&
References
  1. Flags ou comandos redundantes podem poluir os logs e dificultar a depuração. Neste caso, set -x já fornece o rastreamento de comandos, tornando a flag v no tar desnecessária.


# gh-dash (GitHub CLI dashboard)
if command -v gh &> /dev/null; then
if ! gh extension list | grep -q "gh-dash"; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

A verificação atual grep -q "gh-dash" pode produzir um falso positivo se o nome ou o caminho do repositório de outra extensão instalada contiver a string "gh-dash". Para tornar a verificação mais robusta, é melhor ancorar a busca no início da linha e corresponder ao nome completo do repositório.

Suggested change
if ! gh extension list | grep -q "gh-dash"; then
if ! gh extension list | grep -q "^dlvhdr/gh-dash\s"; then
References
  1. Ao verificar a presença de um item em uma lista, é melhor usar um padrão que identifique exclusivamente esse item para evitar falsos positivos de correspondências parciais.

Co-authored-by: gemini-code-assist[bot] <gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant