From 39a6d2e8aa25242d7c173b306c5c4aad0590844b Mon Sep 17 00:00:00 2001 From: simar7 <1254783+simar7@users.noreply.github.com> Date: Wed, 14 Jun 2023 20:54:34 -0600 Subject: [PATCH] feat: Add a transition message (#2067) Fixes: https://github.com/aquasecurity/tfsec/issues/2066 Signed-off-by: Simar --- cmd/tfsec/main.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cmd/tfsec/main.go b/cmd/tfsec/main.go index eee1f5b1f4..7f96af388e 100644 --- a/cmd/tfsec/main.go +++ b/cmd/tfsec/main.go @@ -8,7 +8,21 @@ import ( "github.com/aquasecurity/tfsec/internal/app/tfsec/cmd" ) +const transitionMsg = ` +====================================================== +tfsec is joining the Trivy family + +tfsec will continue to remain available +for the time being, although our engineering +attention will be directed at Trivy going forward. + +You can read more here: +https://github.com/aquasecurity/tfsec/discussions/1994 +====================================================== +` + func main() { + fmt.Print(transitionMsg) if err := cmd.Root().Execute(); err != nil { if err.Error() != "" { fmt.Printf("Error: %s\n", err)