diff --git a/scripts/mk/printvars.mk b/scripts/mk/printvars.mk index 83d0ae6d..520e23b0 100644 --- a/scripts/mk/printvars.mk +++ b/scripts/mk/printvars.mk @@ -6,3 +6,7 @@ .PHONY: printvars printvars: ## Print variable name and values @true $(foreach V, $(sort $(.VARIABLES)),$(if $(filter-out environment% default automatic,$(origin $V)),$(info $V=$(value $V)))) + +.PHONY: printenvcfg +printenvcfg: ## Print the environment the resulting exported environment + @env | grep -P -e '^(APP|CONFIG_PATH|DATABASE|KAFKA|LOGGING|WEB)(_.*)?=' | sort