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

Commit

Permalink
feat: Use -y as alias for --yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
ffflorian committed Aug 9, 2019
1 parent 46d5552 commit a054cb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Publish your project without the dist directory
Options:
-V, --version output the version number
-c, --yarn Use yarn for publishing (default: false)
-y, --yarn Use yarn for publishing (default: false)
-f, --flatten <dir> Which directory to flatten (default: "dist")
-o, --output <dir> Set the output directory (default: temp directory)
-p, --publish Publish (default: false)
Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ program
.name(Object.keys(bin)[0])
.version(version)
.description(description)
.option('-c, --yarn', 'Use yarn for publishing (default: false)')
.option('-y, --yarn', 'Use yarn for publishing (default: false)')
.option('-f, --flatten <dir>', 'Which directory to flatten', 'dist')
.option('-o, --output <dir>', 'Set the output directory (default: temp directory)')
.option('-p, --publish', 'Publish (default: false)')
Expand Down

0 comments on commit a054cb0

Please sign in to comment.