This repository was archived by the owner on Mar 27, 2024. It is now read-only.
This repository was archived by the owner on Mar 27, 2024. It is now read-only.
Option to write output to file #275
Closed
Description
I've been fairly happy with piping output into file or into a string for parsing from a program (with a custom logging setting of panic and other quiet flags) but recently ran into an issue I'm having a hard time getting around - fairly challenging use when I want to capture output in a cluster environment. When I issue the command interactively I can still capture it, but on headless nodes (where it's nontrivial to give them a display) I'm getting empty strings.
So ! Instead of diving into the buggy pit of debugging the output or this one specific cluster, I think it would be more straight forward to write directly to file. This is especially appropriate for the --json
flag. Is there any interest here?
Metadata
Metadata
Assignees
Labels
No labels