From 3c27867e149cdec56a5cc46dfd2bedf75edef82c Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 1 Apr 2024 08:00:33 -0600 Subject: [PATCH] Add tf format to terraform run-command recipe --- emacs/.emacs.d/config/init-run-command.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-run-command.el b/emacs/.emacs.d/config/init-run-command.el index bf40cbe..6e7c8c3 100644 --- a/emacs/.emacs.d/config/init-run-command.el +++ b/emacs/.emacs.d/config/init-run-command.el @@ -22,7 +22,9 @@ (list :command-name "apply" :command-line "terraform apply") (list :command-name "destroy" - :command-line "terraform destroy")))) + :command-line "terraform destroy") + (list :command-name "format" + :command-line "terraform fmt -recursive")))) (defun run-command-recipe-local () (when run-command-local-commands