Is your feature request related to a problem? Please describe.
When running OCamlformat with standard input, it is required to pass --enable-outside-detected-project.
ᐅ echo "let x = ()" | ocamlformat --profile=conventional --name foo.ml -
File "foo.ml":
Warning: Ocamlformat disabled because [--enable-outside-detected-project] is not set and no project root was found
let x = ()
Describe the solution you'd like
Perhaps --enable-outside-detected-project should be implicit when running OCamlformat this way? I think if the user is providing input from std.in, it's likely they're not getting this code from an enclosing OCamlformatted project.
CC. @Julow