graphql-inspector icon indicating copy to clipboard operation
graphql-inspector copied to clipboard

Implement logging to file for the CLI

Open LunaticMuch opened this issue 2 years ago • 1 comments

The CLI tool is great but it logs everything on the stdin only. While the stdin can be redirected to a file, the CLI should provide an argument like --log to dump the result into a file. This might be also taken to the extreme of providing text and html log.

I am happy to collaborate on making this, if somebody else sees a value.

  • [ ] Log into text file from cli argument
  • [ ] Log into html file from cli argument

LunaticMuch avatar Jun 06 '22 09:06 LunaticMuch

We have two different things here

  • log to a file (not sure why to do something different than $ graphql-inspector diff > diff.log)
  • save output in different formats

I'm okay with the second thing.

kamilkisiela avatar Jul 15 '22 12:07 kamilkisiela

Still relevant? @LunaticMuch

TuvalSimha avatar Apr 24 '23 14:04 TuvalSimha

Actually I don't think so. I close it.

LunaticMuch avatar Apr 24 '23 16:04 LunaticMuch