Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjessop committed Nov 21, 2024
1 parent 4dbcb36 commit 2105933
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/wrangler/src/versions/secrets/bulk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 1 addition & 3 deletions packages/wrangler/src/versions/secrets/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 1 addition & 3 deletions packages/wrangler/src/versions/secrets/put.ts
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 2105933

Please sign in to comment.