@sanity/cli 4.14.0-next.13 → 4.14.0-next.15

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.
@@ -8305,6 +8305,7 @@ Options
8305
8305
  --dataset <dataset> The Sanity dataset to use
8306
8306
  --project-id <id> Sanity Project ID to use
8307
8307
  --with-user-token Prime access token from CLI config into context.clientOptions
8308
+ --media-library-id <id> Sanity Media Library ID to use
8308
8309
 
8309
8310
 
8310
8311
  Examples
@@ -8327,7 +8328,7 @@ Examples
8327
8328
  name: "test",
8328
8329
  group: "functions",
8329
8330
  helpText: helpText$c,
8330
- signature: "<name> [--event create|update|delete] [--data <json>] [--data-before <json>] [--data-after <json>] [--file <filename>] [--file-before <filename>] [--file-after <filename>] [--document-id <id>] [--document-id-before <id>] [--document-id-before <id>] [--timeout <seconds>] [--api <version>] [--dataset <name>] [--project-id] <id>] [--with-user-token]",
8331
+ signature: "<name> [--event create|update|delete] [--data <json>] [--data-before <json>] [--data-after <json>] [--file <filename>] [--file-before <filename>] [--file-after <filename>] [--document-id <id>] [--document-id-before <id>] [--document-id-before <id>] [--timeout <seconds>] [--api <version>] [--dataset <name>] [--project-id <id>] [--media-library-id <id>] [--with-user-token]",
8331
8332
  description: "Invoke a local Sanity Function",
8332
8333
  async action(args, context) {
8333
8334
  const { apiClient, output, chalk: chalk2 } = context, [name] = args.argsWithoutOptions, flags = { ...defaultFlags$1, ...args.extOptions }, client2 = apiClient({
@@ -8378,7 +8379,8 @@ Examples
8378
8379
  api: flags.api,
8379
8380
  dataset: flags.dataset || actualDataset,
8380
8381
  "project-id": flags["project-id"] || bpProjectId,
8381
- "with-user-token": flags["with-user-token"]
8382
+ "with-user-token": flags["with-user-token"],
8383
+ "media-library-id": flags["media-library-id"]
8382
8384
  }
8383
8385
  });
8384
8386
  if (!success) throw new Error(error2);