Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
fix: updated command
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 9, 2018
1 parent 486642a commit 353228a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
},
"bugs": "https://github.com/oclif/dev-cli/issues",
"dependencies": {
"@oclif/command": "^1.4.10",
"@oclif/command": "^1.4.12",
"@oclif/config": "^1.4.12",
"@oclif/errors": "^1.0.4",
"@oclif/plugin-help": "^1.2.3",
Expand Down
4 changes: 2 additions & 2 deletions src/commands/publish/index.ts
Expand Up @@ -10,8 +10,8 @@ export default class Publish extends Command {

static flags = {
root: flags.string({char: 'r', description: 'path to oclif CLI root', default: '.', required: true}),
'cloudfront-distribution-id': flags.string({description: 'invalidate cloudfront CDN', alsoRequire: ['cloudfront-paths']}),
'cloudfront-paths': flags.string({description: 'paths to invalidate on cloudfront', alsoRequire: ['cloudfront-distribution-id']}),
'cloudfront-distribution-id': flags.string({description: 'invalidate cloudfront CDN', dependsOn: ['cloudfront-paths']}),
'cloudfront-paths': flags.string({description: 'paths to invalidate on cloudfront', dependsOn: ['cloudfront-distribution-id']}),
}

buildConfig!: Tarballs.IConfig
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Expand Up @@ -45,12 +45,12 @@
call-me-maybe "^1.0.1"
glob-to-regexp "^0.3.0"

"@oclif/command@^1.4.10", "@oclif/command@^1.4.7":
version "1.4.10"
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.4.10.tgz#15d229ba975018ca62cf4a94bec6d9796e18b619"
"@oclif/command@^1.4.10", "@oclif/command@^1.4.12", "@oclif/command@^1.4.7":
version "1.4.12"
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.4.12.tgz#388dc3c409b4201a32240f4900dca22cb0d5641e"
dependencies:
"@oclif/errors" "^1.0.4"
"@oclif/parser" "^3.2.13"
"@oclif/parser" "^3.3.1"
debug "^3.1.0"
semver "^5.5.0"

Expand All @@ -74,9 +74,9 @@
version "1.0.0"
resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91"

"@oclif/parser@^3.2.13":
version "3.3.0"
resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.3.0.tgz#c4e7765b244fcb76df71b8fd1f495ee50dd80900"
"@oclif/parser@^3.3.1":
version "3.3.1"
resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.3.1.tgz#b6ec567bbac5b712094eeedbde1f0f2cf3aa9b5b"
dependencies:
"@oclif/linewrap" "^1.0.0"
chalk "^2.3.2"
Expand Down

0 comments on commit 353228a

Please sign in to comment.