Skip to main content

datacontract init

Create an empty data contract.

datacontract init [OPTIONS] [LOCATION]
ArgumentDefaultDescription
[LOCATION]datacontract.yamlThe location of the data contract file to create.
OptionDefaultDescription
--template—URL of a template or data contract
--overwrite / --no-overwrite--no-overwriteReplace the existing datacontract.yaml
--debug / --no-debug—Enable debug logging
datacontract init datacontract.yaml