@oclif/core 2.11.9 → 2.11.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.
- package/lib/flags.js +2 -1
- package/lib/interfaces/config.d.ts +1 -0
- package/package.json +1 -1
package/lib/flags.js
CHANGED
|
@@ -84,7 +84,8 @@ const help = (opts = {}) => {
|
|
|
84
84
|
description: 'Show CLI help.',
|
|
85
85
|
...opts,
|
|
86
86
|
parse: async (_, cmd) => {
|
|
87
|
-
|
|
87
|
+
const Help = await (0, help_1.loadHelpClass)(cmd.config);
|
|
88
|
+
await new Help(cmd.config, cmd.config.pjson.helpOptions).showHelp(cmd.id ? [cmd.id, ...cmd.argv] : cmd.argv);
|
|
88
89
|
cmd.exit(0);
|
|
89
90
|
},
|
|
90
91
|
});
|
|
@@ -135,6 +135,7 @@ export interface Config {
|
|
|
135
135
|
s3Url(key: string): string;
|
|
136
136
|
s3Key(type: 'versioned' | 'unversioned', ext: '.tar.gz' | '.tar.xz', options?: Config.s3Key.Options): string;
|
|
137
137
|
s3Key(type: keyof PJSON.S3.Templates, options?: Config.s3Key.Options): string;
|
|
138
|
+
getPluginsList(): Plugin[];
|
|
138
139
|
}
|
|
139
140
|
export declare namespace Config {
|
|
140
141
|
namespace s3Key {
|