diff --git a/cmd/print.go b/cmd/print.go index 701c825..9bf4b35 100644 --- a/cmd/print.go +++ b/cmd/print.go @@ -2,6 +2,7 @@ package cmd import ( "encoding/json" + "fmt" "github.com/springload/ssm-parent/ssm" @@ -32,7 +33,7 @@ var printCmd = &cobra.Command{ if err != nil { log.WithError(err).Fatal("Can't marshal json") } - log.Info(string(marshalled)) + fmt.Println(string(marshalled)) }, }