Sanity CLI
sanityCommand-line tool for Sanity Studio projects.
Command-line tool for Sanity Studio projects.
Create, run, build and deploy a studio. Datasets, documents, CORS, GraphQL and user management are not covered.
sanity initprojectdatasetoutput_pathtemplateyesprojectdatasetoutput_pathtemplateboolean--yes-ystring--projectstring--datasetpath--output-pathstring--templatestring--create-projectenum--visibilitypublicprivateboolean--reconfiguresanity startporthostinteger--portstring--hostsanity buildsource_mapsno_minifyboolean--source-mapsboolean--no-minifyboolean--yes-ysanity deploysource_dirsource_dirno_buildpath · positional 0boolean--source-mapsboolean--no-minifyboolean--no-buildsrccompletionsrccompletionsrccompletionsrccompletionsrccompletionBefore it fills your prompt, Otty checks the installed sanity against its version. A form that does not match your version is not offered.