Open
Description
Hi,
I am trying to setup jujutsu so that it runs spotless (configured using the maven plugin in my repository) when using jj fix
, see https://jj-vcs.github.io/jj/latest/cli-reference/#jj-fix.
The problem is that the requirement from jujutsu is that the tool that does formatting should respect the following rule:
The external tools must accept the current file content on standard input, and return the updated file content on standard output. A tool's output will not be used unless it exits with a successful exit code. Output on standard error will be passed through to the terminal.
Would that be something that could be added to spotless?
Thanks!