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
--templateURL of a template or data contract
--overwrite / --no-overwrite--no-overwriteReplace the existing datacontract.yaml
--debug / --no-debugEnable debug logging
datacontract init datacontract.yaml