Skip to content

Commit b057832

Browse files
committed
Add a few more examples
1 parent 4edc5e0 commit b057832

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

sources/commands/Use.ts

+9-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,15 @@ export class UseCommand extends BaseCommand {
1515
automatically perform an install.
1616
`,
1717
examples: [[
18-
`Configure the project to use the latest Yarn release`,
19-
`corepack use 'yarn@*'`,
20-
]],
18+
`Configure the project to use the latest pnpm release`,
19+
`corepack use pnpm`
20+
], [
21+
`Use a tagged version`,
22+
`corepack use yarn@stable`,
23+
], [
24+
`Use a partial version number`,
25+
`corepack use 'yarn@3'`,
26+
]],
2127
});
2228

2329
pattern = Option.String();

0 commit comments

Comments
 (0)