Version: 0.1.4
Last Updated: Unknown
This file has utility functions to help with DatoCMS - either creating the backend shape, or grabbing the CMS data through Axios and generating the copy.
Usage $ datocms <action> <option> Action dump Run GraphQL query and write copy json upload Convert copy.json and upload schema to DatoCMS backend query Write a GraphQL query and export it from a file project Create a new project Options --copy Define path to copy JSON (default cwd + '/copy.json') Examples $ datocms query --output path/to/query.js $ datocms upload --copy path/to/copy.json $ datocms dump --input path/to/query.js --output path/to/copy.json $ datocms project --name "New Project"