How do I enable the `export-codegen` goal in my co...
# plugins
p
How do I enable the
export-codegen
goal in my codegen plugin?
h
Is it working? Should be purely based on registering the correct UnionRule
You can run
./pants export-codegen
with no arguments iirc to get an error message saying what targets it works with
p
It said
Copy code
Unknown goal: export-codegen
Use `./pants help` to get help.
Use `./pants help goals` to list goals.
However, once I registered the export codegen rules, the goal showed up and seems to be working.
👍 1
h
Great!