summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 6ea7ed7..5b7147c 100644
--- a/main.go
+++ b/main.go
@@ -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
},