Skip to content

Commit

Permalink
Add a few more examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu committed Sep 4, 2023
1 parent 4edc5e0 commit b057832
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions sources/commands/Use.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ export class UseCommand extends BaseCommand {
automatically perform an install.
`,
examples: [[
`Configure the project to use the latest Yarn release`,
`corepack use 'yarn@*'`,
]],
`Configure the project to use the latest pnpm release`,
`corepack use pnpm`
], [
`Use a tagged version`,
`corepack use yarn@stable`,
], [
`Use a partial version number`,
`corepack use 'yarn@3'`,
]],
});

pattern = Option.String();
Expand Down

0 comments on commit b057832

Please sign in to comment.