Add a Stdin Specification
This completes step 1 of https://github.com/numtide/treefmt/issues/573#issuecomment-2877869301.
@brianmcgee @zimbatm, is there anything I can do to help move this forward?
It's unclear to me if this documents the current behaviour or the desired behaviour. If it's the desired behaviour, isn't there some work needing to be done in treefmt to support that before we publish a spec?
If it's the desired behaviour, isn't there some work needing to be done in treefmt to support that before we publish a spec?
Yes, treefmt needs changes to support this. I'm happy to implement that (in this PR or a separate one). I just don't want to put in the effort until I know we like this approach.
I'll try to put my brain on this in the next few days. Been a busy few weeks :tired_face:
@brianmcgee, friendly ping
P.S. Thanks for taking the time to flesh this out, and sorry for taking a while to get around to reviewing this.
@brianmcgee @zimbatm, I could use another review on this. If we're happy with the state of this, then I'd like to work on the underlying implementation.
Any remaining work to be done here, or is this just waiting for review?
I'd be happy to lend a hand, if there's any way I can help.
@cstrahan I think this is ready for implementation. I'm pretty swamped right now. If you're up for putting together an implementation, I'd be happy to code review!