From 2bf7afbc41f6895f30673a04d27b2bddea979007 Mon Sep 17 00:00:00 2001 From: Rahul Sethi <5822355+RamIdeas@users.noreply.github.com> Date: Wed, 16 Oct 2024 15:48:20 +0100 Subject: [PATCH] Update packages/wrangler/CONTRIBUTING.md Co-authored-by: Andy Jessop --- packages/wrangler/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/wrangler/CONTRIBUTING.md b/packages/wrangler/CONTRIBUTING.md index 73c440e3737d..609dd342d8c3 100644 --- a/packages/wrangler/CONTRIBUTING.md +++ b/packages/wrangler/CONTRIBUTING.md @@ -67,7 +67,7 @@ const command = defineCommand({ }); ``` -2. Command specific (named + positional) args vs Shared args vs Global args +2. Command-specific (named + positional) args vs shared args vs global args - Command-specific args are defined in the `args` field of the command definition. Command handlers receive these as a typed object automatically. To make any of these positional, add the key to the `positionalArgs` array. - You can share args between commands by declaring a separate object and spreading it into the `args` field. Feel free to import from another file.