@vality/thrift-codegen
v3.2.0
Published
This project allows generation of JS client library, typings and json metadata automatically given a thrift spec.
Downloads
120
Keywords
Readme
Frontend Thrift Codegen CLI
This project allows generation of JS client library, typings and json metadata automatically given a thrift spec.
Usage
thrift-codegen [options]Options:
-i, --inputs- List of thrift file folders for compilation. [array] [required]-n, --namespaces- List of service namespaces which will be included. [array] [required]
Testing
Copy thrift spec to
protodirectory. For example damsel.Run
npm run codegen -- --i ./proto --n domain_config- Codegen client will be available in
distdirectory.
