@oclif/plugin-search 1.0.19-dev.0 → 1.0.20-qa.0
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 +2 -2
- package/dist/commands/search.js +4 -2
- package/npm-shrinkwrap.json +20154 -0
- package/oclif.lock +2577 -1212
- package/oclif.manifest.json +1 -1
- package/package.json +15 -14
- package/bin/dev.cmd +0 -3
- package/bin/dev.js +0 -8
- package/bin/run.cmd +0 -3
- package/bin/run.js +0 -9
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.
|
|
25
|
+
@oclif/plugin-search/1.0.20-qa.0 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.
|
|
52
|
+
_See code: [src/commands/search.ts](https://github.com/oclif/plugin-search/blob/v1.0.20-qa.0/src/commands/search.ts)_
|
|
53
53
|
<!-- commandsstop -->
|
package/dist/commands/search.js
CHANGED
|
@@ -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
|
-
|
|
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
|
}
|