diff options
| author | Eltrac <hi@guhub.cn> | 2025-11-11 18:05:30 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-11-11 18:05:30 +0800 |
| commit | a461fdfd9b010dafbdf422002c7549cb21023fc4 (patch) | |
| tree | 4d3c02441dc10218c1abdc736014e12659f65aae /main.go | |
| parent | 363bc4114ccf8e59e7ddbe32361fd8d6eeca93ca (diff) | |
feat(animation): animate loading prompt
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -25,10 +25,11 @@ func main() { } pkgName := cmd.Args().First() // prompt - color.White("What the heck is \"%s\" ...?", pkgName) + showLoadingPrompt(fmt.Sprintf("What the heck is \"%s\"", pkgName)) // search and print formulae, cask := GetBrewInfo(pkgName) data := UnifyInfo(formulae, cask, pkgName) + hideLoadingPrompt() PrintInfo(data) return nil }, |
