@oclif/plugin-search 1.0.19-dev.0 → 1.0.19

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.
package/README.md CHANGED
@@ -22,7 +22,7 @@ $ npm install -g @oclif/plugin-search
22
22
  $ @oclif/plugin-search COMMAND
23
23
  running command...
24
24
  $ @oclif/plugin-search (--version)
25
- @oclif/plugin-search/1.0.19-dev.0 linux-x64 node-v20.11.1
25
+ @oclif/plugin-search/1.0.19 linux-x64 node-v20.11.1
26
26
  $ @oclif/plugin-search --help [COMMAND]
27
27
  USAGE
28
28
  $ @oclif/plugin-search COMMAND
@@ -49,5 +49,5 @@ DESCRIPTION
49
49
  Once you select a command, hit enter and it will show the help for that command.
50
50
  ```
51
51
 
52
- _See code: [src/commands/search.ts](https://github.com/oclif/plugin-search/blob/v1.0.19-dev.0/src/commands/search.ts)_
52
+ _See code: [src/commands/search.ts](https://github.com/oclif/plugin-search/blob/v1.0.19/src/commands/search.ts)_
53
53
  <!-- commandsstop -->
@@ -4,7 +4,7 @@
4
4
  * Licensed under the BSD 3-Clause license.
5
5
  * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
6
6
  */
7
- import { Command, toConfiguredId, toStandardizedId } from '@oclif/core';
7
+ import { Command, loadHelpClass, toConfiguredId, toStandardizedId } from '@oclif/core';
8
8
  import autocomplete from 'inquirer-autocomplete-standalone';
9
9
  export default class Search extends Command {
10
10
  static description = 'Once you select a command, hit enter and it will show the help for that command.';
@@ -29,6 +29,8 @@ export default class Search extends Command {
29
29
  return input ? commandChoices.filter((c) => c.name.includes(input)) : commandChoices;
30
30
  },
31
31
  });
32
- return this.config.runCommand('help', [toStandardizedId(command, this.config)]);
32
+ const Help = await loadHelpClass(this.config);
33
+ const help = new Help(this.config, this.config.pjson.oclif.helpOptions ?? this.config.pjson.helpOptions);
34
+ return help.showHelp([toStandardizedId(command, this.config)]);
33
35
  }
34
36
  }
package/oclif.lock CHANGED
@@ -1148,10 +1148,10 @@
1148
1148
  supports-color "^8.1.1"
1149
1149
  tslib "^2"
1150
1150
 
1151
- "@oclif/core@3.20.1-dev.1":
1152
- version "3.20.1-dev.1"
1153
- resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.20.1-dev.1.tgz#e4b1a5f84a510c5858ca8145284a1b06d5ac66d9"
1154
- integrity sha512-B7G/QnzkJeGI2ef7PJ/k9PLhP0SdkXeXPnMbNzGv84L4ZfKzetpsrxRoxJB45+zjQObYz/AV1Yhs8Bux6TEQjQ==
1151
+ "@oclif/core@3.21.0":
1152
+ version "3.21.0"
1153
+ resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.21.0.tgz#a235704e66589c8c104ccd616d0a8f1f36cf693e"
1154
+ integrity sha512-xR7qGPOWtOnYmdYocSn6oEh2oTQLsPOXoj3HYGpb26V3WulwF8Cm33WPnMsSISv4ben3Rtc5i59u9O5NnuG42g==
1155
1155
  dependencies:
1156
1156
  "@types/cli-progress" "^3.11.5"
1157
1157
  ansi-escapes "^4.3.2"
@@ -26,5 +26,5 @@
26
26
  ]
27
27
  }
28
28
  },
29
- "version": "1.0.19-dev.0"
29
+ "version": "1.0.19"
30
30
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@oclif/plugin-search",
3
- "version": "1.0.19-dev.0",
3
+ "version": "1.0.19",
4
4
  "description": "A command for searching commands",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-search/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "3.20.1-dev.1",
8
+ "@oclif/core": "3.21.0",
9
9
  "inquirer-autocomplete-standalone": "^0.8.1"
10
10
  },
11
11
  "devDependencies": {