elm-codegen icon indicating copy to clipboard operation
elm-codegen copied to clipboard

How to use elm-codegen in a cli tool

Open Orasund opened this issue 2 years ago • 0 comments

Hi there, I'm struggling to see how to use elm-codegen as part of a cli tool. I've already checkout elm-gql, but I can't connect the dots.

I was expecting something like elm-codegen build that turn the entire codegen folder into a single js file.

Because right now the only way I see is to always copy the codegen folder into the target folder and then run elm-codegen normally. But what happens if there are multiple cli tools that all use codegen under the hood, how can I ensure that a different tool does not override my Generate.elm file?

Orasund avatar Oct 29 '22 08:10 Orasund