diff --git a/packages/wrangler/src/versions/secrets/bulk.ts b/packages/wrangler/src/versions/secrets/bulk.ts index 5db6136de198..6d955c0836f0 100644 --- a/packages/wrangler/src/versions/secrets/bulk.ts +++ b/packages/wrangler/src/versions/secrets/bulk.ts @@ -13,7 +13,7 @@ import { copyWorkerVersionWithNewSecrets } from "./index"; import type { WorkerVersion } from "./index"; defineCommand({ - command: "wrangler versions secrets bulk", + command: "wrangler versions secret bulk", metadata: { description: "Create or update a secret variable for a Worker", owner: "Workers: Authoring and Testing", diff --git a/packages/wrangler/src/versions/secrets/list.ts b/packages/wrangler/src/versions/secrets/list.ts index 213b09444fa7..afbc2012fd35 100644 --- a/packages/wrangler/src/versions/secrets/list.ts +++ b/packages/wrangler/src/versions/secrets/list.ts @@ -4,15 +4,13 @@ import { defineCommand } from "../../core"; import { UserError } from "../../errors"; import { getLegacyScriptName } from "../../index"; import { logger } from "../../logger"; -import { printWranglerBanner } from "../../update-check"; import { requireAuth } from "../../user"; import { fetchDeploymentVersions, fetchLatestDeployment } from "../api"; import type { VersionDetails } from "."; -import type { StrictYargsOptionsToInterface } from "../../yargs-types"; import type { ApiVersion, VersionCache } from "../types"; defineCommand({ - command: "wrangler versions secrets list", + command: "wrangler versions secret list", metadata: { description: "List the secrets currently deployed", owner: "Workers: Authoring and Testing", diff --git a/packages/wrangler/src/versions/secrets/put.ts b/packages/wrangler/src/versions/secrets/put.ts index 2172e624dd92..5848f09bfb74 100644 --- a/packages/wrangler/src/versions/secrets/put.ts +++ b/packages/wrangler/src/versions/secrets/put.ts @@ -1,18 +1,16 @@ import { fetchResult } from "../../cfetch"; -import { readConfig } from "../../config"; import { defineCommand } from "../../core"; import { prompt } from "../../dialogs"; import { UserError } from "../../errors"; import { getLegacyScriptName } from "../../index"; import { logger } from "../../logger"; -import { printWranglerBanner } from "../../update-check"; import { requireAuth } from "../../user"; import { readFromStdin, trimTrailingWhitespace } from "../../utils/std"; import { copyWorkerVersionWithNewSecrets } from "./index"; import type { WorkerVersion } from "./index"; defineCommand({ - command: "wrangler versions secrets put", + command: "wrangler versions secret put", metadata: { description: "Create or update a secret variable for a Worker", owner: "Workers: Authoring and Testing",