Suppress log output when running `fly console -C`

Running the following command for a deployed app,

fly console -C printenv

wraps the output in

Created an ephemeral machine d89111ea636038 to run the console.
(command output)
Waiting for ephemeral machine d89111ea636038 to be destroyed ... done.

which makes it unsuitable for plumbing use. How can I get the raw command output without having to resort to hacks like slicing lines?

1 Like

This should fix it fly console: keep stdout clean by benwaffle · Pull Request #3052 · superfly/flyctl · GitHub


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.