Add option to the make cli option that doesn't write files, but instead outputs the text to stdout. #1103
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
task
Task level project item
Is your feature request related to a problem? Please describe.
Since it is quite an effort to create an Elm compiler for
morphir-scala
andmorphir-dotnet
, those ecosystems rely onmorphir-elm
for the Elm to Morphir IR toolchain.Both are targeting to integrate their tooling by enlisting the
morphir-elm
tooling and invokingmorphir-elm
as a subprocess.It would ease integration if there was a mode where instead of creating files
morphir-elm make
just wrote the file text to stdout so thatmorphir-scala
andmorphir-dotnet
can wrap their own processing actions around the various JSON files produces (primarily morphir-ir.json).Describe the solution you'd like
Provide a
--no-files
or some equivalent flag which would put the CLI in a mode where the following occurs:Describe alternatives you've considered
An alternative would be to communicate this info using JSON RPC or GRPC but that is a lot of work and this solution should serve most needs.
Additional context
N/A
The text was updated successfully, but these errors were encountered: