Skip to content

Commit 2555164

Browse files
committed
Add metadata description to the top of the command arg
1 parent 766f48f commit 2555164

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/WranglerCommand.astro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,14 @@ const { globalFlags } = experimental_getWranglerCommands();
4545
const positionals = definition.positionalArgs
4646
?.map((p) => `[${p.toUpperCase()}]`)
4747
.join(" ");
48+
49+
console.log(definition)
4850
---
4951

5052
<AnchorHeading depth={headingLevel} title={command} />
5153

54+
<p>{definition.metadata.description}</p>
55+
5256
<PackageManagers
5357
pkg="wrangler"
5458
type="exec"

0 commit comments

Comments
 (0)