jsontypedef / json-typedef-codegen

A CLI tool that generates code from JSON Typedef schemas
https://jsontypedef.com/docs/tools/jtd-codegen
MIT License
160 stars 31 forks source link

Any way to specify a filename for output? #90

Open stephenpmurray opened 2 months ago

stephenpmurray commented 2 months ago

I want to generate three different data structures for both golang and typescript, and it would make sense for me to keep these in the same package, rather than having

In the case of golang, the filename is dictated by the package name, and the typescript filename defaults to index.ts.

Am I missing something, and is there a way to specify the filename (not just directory) of my output?