From f25b4c0a5967f4ed482e3a73a386833baba2a964 Mon Sep 17 00:00:00 2001 From: bereck-work Date: Fri, 21 Nov 2025 08:37:24 +0000 Subject: [PATCH] (Chore): Uses the new autocompletion feature. --- internal/ui/analyze.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/ui/analyze.go b/internal/ui/analyze.go index 7dc4484..0b9ccf0 100644 --- a/internal/ui/analyze.go +++ b/internal/ui/analyze.go @@ -17,7 +17,7 @@ func RunAnalyzeFlow() error { huh.NewGroup( huh.NewInput(). Title("📦 Archive Path"). - Description("Path to the archive to analyze"). + Description("Path to the archive to analyze - Tab for completions"). Placeholder("/path/to/archive.zip"). Value(&archivePath). Validate(func(s string) error { @@ -28,7 +28,8 @@ func RunAnalyzeFlow() error { return fmt.Errorf("archive does not exist") } return nil - }), + }). + Suggestions(getArchiveCompletions("")), ), ).WithTheme(huh.ThemeCatppuccin())