Skip to content

Commit

Permalink
Update packages/wrangler/CONTRIBUTING.md
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Jessop <[email protected]>
  • Loading branch information
RamIdeas and andyjessop authored Oct 16, 2024
1 parent 21e9315 commit 2bf7afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wrangler/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2bf7afb

Please sign in to comment.