@marsson/ciutils 0.0.5 → 0.0.7
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 +55 -0
- package/lib/commands/remove/assignments.d.ts +20 -0
- package/lib/commands/remove/assignments.js +161 -0
- package/lib/commands/remove/assignments.js.map +1 -0
- package/lib/commands/reporton/deployment.js +6 -1
- package/lib/commands/reporton/deployment.js.map +1 -1
- package/lib/utils/Utils.d.ts +61 -0
- package/lib/utils/Utils.js +209 -0
- package/lib/utils/Utils.js.map +1 -0
- package/messages/remove.assignments.md +35 -0
- package/oclif.lock +2965 -1924
- package/oclif.manifest.json +78 -45
- package/package.json +8 -4
package/oclif.manifest.json
CHANGED
@@ -1,69 +1,102 @@
|
|
1
1
|
{
|
2
|
+
"version": "0.0.7",
|
2
3
|
"commands": {
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
4
|
+
"remove:assignments": {
|
5
|
+
"id": "remove:assignments",
|
6
|
+
"summary": "Summary of a command.",
|
6
7
|
"description": "More information about a command. Don't repeat the summary.",
|
8
|
+
"strict": true,
|
9
|
+
"pluginName": "@marsson/ciutils",
|
10
|
+
"pluginAlias": "@marsson/ciutils",
|
11
|
+
"pluginType": "core",
|
12
|
+
"aliases": [],
|
13
|
+
"hiddenAliases": [],
|
7
14
|
"examples": [
|
8
15
|
"<%= config.bin %> <%= command.id %>"
|
9
16
|
],
|
10
17
|
"flags": {
|
11
|
-
"
|
12
|
-
"
|
13
|
-
"
|
14
|
-
"
|
15
|
-
"
|
16
|
-
"
|
18
|
+
"name": {
|
19
|
+
"name": "name",
|
20
|
+
"type": "option",
|
21
|
+
"char": "n",
|
22
|
+
"summary": "Description of a flag.",
|
23
|
+
"description": "More information about a flag. Don't repeat the summary.",
|
24
|
+
"required": false,
|
25
|
+
"multiple": false
|
26
|
+
},
|
27
|
+
"object": {
|
28
|
+
"name": "object",
|
29
|
+
"type": "option",
|
30
|
+
"char": "b",
|
31
|
+
"summary": "The object for which the assignment will be removed.",
|
32
|
+
"required": true,
|
33
|
+
"multiple": true,
|
34
|
+
"options": [
|
35
|
+
"PermissionSet",
|
36
|
+
"PermissionSetGroup",
|
37
|
+
"Group"
|
38
|
+
]
|
39
|
+
},
|
40
|
+
"usernames": {
|
41
|
+
"name": "usernames",
|
42
|
+
"type": "option",
|
43
|
+
"char": "u",
|
44
|
+
"summary": "The list of usernames to be unassigned from the selected object. If in a sandbox, the script will look for \"usename\" and \"username\".sandbox for unassignment.",
|
45
|
+
"required": true,
|
46
|
+
"multiple": true
|
17
47
|
},
|
18
48
|
"target-org": {
|
19
|
-
"char": "o",
|
20
49
|
"name": "target-org",
|
21
|
-
"
|
50
|
+
"type": "option",
|
51
|
+
"char": "o",
|
52
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
22
53
|
"required": true,
|
54
|
+
"multiple": false
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"args": {},
|
58
|
+
"hasDynamicHelp": true
|
59
|
+
},
|
60
|
+
"reporton:deployment": {
|
61
|
+
"id": "reporton:deployment",
|
62
|
+
"summary": "Summary of a command.",
|
63
|
+
"description": "More information about a command. Don't repeat the summary.",
|
64
|
+
"strict": true,
|
65
|
+
"pluginName": "@marsson/ciutils",
|
66
|
+
"pluginAlias": "@marsson/ciutils",
|
67
|
+
"pluginType": "core",
|
68
|
+
"aliases": [],
|
69
|
+
"hiddenAliases": [],
|
70
|
+
"examples": [
|
71
|
+
"<%= config.bin %> <%= command.id %>"
|
72
|
+
],
|
73
|
+
"flags": {
|
74
|
+
"target-org": {
|
75
|
+
"name": "target-org",
|
76
|
+
"type": "option",
|
77
|
+
"char": "o",
|
23
78
|
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
24
|
-
"
|
25
|
-
"multiple": false
|
26
|
-
"type": "option"
|
79
|
+
"required": true,
|
80
|
+
"multiple": false
|
27
81
|
},
|
28
82
|
"deploymentid": {
|
29
|
-
"char": "d",
|
30
83
|
"name": "deploymentid",
|
31
|
-
"
|
84
|
+
"type": "option",
|
85
|
+
"char": "d",
|
32
86
|
"summary": "The id of the deployment that we want to report on.",
|
33
|
-
"
|
34
|
-
"multiple": false
|
35
|
-
"type": "option"
|
87
|
+
"required": true,
|
88
|
+
"multiple": false
|
36
89
|
},
|
37
90
|
"awaitcompletion": {
|
38
|
-
"char": "a",
|
39
91
|
"name": "awaitcompletion",
|
92
|
+
"type": "boolean",
|
93
|
+
"char": "a",
|
40
94
|
"summary": "If the aplication should respond every 30 sec until the deployment is complete.",
|
41
|
-
"allowNo": false
|
42
|
-
"type": "boolean"
|
95
|
+
"allowNo": false
|
43
96
|
}
|
44
97
|
},
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"id": "reporton:deployment",
|
48
|
-
"pluginAlias": "@marsson/ciutils",
|
49
|
-
"pluginName": "@marsson/ciutils",
|
50
|
-
"pluginType": "core",
|
51
|
-
"strict": true,
|
52
|
-
"summary": "Summary of a command.",
|
53
|
-
"enableJsonFlag": true,
|
54
|
-
"isESM": true,
|
55
|
-
"relativePath": [
|
56
|
-
"lib",
|
57
|
-
"commands",
|
58
|
-
"reporton",
|
59
|
-
"deployment.js"
|
60
|
-
],
|
61
|
-
"aliasPermutations": [],
|
62
|
-
"permutations": [
|
63
|
-
"reporton:deployment",
|
64
|
-
"deployment:reporton"
|
65
|
-
]
|
98
|
+
"args": {},
|
99
|
+
"hasDynamicHelp": true
|
66
100
|
}
|
67
|
-
}
|
68
|
-
"version": "0.0.5"
|
101
|
+
}
|
69
102
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@marsson/ciutils",
|
3
3
|
"description": " Utilities for enabling continuous integration for Salesforce development under SF CLI",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.7",
|
5
5
|
"dependencies": {
|
6
6
|
"@oclif/core": "^3.18.1",
|
7
7
|
"@salesforce/core": "^6.4.7",
|
@@ -10,7 +10,6 @@
|
|
10
10
|
"@salesforce/ts-sinon": "^1.4.19",
|
11
11
|
"cli-progress": "^3.12.0",
|
12
12
|
"cli-table3": "^0.6.3",
|
13
|
-
"husky": "^9.0.11",
|
14
13
|
"jsforce": "2.0.0-beta.29",
|
15
14
|
"moment": "^2.30.1",
|
16
15
|
"sinon": "^17.0.1"
|
@@ -21,10 +20,12 @@
|
|
21
20
|
"@salesforce/dev-scripts": "^8.3.0",
|
22
21
|
"@types/jsforce": "^1.11.5",
|
23
22
|
"eslint-plugin-sf-plugin": "^1.17.2",
|
24
|
-
"
|
23
|
+
"husky": "^9.0.11",
|
24
|
+
"oclif": "^3.17.2",
|
25
25
|
"shx": "0.3.4",
|
26
26
|
"ts-node": "^10.9.2",
|
27
|
-
"typescript": "^5.3.3"
|
27
|
+
"typescript": "^5.3.3",
|
28
|
+
"yarn": "^1.22.22"
|
28
29
|
},
|
29
30
|
"engines": {
|
30
31
|
"node": ">=18.0.0"
|
@@ -58,6 +59,9 @@
|
|
58
59
|
},
|
59
60
|
"reporton": {
|
60
61
|
"description": "description for reporton"
|
62
|
+
},
|
63
|
+
"remove": {
|
64
|
+
"description": "description for remove"
|
61
65
|
}
|
62
66
|
},
|
63
67
|
"flexibleTaxonomy": true
|