From b20bb5808a3b1b8073d1c0d3304b497551729219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Gustavo=20de=20Paula?= Date: Tue, 13 Oct 2020 16:55:29 -0300 Subject: [PATCH] print result in a compact way to allow use in scripts (#2) --- finder/finder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finder/finder.go b/finder/finder.go index a7d47d1..38ffd67 100644 --- a/finder/finder.go +++ b/finder/finder.go @@ -71,7 +71,7 @@ func (f Finder) FindParams(terms []*string, n chan<- int, results chan<- string) } n <- len(output.Parameters) for _, result := range output.Parameters { - results <- fmt.Sprintf("\x1b[32m%s\x1b[0m = %s", *result.Name, *result.Value) + results <- fmt.Sprintf("%s=%s", *result.Name, *result.Value) } return nil }