runme icon indicating copy to clipboard operation
runme copied to clipboard

Support `diff` option in `runme fmt`

Open mxsdev opened this issue 2 years ago • 2 comments

Would be nice to have the output of runme fmt as a diff/patch file, especially with project support.

mxsdev avatar Jun 22 '23 02:06 mxsdev

like e.g. runme fmt --patch or as default output @mxsdev?

sourishkrout avatar Jun 26 '23 13:06 sourishkrout

@sourishkrout

Yeah, I'm imagining it as a flag between patch and "normal" outout.

I personally also think it makes more sense as a default output format, since it is more useful for e.g. reviewing changes before actually making them.

mxsdev avatar Jun 26 '23 16:06 mxsdev