@oclif/plugin-help 5.1.23 → 5.2.1

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.
@@ -5,10 +5,8 @@ export default class HelpCommand extends Command {
5
5
  'nested-commands': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
6
6
  };
7
7
  static args: {
8
- name: string;
9
- required: boolean;
10
- description: string;
11
- }[];
8
+ commands: import("@oclif/core/lib/interfaces/parser").Arg<string | undefined, Record<string, unknown>>;
9
+ };
12
10
  static strict: boolean;
13
11
  run(): Promise<void>;
14
12
  }
@@ -16,7 +16,7 @@ HelpCommand.flags = {
16
16
  char: 'n',
17
17
  }),
18
18
  };
19
- HelpCommand.args = [
20
- { name: 'command', required: false, description: 'Command to show help for.' },
21
- ];
19
+ HelpCommand.args = {
20
+ commands: core_1.Args.string({ required: false, description: 'Command to show help for.' }),
21
+ };
22
22
  HelpCommand.strict = false;
@@ -1 +1,30 @@
1
- {"version":"5.1.23","commands":{"help":{"id":"help","description":"Display help for <%= config.bin %>.","strict":false,"pluginName":"@oclif/plugin-help","pluginAlias":"@oclif/plugin-help","pluginType":"core","aliases":[],"flags":{"nested-commands":{"name":"nested-commands","type":"boolean","char":"n","description":"Include all nested commands in the output.","allowNo":false}},"args":[{"name":"command","description":"Command to show help for.","required":false}]}}}
1
+ {
2
+ "version": "5.2.1",
3
+ "commands": {
4
+ "help": {
5
+ "id": "help",
6
+ "description": "Display help for <%= config.bin %>.",
7
+ "strict": false,
8
+ "pluginName": "@oclif/plugin-help",
9
+ "pluginAlias": "@oclif/plugin-help",
10
+ "pluginType": "core",
11
+ "aliases": [],
12
+ "flags": {
13
+ "nested-commands": {
14
+ "name": "nested-commands",
15
+ "type": "boolean",
16
+ "char": "n",
17
+ "description": "Include all nested commands in the output.",
18
+ "allowNo": false
19
+ }
20
+ },
21
+ "args": {
22
+ "commands": {
23
+ "name": "commands",
24
+ "description": "Command to show help for.",
25
+ "required": false
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@oclif/plugin-help",
3
3
  "description": "Standard help for oclif.",
4
- "version": "5.1.23",
4
+ "version": "5.2.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-help/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "^1.24.0"
8
+ "@oclif/core": "^2.0.3"
9
9
  },
10
10
  "devDependencies": {
11
- "@oclif/plugin-plugins": "^2.1.12",
11
+ "@oclif/plugin-plugins": "^2.2.2",
12
12
  "@oclif/test": "^2.1.0",
13
13
  "@types/chai": "^4.3.4",
14
14
  "@types/mocha": "^9.1.0",
@@ -17,7 +17,7 @@
17
17
  "eslint-config-oclif": "^4.0.0",
18
18
  "eslint-config-oclif-typescript": "^1.0.3",
19
19
  "mocha": "^9.2.2",
20
- "oclif": "^2.6.3",
20
+ "oclif": "^3.6.1",
21
21
  "shx": "^0.3.4",
22
22
  "ts-node": "^9.1.1",
23
23
  "typescript": "^4.6.3"