template-generate
Generate statically typed generators for templates
Parameter | Description | Required | Default value |
---|---|---|---|
-c, clean | Clean existing template | No | |
-f, --file | File or directory to use to generate the client | Yes | |
-o, --out | Output file/directory to place the generated client | Yes |
Generate a client from a template
pactjs template-generate --file ./contractDir --out ./myContract.pact
pactjs template-generate --file ./contractDir --out ./myContract.pact