atmos icon indicating copy to clipboard operation
atmos copied to clipboard

Option to log the output of all atmos commands

Open nitrocode opened this issue 4 years ago • 0 comments

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

I'd love to see previous atmos command output (stdout and stderr) in some kind of ~/.atmos/logs/ folder.

$ atmos terraform plan eks --stack ue2-auto
... atmos output ...
$ atmos terraform apply eks --stack ue2-auto
... atmos output ...
$ atmos terraform output eks --stack ue2-auto
... atmos output ...

Then

$ ls -la ~/.atmos/logs/
YYMMDD-HHMMSS-terraform-plan-ue2-auto-eks.log
YYMMDD-HHMMSS-terraform-apply-ue2-auto-eks.log
YYMMDD-HHMMSS-terraform-output-ue2-auto-eks.log
etc

nitrocode avatar Dec 10 '21 22:12 nitrocode