Skip to content

Commit

Permalink
Exposes --yes for yarn init (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis authored Oct 28, 2019
1 parent fe06d4e commit cd34fae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/plugin-init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"version": "2.0.0-rc.1",
"nextVersion": {
"nonce": "6399265391920169"
"semver": "2.0.0-rc.2",
"nonce": "5918874990081661"
},
"repository": {
"type": "git",
Expand Down
3 changes: 3 additions & 0 deletions packages/plugin-init/sources/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import {Command, UsageError} from 'clipanion';

// eslint-disable-next-line arca/no-default-export
export default class InitCommand extends BaseCommand {
@Command.Boolean(`-y,--yes`, {hidden: true})
yes: boolean = false;

@Command.Boolean(`-p,--private`)
private: boolean = false;

Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.0.0-rc.10",
"nextVersion": {
"semver": "2.0.0-rc.11",
"nonce": "7091287192486305"
"nonce": "291773640700655"
},
"main": "./sources/index.ts",
"dependencies": {
Expand Down

0 comments on commit cd34fae

Please sign in to comment.