@sanity/cli 3.96.1-next.3.3d5cdd6a43 → 3.96.1-next.4.af00ad2134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/_chunks-cjs/cli.js
CHANGED
|
@@ -54113,6 +54113,7 @@ The default dataset configuration has a public dataset named "production".`;
|
|
|
54113
54113
|
};
|
|
54114
54114
|
}
|
|
54115
54115
|
async function prepareFlags() {
|
|
54116
|
+
cliFlags["project-id"] && !cliFlags.project && (cliFlags.project = cliFlags["project-id"]);
|
|
54116
54117
|
const createProjectName = cliFlags["create-project"];
|
|
54117
54118
|
if ((cliFlags.dataset || cliFlags.visibility || cliFlags["dataset-default"] || unattended) && (showDefaultConfigPrompt = !1), cliFlags.project && createProjectName)
|
|
54118
54119
|
throw new Error(
|
|
@@ -54381,7 +54382,7 @@ function getImportCommand(outputPath, studioVersion) {
|
|
|
54381
54382
|
const helpText$7 = `
|
|
54382
54383
|
Options
|
|
54383
54384
|
-y, --yes Use unattended mode, accepting defaults and using only flags for choices
|
|
54384
|
-
--project <projectId> Project ID to use for the studio
|
|
54385
|
+
--project, --project-id <projectId> Project ID to use for the studio
|
|
54385
54386
|
--organization <organizationId> Organization ID to use for the project
|
|
54386
54387
|
--dataset <dataset> Dataset name for the studio
|
|
54387
54388
|
--dataset-default Set up a project with a public dataset named "production"
|