From c77a0263c1f40385d8271c8208dbba301259abf1 Mon Sep 17 00:00:00 2001 From: containerscrew <131241415+containerscrew@users.noreply.github.com> Date: Tue, 7 May 2024 15:59:15 +0200 Subject: [PATCH] Wip: tfoutput changes --- Makefile | 4 ++++ cmd/commands.go | 3 ++- demo.json | 21 ++++++++++++++++++++- internal/parser/parser.go | 2 ++ internal/reader/reader.go | 2 +- 5 files changed, 29 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 422a986..827f9c1 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,9 @@ SHELL:=/bin/sh help: ## this help @awk 'BEGIN {FS = ":.*?## "; printf "Usage:\n make \033[36m \033[0m\n\nTargets:\n"} /^[a-zA-Z0-9_-]+:.*?## / {gsub("\\\\n",sprintf("\n%22c",""), $$2);printf " \033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) +local-run: ## Run tftools locally + go run main.go summarize