rtk-ai/rtk

feat: add ArgoCD CLI filter for app status and sync output compression

Open

#1.914 aberto em 16 de mai. de 2026

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (2.914 forks)batch import
area:clienhancementhelp wantedpriority:medium

Métricas do repositório

Stars
 (48.085 stars)
Métricas de merge de PR
 (Mesclagem média 11d 1h) (45 fundiu PRs em 30d)

Description

Problem

argocd CLI output contains verbose log prefixes (time=..., TIMESTAMP ...), FATA fatal context deadline errors, and blank lines that add noise without value. App status tables and sync output are useful but surrounded by cruft.

Proposed Solution

Add src/filters/argocd.toml matching ^argocd\b that:

  • Strips time= log prefix lines
  • Strips TIMESTAMP header lines
  • Strips FATA[N] context deadline lines
  • Truncates at 120 chars/50 lines for large output
  • Preserves app status tables, health info, and sync state

Also add a corresponding RtkRule in src/discover/rules.rs for automatic hook rewriting of argocd (app|repo|cluster|proj) subcommands.

Guia do colaborador