@oclif/plugin-commands 2.2.28 → 3.0.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.
- package/README.md +10 -8
- package/lib/commands/commands.d.ts +12 -12
- package/lib/commands/commands.js +49 -40
- package/lib/index.js +1 -3
- package/lib/utils/tree.d.ts +1 -2
- package/lib/utils/tree.js +5 -7
- package/oclif.lock +7039 -0
- package/oclif.manifest.json +85 -69
- package/package.json +43 -26
package/oclif.manifest.json
CHANGED
|
@@ -1,116 +1,132 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.2.28",
|
|
3
2
|
"commands": {
|
|
4
3
|
"commands": {
|
|
5
|
-
"id": "commands",
|
|
6
|
-
"description": "list all the commands",
|
|
7
|
-
"strict": true,
|
|
8
|
-
"pluginName": "@oclif/plugin-commands",
|
|
9
|
-
"pluginAlias": "@oclif/plugin-commands",
|
|
10
|
-
"pluginType": "core",
|
|
11
4
|
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "list all the commands",
|
|
12
7
|
"flags": {
|
|
13
8
|
"json": {
|
|
14
|
-
"name": "json",
|
|
15
|
-
"type": "boolean",
|
|
16
9
|
"description": "Format output as json.",
|
|
17
10
|
"helpGroup": "GLOBAL",
|
|
18
|
-
"
|
|
11
|
+
"name": "json",
|
|
12
|
+
"allowNo": false,
|
|
13
|
+
"type": "boolean"
|
|
19
14
|
},
|
|
20
15
|
"help": {
|
|
21
|
-
"name": "help",
|
|
22
|
-
"type": "boolean",
|
|
23
16
|
"char": "h",
|
|
24
17
|
"description": "Show CLI help.",
|
|
25
|
-
"
|
|
18
|
+
"name": "help",
|
|
19
|
+
"allowNo": false,
|
|
20
|
+
"type": "boolean"
|
|
26
21
|
},
|
|
27
22
|
"hidden": {
|
|
28
|
-
"name": "hidden",
|
|
29
|
-
"type": "boolean",
|
|
30
23
|
"description": "show hidden commands",
|
|
31
|
-
"
|
|
24
|
+
"name": "hidden",
|
|
25
|
+
"allowNo": false,
|
|
26
|
+
"type": "boolean"
|
|
32
27
|
},
|
|
33
28
|
"tree": {
|
|
34
|
-
"name": "tree",
|
|
35
|
-
"type": "boolean",
|
|
36
29
|
"description": "show tree of commands",
|
|
37
|
-
"
|
|
30
|
+
"name": "tree",
|
|
31
|
+
"allowNo": false,
|
|
32
|
+
"type": "boolean"
|
|
38
33
|
},
|
|
39
34
|
"columns": {
|
|
40
|
-
"name": "columns",
|
|
41
|
-
"type": "option",
|
|
42
35
|
"description": "only show provided columns (comma-separated)",
|
|
43
|
-
"multiple": false,
|
|
44
36
|
"exclusive": [
|
|
45
37
|
"extended"
|
|
46
|
-
]
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"type": "option"
|
|
51
|
-
"description": "property to sort by (prepend '-' for descending)",
|
|
52
|
-
"multiple": false
|
|
53
|
-
},
|
|
54
|
-
"filter": {
|
|
55
|
-
"name": "filter",
|
|
56
|
-
"type": "option",
|
|
57
|
-
"description": "filter property by partial string matching, ex: name=foo",
|
|
58
|
-
"multiple": false
|
|
38
|
+
],
|
|
39
|
+
"name": "columns",
|
|
40
|
+
"hasDynamicHelp": false,
|
|
41
|
+
"multiple": false,
|
|
42
|
+
"type": "option"
|
|
59
43
|
},
|
|
60
44
|
"csv": {
|
|
61
|
-
"name": "csv",
|
|
62
|
-
"type": "boolean",
|
|
63
45
|
"description": "output is csv format [alias: --output=csv]",
|
|
64
|
-
"allowNo": false,
|
|
65
46
|
"exclusive": [
|
|
66
47
|
"no-truncate"
|
|
67
|
-
]
|
|
68
|
-
},
|
|
69
|
-
"output": {
|
|
70
|
-
"name": "output",
|
|
71
|
-
"type": "option",
|
|
72
|
-
"description": "output in a more machine friendly format",
|
|
73
|
-
"multiple": false,
|
|
74
|
-
"options": [
|
|
75
|
-
"csv",
|
|
76
|
-
"json",
|
|
77
|
-
"yaml"
|
|
78
48
|
],
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
]
|
|
49
|
+
"name": "csv",
|
|
50
|
+
"allowNo": false,
|
|
51
|
+
"type": "boolean"
|
|
83
52
|
},
|
|
84
53
|
"extended": {
|
|
85
|
-
"name": "extended",
|
|
86
|
-
"type": "boolean",
|
|
87
54
|
"char": "x",
|
|
88
55
|
"description": "show extra columns",
|
|
89
|
-
"allowNo": false,
|
|
90
56
|
"exclusive": [
|
|
91
57
|
"columns"
|
|
92
|
-
]
|
|
58
|
+
],
|
|
59
|
+
"name": "extended",
|
|
60
|
+
"allowNo": false,
|
|
61
|
+
"type": "boolean"
|
|
62
|
+
},
|
|
63
|
+
"filter": {
|
|
64
|
+
"description": "filter property by partial string matching, ex: name=foo",
|
|
65
|
+
"name": "filter",
|
|
66
|
+
"hasDynamicHelp": false,
|
|
67
|
+
"multiple": false,
|
|
68
|
+
"type": "option"
|
|
69
|
+
},
|
|
70
|
+
"no-header": {
|
|
71
|
+
"description": "hide table header from output",
|
|
72
|
+
"exclusive": [
|
|
73
|
+
"csv"
|
|
74
|
+
],
|
|
75
|
+
"name": "no-header",
|
|
76
|
+
"allowNo": false,
|
|
77
|
+
"type": "boolean"
|
|
93
78
|
},
|
|
94
79
|
"no-truncate": {
|
|
95
|
-
"name": "no-truncate",
|
|
96
|
-
"type": "boolean",
|
|
97
80
|
"description": "do not truncate output to fit screen",
|
|
98
|
-
"allowNo": false,
|
|
99
81
|
"exclusive": [
|
|
100
82
|
"csv"
|
|
101
|
-
]
|
|
102
|
-
|
|
103
|
-
"no-header": {
|
|
104
|
-
"name": "no-header",
|
|
105
|
-
"type": "boolean",
|
|
106
|
-
"description": "hide table header from output",
|
|
83
|
+
],
|
|
84
|
+
"name": "no-truncate",
|
|
107
85
|
"allowNo": false,
|
|
86
|
+
"type": "boolean"
|
|
87
|
+
},
|
|
88
|
+
"output": {
|
|
89
|
+
"description": "output in a more machine friendly format",
|
|
108
90
|
"exclusive": [
|
|
91
|
+
"no-truncate",
|
|
109
92
|
"csv"
|
|
110
|
-
]
|
|
93
|
+
],
|
|
94
|
+
"name": "output",
|
|
95
|
+
"hasDynamicHelp": false,
|
|
96
|
+
"multiple": false,
|
|
97
|
+
"options": [
|
|
98
|
+
"csv",
|
|
99
|
+
"json",
|
|
100
|
+
"yaml"
|
|
101
|
+
],
|
|
102
|
+
"type": "option"
|
|
103
|
+
},
|
|
104
|
+
"sort": {
|
|
105
|
+
"description": "property to sort by (prepend '-' for descending)",
|
|
106
|
+
"name": "sort",
|
|
107
|
+
"hasDynamicHelp": false,
|
|
108
|
+
"multiple": false,
|
|
109
|
+
"type": "option"
|
|
111
110
|
}
|
|
112
111
|
},
|
|
113
|
-
"
|
|
112
|
+
"hasDynamicHelp": false,
|
|
113
|
+
"id": "commands",
|
|
114
|
+
"pluginAlias": "@oclif/plugin-commands",
|
|
115
|
+
"pluginName": "@oclif/plugin-commands",
|
|
116
|
+
"pluginType": "core",
|
|
117
|
+
"strict": true,
|
|
118
|
+
"enableJsonFlag": true,
|
|
119
|
+
"isESM": true,
|
|
120
|
+
"relativePath": [
|
|
121
|
+
"lib",
|
|
122
|
+
"commands",
|
|
123
|
+
"commands.js"
|
|
124
|
+
],
|
|
125
|
+
"aliasPermutations": [],
|
|
126
|
+
"permutations": [
|
|
127
|
+
"commands"
|
|
128
|
+
]
|
|
114
129
|
}
|
|
115
|
-
}
|
|
130
|
+
},
|
|
131
|
+
"version": "3.0.1"
|
|
116
132
|
}
|
package/package.json
CHANGED
|
@@ -1,42 +1,56 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/plugin-commands",
|
|
3
3
|
"description": "plugin to show the list of all the commands",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/plugin-commands/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^
|
|
9
|
-
"lodash": "^4.
|
|
8
|
+
"@oclif/core": "^3.0.9",
|
|
9
|
+
"lodash.pickby": "^4.6.0",
|
|
10
|
+
"lodash.sortby": "^4.7.0",
|
|
11
|
+
"lodash.template": "^4.5.0",
|
|
12
|
+
"lodash.uniqby": "^4.7.0"
|
|
10
13
|
},
|
|
11
14
|
"devDependencies": {
|
|
15
|
+
"@commitlint/config-conventional": "^17.7.0",
|
|
12
16
|
"@oclif/plugin-help": "^5.2.20",
|
|
13
|
-
"@oclif/
|
|
17
|
+
"@oclif/prettier-config": "^0.2.1",
|
|
18
|
+
"@oclif/test": "^3.0.2",
|
|
14
19
|
"@types/chai": "^4.3.6",
|
|
15
|
-
"@types/lodash": "^4.
|
|
16
|
-
"@types/
|
|
20
|
+
"@types/lodash.pickby": "^4.6.7",
|
|
21
|
+
"@types/lodash.sortby": "^4.7.7",
|
|
22
|
+
"@types/lodash.template": "^4.5.1",
|
|
23
|
+
"@types/lodash.uniqby": "^4.7.7",
|
|
24
|
+
"@types/mocha": "^10.0.2",
|
|
17
25
|
"@types/nock": "^11.1.0",
|
|
18
|
-
"@types/node": "^
|
|
26
|
+
"@types/node": "^18",
|
|
19
27
|
"chai": "^4.3.10",
|
|
20
|
-
"
|
|
21
|
-
"eslint
|
|
22
|
-
"eslint-config-oclif
|
|
28
|
+
"commitlint": "^17.7.2",
|
|
29
|
+
"eslint": "^8.51.0",
|
|
30
|
+
"eslint-config-oclif": "^5.0.0",
|
|
31
|
+
"eslint-config-oclif-typescript": "^3.0.5",
|
|
32
|
+
"eslint-config-prettier": "^9.0.0",
|
|
23
33
|
"globby": "^11",
|
|
24
|
-
"
|
|
34
|
+
"husky": "^8.0.3",
|
|
35
|
+
"lint-staged": "^14.0.1",
|
|
36
|
+
"mocha": "^10.2.0",
|
|
25
37
|
"nock": "^13.3.3",
|
|
26
38
|
"nyc": "^15.1.0",
|
|
27
|
-
"oclif": "^
|
|
39
|
+
"oclif": "^4.0.2",
|
|
40
|
+
"prettier": "^3.0.3",
|
|
28
41
|
"shx": "^0.3.3",
|
|
29
|
-
"ts-node": "^9.1
|
|
30
|
-
"
|
|
31
|
-
"typescript": "4.4.3"
|
|
42
|
+
"ts-node": "^10.9.1",
|
|
43
|
+
"typescript": "^5.2.2"
|
|
32
44
|
},
|
|
33
45
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
46
|
+
"node": ">=18.0.0"
|
|
35
47
|
},
|
|
48
|
+
"exports": "./lib/index.js",
|
|
36
49
|
"files": [
|
|
37
50
|
"/lib",
|
|
38
51
|
"/oclif.manifest.json",
|
|
39
|
-
"/yarn.lock"
|
|
52
|
+
"/yarn.lock",
|
|
53
|
+
"/oclif.lock"
|
|
40
54
|
],
|
|
41
55
|
"homepage": "https://github.com/oclif/plugin-commands",
|
|
42
56
|
"keywords": [
|
|
@@ -48,17 +62,20 @@
|
|
|
48
62
|
"bin": "oclif-example",
|
|
49
63
|
"devPlugins": [
|
|
50
64
|
"@oclif/plugin-help"
|
|
51
|
-
]
|
|
65
|
+
],
|
|
66
|
+
"flexibleTaxonomy": true
|
|
52
67
|
},
|
|
53
68
|
"repository": "oclif/plugin-commands",
|
|
54
69
|
"scripts": {
|
|
55
|
-
"
|
|
70
|
+
"build": "shx rm -rf lib && tsc",
|
|
71
|
+
"lint": "eslint . --ext .ts",
|
|
72
|
+
"postpack": "shx rm -f oclif.manifest.json oclif.lock",
|
|
73
|
+
"posttest": "yarn lint",
|
|
74
|
+
"prepack": "shx rm -rf lib && tsc && oclif lock && oclif manifest . && oclif readme",
|
|
75
|
+
"prepare": "husky install",
|
|
56
76
|
"pretest": "yarn build && tsc -p test --noEmit",
|
|
57
77
|
"test": "mocha \"test/**/*.test.ts\"",
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"build": "shx rm -rf lib && tsc"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
78
|
+
"version": "oclif readme && git add README.md"
|
|
79
|
+
},
|
|
80
|
+
"type": "module"
|
|
81
|
+
}
|