summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorAlex Goodman <wagoodman@gmail.com>2018-10-16 22:38:41 -0400
committerAlex Goodman <wagoodman@gmail.com>2018-10-16 22:38:41 -0400
commitdddb2e6b975e5efbf24e3ad91f9e5ab0aca42ba6 (patch)
tree319b8aea1eb7393c98f43b4508b6a9ca4a20bcf6 /cmd
parent54b20c096b1872191c87fad1cca7972ae75fe345 (diff)
with fancy pre-processing
Diffstat (limited to 'cmd')
-rw-r--r--cmd/analyze.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/analyze.go b/cmd/analyze.go
index 33b3498..33c7ac1 100644
--- a/cmd/analyze.go
+++ b/cmd/analyze.go
@@ -6,6 +6,7 @@ import (
"os"
"github.com/wagoodman/dive/image"
"github.com/wagoodman/dive/ui"
+ "github.com/fatih/color"
)
// analyze takes a docker image tag, digest, or id and displayes the
@@ -16,6 +17,7 @@ func analyze(cmd *cobra.Command, args []string) {
fmt.Println("No image argument given")
os.Exit(1)
}
+ color.New(color.Bold).Println("Analyzing Image")
manifest, refTrees := image.InitializeData(userImage)
ui.Run(manifest, refTrees)
} \ No newline at end of file