Skip to content

Commit c931fe0

Browse files
committed
change command description
1 parent a71705f commit c931fe0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

packages/wrangler/src/__tests__/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe("wrangler", () => {
4848
wrangler delete [script] 🗑 Delete a Worker from Cloudflare
4949
wrangler tail [worker] 🦚 Start a log tailing session for a Worker
5050
wrangler secret 🤫 Generate a secret that can be referenced in a Worker
51-
wrangler types [path] 📝 Generate types from bindings and module rules in configuration
51+
wrangler types [path] 📝 Generate types from your Worker configuration
5252
5353
wrangler kv 🗂️ Manage Workers KV Namespaces
5454
wrangler queues 🇶 Manage Workers Queues
@@ -105,7 +105,7 @@ describe("wrangler", () => {
105105
wrangler delete [script] 🗑 Delete a Worker from Cloudflare
106106
wrangler tail [worker] 🦚 Start a log tailing session for a Worker
107107
wrangler secret 🤫 Generate a secret that can be referenced in a Worker
108-
wrangler types [path] 📝 Generate types from bindings and module rules in configuration
108+
wrangler types [path] 📝 Generate types from your Worker configuration
109109
110110
wrangler kv 🗂️ Manage Workers KV Namespaces
111111
wrangler queues 🇶 Manage Workers Queues

packages/wrangler/src/type-generation/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ import type { Entry } from "../deployment-bundle/entry";
1717

1818
export const typesCommand = createCommand({
1919
metadata: {
20-
description:
21-
"📝 Generate types from bindings and module rules in configuration\n",
20+
description: "📝 Generate types from your Worker configuration\n",
2221
status: "stable",
2322
owner: "Workers: Authoring and Testing",
2423
epilogue:
25-
"📖 Learn more at https://developers.cloudflare.com/workers/languages/typescript/",
24+
"📖 Learn more at https://developers.cloudflare.com/workers/languages/typescript/#generate-types",
2625
},
2726
positionalArgs: ["path"],
2827
args: {

0 commit comments

Comments
 (0)