Slackbot
08/22/2024, 10:23 PMMaidul Islam
08/22/2024, 10:26 PMGraham
08/27/2024, 8:13 AMstderr so if you change your output redirect to infisical export --path "/frontend" 1> .env this should work too (and for many other CLI apps)
• https://github.com/Infisical/infisical/blob/main/cli/packages/util/check-for-update.go#L50
• https://rderik.com/blog/identify-if-output-goes-to-the-terminal-or-is-being-redirected-in-golang/
Maidul's answer is also correct! --silent