sanity documents create [file]
Create one or more documents
Arguments
Name | Description |
---|
file | filepaths |
Options
Name | Description |
---|
--replace | On duplicate document IDs, replace existing document with specified document(s) |
--missing | On duplicate document IDs, don't modify the target document(s) |
--watch | Write the documents whenever the target file or buffer changes |
--json5 | Use JSON5 file type to allow a "simplified" version of JSON |
--id <id> | Specify a document ID to use. Will fetch remote document ID and populate editor |
--dataset <dataset> | NAME to override dataset |