Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
* Fixed help command output
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDead committed Aug 3, 2020
1 parent 39f983b commit e841f59
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,19 @@ module.exports = {
UpAllCommand.usage = Command.Usage({
description: 'Yarn2 plugin that will upgrade all dependencies to their latest version with one simple command',
details: 'This command will upgrade all dependencies to their latest version',
examples: [[
'yarn up-all',
'yarn up-all --exclude react-dom',
'yarn up-all --exclude "react-dom react-router"'
]],
examples: [
[
`Upgrade all dependencies`,
`yarn up-all`
],
[
`Upgrade all dependencies but exclude a single dependency`,
`yarn up-all --exclude react-dom`
],
[
`Upgrade all dependencies but exclude multiple dependencies`,
`yarn up-all --exclude "react-dom react-router"`
]]
});

return {
Expand Down

0 comments on commit e841f59

Please sign in to comment.