@oclif/plugin-help 6.0.10 → 6.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { Args, Command, Flags, Help } from '@oclif/core';
1
+ import { Args, Command, Flags, loadHelpClass } from '@oclif/core';
2
2
  export default class HelpCommand extends Command {
3
3
  static args = {
4
4
  commands: Args.string({ description: 'Command to show help for.', required: false }),
@@ -13,6 +13,7 @@ export default class HelpCommand extends Command {
13
13
  static strict = false;
14
14
  async run() {
15
15
  const { argv, flags } = await this.parse(HelpCommand);
16
+ const Help = await loadHelpClass(this.config);
16
17
  const help = new Help(this.config, { all: flags['nested-commands'] });
17
18
  await help.showHelp(argv);
18
19
  }
package/oclif.lock CHANGED
@@ -860,16 +860,16 @@
860
860
  "@types/expect" "^1.20.4"
861
861
  "@types/node" "*"
862
862
 
863
- "@typescript-eslint/eslint-plugin@^6.15.0":
864
- version "6.16.0"
865
- resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.16.0.tgz#cc29fbd208ea976de3db7feb07755bba0ce8d8bc"
866
- integrity sha512-O5f7Kv5o4dLWQtPX4ywPPa+v9G+1q1x8mz0Kr0pXUtKsevo+gIJHLkGc8RxaZWtP8RrhwhSNIWThnW42K9/0rQ==
863
+ "@typescript-eslint/eslint-plugin@^6.16.0":
864
+ version "6.18.0"
865
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.18.0.tgz#94b86f3c25b468c714a04bd490017ecec2fd3746"
866
+ integrity sha512-3lqEvQUdCozi6d1mddWqd+kf8KxmGq2Plzx36BlkjuQe3rSTm/O98cLf0A4uDO+a5N1KD2SeEEl6fW97YHY+6w==
867
867
  dependencies:
868
868
  "@eslint-community/regexpp" "^4.5.1"
869
- "@typescript-eslint/scope-manager" "6.16.0"
870
- "@typescript-eslint/type-utils" "6.16.0"
871
- "@typescript-eslint/utils" "6.16.0"
872
- "@typescript-eslint/visitor-keys" "6.16.0"
869
+ "@typescript-eslint/scope-manager" "6.18.0"
870
+ "@typescript-eslint/type-utils" "6.18.0"
871
+ "@typescript-eslint/utils" "6.18.0"
872
+ "@typescript-eslint/visitor-keys" "6.18.0"
873
873
  debug "^4.3.4"
874
874
  graphemer "^1.4.0"
875
875
  ignore "^5.2.4"
@@ -877,15 +877,15 @@
877
877
  semver "^7.5.4"
878
878
  ts-api-utils "^1.0.1"
879
879
 
880
- "@typescript-eslint/parser@^6.15.0":
881
- version "6.16.0"
882
- resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.16.0.tgz#36f39f63b126aa25af2ad2df13d9891e9fd5b40c"
883
- integrity sha512-H2GM3eUo12HpKZU9njig3DF5zJ58ja6ahj1GoHEHOgQvYxzoFJJEvC1MQ7T2l9Ha+69ZSOn7RTxOdpC/y3ikMw==
880
+ "@typescript-eslint/parser@^6.18.0":
881
+ version "6.18.0"
882
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.18.0.tgz#d494161d64832e869f0a6acc6000a2cdff858383"
883
+ integrity sha512-v6uR68SFvqhNQT41frCMCQpsP+5vySy6IdgjlzUWoo7ALCnpaWYcz/Ij2k4L8cEsL0wkvOviCMpjmtRtHNOKzA==
884
884
  dependencies:
885
- "@typescript-eslint/scope-manager" "6.16.0"
886
- "@typescript-eslint/types" "6.16.0"
887
- "@typescript-eslint/typescript-estree" "6.16.0"
888
- "@typescript-eslint/visitor-keys" "6.16.0"
885
+ "@typescript-eslint/scope-manager" "6.18.0"
886
+ "@typescript-eslint/types" "6.18.0"
887
+ "@typescript-eslint/typescript-estree" "6.18.0"
888
+ "@typescript-eslint/visitor-keys" "6.18.0"
889
889
  debug "^4.3.4"
890
890
 
891
891
  "@typescript-eslint/scope-manager@6.13.1":
@@ -896,21 +896,21 @@
896
896
  "@typescript-eslint/types" "6.13.1"
897
897
  "@typescript-eslint/visitor-keys" "6.13.1"
898
898
 
899
- "@typescript-eslint/scope-manager@6.16.0":
900
- version "6.16.0"
901
- resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.16.0.tgz#f3e9a00fbc1d0701356359cd56489c54d9e37168"
902
- integrity sha512-0N7Y9DSPdaBQ3sqSCwlrm9zJwkpOuc6HYm7LpzLAPqBL7dmzAUimr4M29dMkOP/tEwvOCC/Cxo//yOfJD3HUiw==
899
+ "@typescript-eslint/scope-manager@6.18.0":
900
+ version "6.18.0"
901
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.18.0.tgz#24ca6fc1f4a2afa71122dcfca9282878687d9997"
902
+ integrity sha512-o/UoDT2NgOJ2VfHpfr+KBY2ErWvCySNUIX/X7O9g8Zzt/tXdpfEU43qbNk8LVuWUT2E0ptzTWXh79i74PP0twA==
903
903
  dependencies:
904
- "@typescript-eslint/types" "6.16.0"
905
- "@typescript-eslint/visitor-keys" "6.16.0"
904
+ "@typescript-eslint/types" "6.18.0"
905
+ "@typescript-eslint/visitor-keys" "6.18.0"
906
906
 
907
- "@typescript-eslint/type-utils@6.16.0":
908
- version "6.16.0"
909
- resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.16.0.tgz#5f21c3e49e540ad132dc87fc99af463c184d5ed1"
910
- integrity sha512-ThmrEOcARmOnoyQfYkHw/DX2SEYBalVECmoldVuH6qagKROp/jMnfXpAU/pAIWub9c4YTxga+XwgAkoA0pxfmg==
907
+ "@typescript-eslint/type-utils@6.18.0":
908
+ version "6.18.0"
909
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.18.0.tgz#a492da599da5c38c70aa9ff9bfb473961b8ae663"
910
+ integrity sha512-ZeMtrXnGmTcHciJN1+u2CigWEEXgy1ufoxtWcHORt5kGvpjjIlK9MUhzHm4RM8iVy6dqSaZA/6PVkX6+r+ChjQ==
911
911
  dependencies:
912
- "@typescript-eslint/typescript-estree" "6.16.0"
913
- "@typescript-eslint/utils" "6.16.0"
912
+ "@typescript-eslint/typescript-estree" "6.18.0"
913
+ "@typescript-eslint/utils" "6.18.0"
914
914
  debug "^4.3.4"
915
915
  ts-api-utils "^1.0.1"
916
916
 
@@ -919,10 +919,10 @@
919
919
  resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.13.1.tgz#b56f26130e7eb8fa1e429c75fb969cae6ad7bb5c"
920
920
  integrity sha512-gjeEskSmiEKKFIbnhDXUyiqVma1gRCQNbVZ1C8q7Zjcxh3WZMbzWVfGE9rHfWd1msQtPS0BVD9Jz9jded44eKg==
921
921
 
922
- "@typescript-eslint/types@6.16.0":
923
- version "6.16.0"
924
- resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.16.0.tgz#a3abe0045737d44d8234708d5ed8fef5d59dc91e"
925
- integrity sha512-hvDFpLEvTJoHutVl87+MG/c5C8I6LOgEx05zExTSJDEVU7hhR3jhV8M5zuggbdFCw98+HhZWPHZeKS97kS3JoQ==
922
+ "@typescript-eslint/types@6.18.0":
923
+ version "6.18.0"
924
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.18.0.tgz#ffce610a1540c17cf7d8ecf2bb34b8b0e2e77101"
925
+ integrity sha512-/RFVIccwkwSdW/1zeMx3hADShWbgBxBnV/qSrex6607isYjj05t36P6LyONgqdUrNLl5TYU8NIKdHUYpFvExkA==
926
926
 
927
927
  "@typescript-eslint/typescript-estree@6.13.1":
928
928
  version "6.13.1"
@@ -937,13 +937,13 @@
937
937
  semver "^7.5.4"
938
938
  ts-api-utils "^1.0.1"
939
939
 
940
- "@typescript-eslint/typescript-estree@6.16.0":
941
- version "6.16.0"
942
- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.16.0.tgz#d6e0578e4f593045f0df06c4b3a22bd6f13f2d03"
943
- integrity sha512-VTWZuixh/vr7nih6CfrdpmFNLEnoVBF1skfjdyGnNwXOH1SLeHItGdZDHhhAIzd3ACazyY2Fg76zuzOVTaknGA==
940
+ "@typescript-eslint/typescript-estree@6.18.0":
941
+ version "6.18.0"
942
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.18.0.tgz#1c357c3ca435c3cfa2af6b9daf45ca0bc2bb059a"
943
+ integrity sha512-klNvl+Ql4NsBNGB4W9TZ2Od03lm7aGvTbs0wYaFYsplVPhr+oeXjlPZCDI4U9jgJIDK38W1FKhacCFzCC+nbIg==
944
944
  dependencies:
945
- "@typescript-eslint/types" "6.16.0"
946
- "@typescript-eslint/visitor-keys" "6.16.0"
945
+ "@typescript-eslint/types" "6.18.0"
946
+ "@typescript-eslint/visitor-keys" "6.18.0"
947
947
  debug "^4.3.4"
948
948
  globby "^11.1.0"
949
949
  is-glob "^4.0.3"
@@ -951,17 +951,17 @@
951
951
  semver "^7.5.4"
952
952
  ts-api-utils "^1.0.1"
953
953
 
954
- "@typescript-eslint/utils@6.16.0":
955
- version "6.16.0"
956
- resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.16.0.tgz#1c291492d34670f9210d2b7fcf6b402bea3134ae"
957
- integrity sha512-T83QPKrBm6n//q9mv7oiSvy/Xq/7Hyw9SzSEhMHJwznEmQayfBM87+oAlkNAMEO7/MjIwKyOHgBJbxB0s7gx2A==
954
+ "@typescript-eslint/utils@6.18.0":
955
+ version "6.18.0"
956
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.18.0.tgz#4d07c9c08f84b9939a1aca7aef98c8f378936142"
957
+ integrity sha512-wiKKCbUeDPGaYEYQh1S580dGxJ/V9HI7K5sbGAVklyf+o5g3O+adnS4UNJajplF4e7z2q0uVBaTdT/yLb4XAVA==
958
958
  dependencies:
959
959
  "@eslint-community/eslint-utils" "^4.4.0"
960
960
  "@types/json-schema" "^7.0.12"
961
961
  "@types/semver" "^7.5.0"
962
- "@typescript-eslint/scope-manager" "6.16.0"
963
- "@typescript-eslint/types" "6.16.0"
964
- "@typescript-eslint/typescript-estree" "6.16.0"
962
+ "@typescript-eslint/scope-manager" "6.18.0"
963
+ "@typescript-eslint/types" "6.18.0"
964
+ "@typescript-eslint/typescript-estree" "6.18.0"
965
965
  semver "^7.5.4"
966
966
 
967
967
  "@typescript-eslint/utils@^6.13.0":
@@ -985,12 +985,12 @@
985
985
  "@typescript-eslint/types" "6.13.1"
986
986
  eslint-visitor-keys "^3.4.1"
987
987
 
988
- "@typescript-eslint/visitor-keys@6.16.0":
989
- version "6.16.0"
990
- resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.16.0.tgz#d50da18a05d91318ed3e7e8889bda0edc35f3a10"
991
- integrity sha512-QSFQLruk7fhs91a/Ep/LqRdbJCZ1Rq03rqBdKT5Ky17Sz8zRLUksqIe9DW0pKtg/Z35/ztbLQ6qpOCN6rOC11A==
988
+ "@typescript-eslint/visitor-keys@6.18.0":
989
+ version "6.18.0"
990
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.18.0.tgz#3c8733737786fa6c78a347b4fa306ae7155b560f"
991
+ integrity sha512-1wetAlSZpewRDb2h9p/Q8kRjdGuqdTAQbkJIOUMLug2LBLG+QOjiWoSj6/3B/hA9/tVTFFdtiKvAYoYnSRW/RA==
992
992
  dependencies:
993
- "@typescript-eslint/types" "6.16.0"
993
+ "@typescript-eslint/types" "6.18.0"
994
994
  eslint-visitor-keys "^3.4.1"
995
995
 
996
996
  "@ungap/structured-clone@^1.2.0":
@@ -1496,10 +1496,10 @@ cardinal@^2.1.1:
1496
1496
  ansicolors "~0.3.2"
1497
1497
  redeyed "~2.1.0"
1498
1498
 
1499
- chai@^4.3.10:
1500
- version "4.3.10"
1501
- resolved "https://registry.yarnpkg.com/chai/-/chai-4.3.10.tgz#d784cec635e3b7e2ffb66446a63b4e33bd390384"
1502
- integrity sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==
1499
+ chai@^4.3.10, chai@^4.4.0:
1500
+ version "4.4.0"
1501
+ resolved "https://registry.yarnpkg.com/chai/-/chai-4.4.0.tgz#f9ac79f26726a867ac9d90a9b382120479d5f55b"
1502
+ integrity sha512-x9cHNq1uvkCdU+5xTkNh5WtgD4e4yDFCsp9jVc7N7qVeKeftv3gO/ZrviX5d+3ZfxdYnZXZYujjRInu1RogU6A==
1503
1503
  dependencies:
1504
1504
  assertion-error "^1.1.0"
1505
1505
  check-error "^1.0.3"
@@ -2216,13 +2216,13 @@ escape-string-regexp@^1.0.5:
2216
2216
  resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
2217
2217
  integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
2218
2218
 
2219
- eslint-config-oclif-typescript@^3.0.31:
2220
- version "3.0.31"
2221
- resolved "https://registry.yarnpkg.com/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.0.31.tgz#2aa70fdf4caae14e1e01f47278941fd271f4986d"
2222
- integrity sha512-j5iNQtLjCZ2Mwkx/0z4zpoBn5YbMx7iwK4DICUWY4QA+KwZ5vyWISrybBjMFSiLHHM7todeE5xmufk8ZTrw+tA==
2219
+ eslint-config-oclif-typescript@^3.0.34:
2220
+ version "3.0.34"
2221
+ resolved "https://registry.yarnpkg.com/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.0.34.tgz#52ee604452b33a4c8ac9474ef2d14dcba5afcfae"
2222
+ integrity sha512-xYbRXdsiFKjvNABn6pauyDu0T4wP6a4PH84EBkV7xPiXm1Pl2rgXLSu5SatE67IuQPHE/Nv5r5Ejv5KwCqHbTQ==
2223
2223
  dependencies:
2224
- "@typescript-eslint/eslint-plugin" "^6.15.0"
2225
- "@typescript-eslint/parser" "^6.15.0"
2224
+ "@typescript-eslint/eslint-plugin" "^6.16.0"
2225
+ "@typescript-eslint/parser" "^6.18.0"
2226
2226
  eslint-config-xo-space "^0.34.0"
2227
2227
  eslint-import-resolver-typescript "^3.6.1"
2228
2228
  eslint-plugin-import "^2.29.1"
@@ -39,5 +39,5 @@
39
39
  ]
40
40
  }
41
41
  },
42
- "version": "6.0.10"
42
+ "version": "6.0.11"
43
43
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/plugin-help",
3
3
  "description": "Standard help for oclif.",
4
- "version": "6.0.10",
4
+ "version": "6.0.11",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-help/issues",
7
7
  "dependencies": {
@@ -14,11 +14,11 @@
14
14
  "@types/chai": "^4.3.11",
15
15
  "@types/mocha": "^10.0.6",
16
16
  "@types/node": "^18",
17
- "chai": "^4.3.10",
17
+ "chai": "^4.4.0",
18
18
  "commitlint": "^17.8.1",
19
19
  "eslint": "^8.56.0",
20
20
  "eslint-config-oclif": "^5.0.0",
21
- "eslint-config-oclif-typescript": "^3.0.31",
21
+ "eslint-config-oclif-typescript": "^3.0.34",
22
22
  "eslint-config-prettier": "^9.1.0",
23
23
  "husky": "^8.0.3",
24
24
  "lint-staged": "^14.0.1",