@sharinpix/sharinpix-sf-cli 1.9.1 → 1.10.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 +83 -0
- package/lib/commands/sharinpix/form/pull.d.ts +6 -1
- package/lib/commands/sharinpix/form/pull.js +5 -1
- package/lib/commands/sharinpix/form/pull.js.map +1 -1
- package/lib/commands/sharinpix/form/push.d.ts +7 -1
- package/lib/commands/sharinpix/form/push.js +3 -0
- package/lib/commands/sharinpix/form/push.js.map +1 -1
- package/lib/commands/sharinpix/permission/pull.d.ts +5 -1
- package/lib/commands/sharinpix/permission/pull.js +5 -1
- package/lib/commands/sharinpix/permission/pull.js.map +1 -1
- package/lib/commands/sharinpix/permission/push.d.ts +6 -1
- package/lib/commands/sharinpix/permission/push.js +3 -0
- package/lib/commands/sharinpix/permission/push.js.map +1 -1
- package/lib/commands/sharinpix/pull.d.ts +14 -0
- package/lib/commands/sharinpix/pull.js +33 -0
- package/lib/commands/sharinpix/pull.js.map +1 -0
- package/lib/commands/sharinpix/push.d.ts +15 -0
- package/lib/commands/sharinpix/push.js +41 -0
- package/lib/commands/sharinpix/push.js.map +1 -0
- package/messages/sharinpix.pull.md +25 -0
- package/messages/sharinpix.push.md +37 -0
- package/oclif.lock +1055 -984
- package/oclif.manifest.json +126 -1
- package/package.json +4 -4
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,130 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"sharinpix:pull": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Retrieves all SharinPix form templates and permissions from the connected Salesforce org. This is a convenience command that executes both sharinpix:form:pull and sharinpix:permission:pull.",
|
|
7
|
+
"examples": [
|
|
8
|
+
"Pull all assets from the default org:\n<%= config.bin %> <%= command.id %>",
|
|
9
|
+
"Pull all assets from a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com"
|
|
10
|
+
],
|
|
11
|
+
"flags": {
|
|
12
|
+
"json": {
|
|
13
|
+
"description": "Format output as json.",
|
|
14
|
+
"helpGroup": "GLOBAL",
|
|
15
|
+
"name": "json",
|
|
16
|
+
"allowNo": false,
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
19
|
+
"flags-dir": {
|
|
20
|
+
"helpGroup": "GLOBAL",
|
|
21
|
+
"name": "flags-dir",
|
|
22
|
+
"summary": "Import flag values from a directory.",
|
|
23
|
+
"hasDynamicHelp": false,
|
|
24
|
+
"multiple": false,
|
|
25
|
+
"type": "option"
|
|
26
|
+
},
|
|
27
|
+
"org": {
|
|
28
|
+
"char": "o",
|
|
29
|
+
"description": "The target Salesforce org containing the SharinPix assets to be pulled.",
|
|
30
|
+
"name": "org",
|
|
31
|
+
"noCacheDefault": true,
|
|
32
|
+
"required": true,
|
|
33
|
+
"summary": "The Salesforce org to pull assets from.",
|
|
34
|
+
"hasDynamicHelp": true,
|
|
35
|
+
"multiple": false,
|
|
36
|
+
"type": "option"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"hasDynamicHelp": true,
|
|
40
|
+
"hiddenAliases": [],
|
|
41
|
+
"id": "sharinpix:pull",
|
|
42
|
+
"pluginAlias": "@sharinpix/sharinpix-sf-cli",
|
|
43
|
+
"pluginName": "@sharinpix/sharinpix-sf-cli",
|
|
44
|
+
"pluginType": "core",
|
|
45
|
+
"strict": true,
|
|
46
|
+
"summary": "Pull all SharinPix assets (forms and permissions) from Salesforce org.",
|
|
47
|
+
"enableJsonFlag": true,
|
|
48
|
+
"isESM": true,
|
|
49
|
+
"relativePath": [
|
|
50
|
+
"lib",
|
|
51
|
+
"commands",
|
|
52
|
+
"sharinpix",
|
|
53
|
+
"pull.js"
|
|
54
|
+
],
|
|
55
|
+
"aliasPermutations": [],
|
|
56
|
+
"permutations": [
|
|
57
|
+
"sharinpix:pull",
|
|
58
|
+
"pull:sharinpix"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"sharinpix:push": {
|
|
62
|
+
"aliases": [],
|
|
63
|
+
"args": {},
|
|
64
|
+
"description": "Uploads all local SharinPix form templates and permissions to the connected Salesforce org. This is a convenience command that executes both sharinpix:form:push and sharinpix:permission:push.",
|
|
65
|
+
"examples": [
|
|
66
|
+
"Push all assets to the default org:\n<%= config.bin %> <%= command.id %>",
|
|
67
|
+
"Push all assets to a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com",
|
|
68
|
+
"Push all assets and delete missing ones from the org:\n<%= config.bin %> <%= command.id %> --delete"
|
|
69
|
+
],
|
|
70
|
+
"flags": {
|
|
71
|
+
"json": {
|
|
72
|
+
"description": "Format output as json.",
|
|
73
|
+
"helpGroup": "GLOBAL",
|
|
74
|
+
"name": "json",
|
|
75
|
+
"allowNo": false,
|
|
76
|
+
"type": "boolean"
|
|
77
|
+
},
|
|
78
|
+
"flags-dir": {
|
|
79
|
+
"helpGroup": "GLOBAL",
|
|
80
|
+
"name": "flags-dir",
|
|
81
|
+
"summary": "Import flag values from a directory.",
|
|
82
|
+
"hasDynamicHelp": false,
|
|
83
|
+
"multiple": false,
|
|
84
|
+
"type": "option"
|
|
85
|
+
},
|
|
86
|
+
"org": {
|
|
87
|
+
"char": "o",
|
|
88
|
+
"description": "The target Salesforce org where the SharinPix assets will be pushed.",
|
|
89
|
+
"name": "org",
|
|
90
|
+
"noCacheDefault": true,
|
|
91
|
+
"required": true,
|
|
92
|
+
"summary": "The Salesforce org to push assets to.",
|
|
93
|
+
"hasDynamicHelp": true,
|
|
94
|
+
"multiple": false,
|
|
95
|
+
"type": "option"
|
|
96
|
+
},
|
|
97
|
+
"delete": {
|
|
98
|
+
"char": "d",
|
|
99
|
+
"description": "If specified, any form templates or permissions that exist in the org but not in the local project will be deleted.",
|
|
100
|
+
"name": "delete",
|
|
101
|
+
"summary": "Delete assets in the org that do not exist locally.",
|
|
102
|
+
"allowNo": false,
|
|
103
|
+
"type": "boolean"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"hasDynamicHelp": true,
|
|
107
|
+
"hiddenAliases": [],
|
|
108
|
+
"id": "sharinpix:push",
|
|
109
|
+
"pluginAlias": "@sharinpix/sharinpix-sf-cli",
|
|
110
|
+
"pluginName": "@sharinpix/sharinpix-sf-cli",
|
|
111
|
+
"pluginType": "core",
|
|
112
|
+
"strict": true,
|
|
113
|
+
"summary": "Push all SharinPix assets (forms and permissions) to Salesforce org.",
|
|
114
|
+
"enableJsonFlag": true,
|
|
115
|
+
"isESM": true,
|
|
116
|
+
"relativePath": [
|
|
117
|
+
"lib",
|
|
118
|
+
"commands",
|
|
119
|
+
"sharinpix",
|
|
120
|
+
"push.js"
|
|
121
|
+
],
|
|
122
|
+
"aliasPermutations": [],
|
|
123
|
+
"permutations": [
|
|
124
|
+
"sharinpix:push",
|
|
125
|
+
"push:sharinpix"
|
|
126
|
+
]
|
|
127
|
+
},
|
|
3
128
|
"sharinpix:form:csv2json": {
|
|
4
129
|
"aliases": [],
|
|
5
130
|
"args": {},
|
|
@@ -391,5 +516,5 @@
|
|
|
391
516
|
]
|
|
392
517
|
}
|
|
393
518
|
},
|
|
394
|
-
"version": "1.
|
|
519
|
+
"version": "1.10.0"
|
|
395
520
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharinpix/sharinpix-sf-cli",
|
|
3
3
|
"description": "SharinPix salesforce cli plugin",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.10.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@oclif/core": "^4",
|
|
7
7
|
"@salesforce/core": "^8",
|
|
@@ -181,15 +181,15 @@
|
|
|
181
181
|
},
|
|
182
182
|
"devDependencies": {
|
|
183
183
|
"@oclif/plugin-command-snapshot": "^5.1.9",
|
|
184
|
-
"@salesforce/cli-plugins-testkit": "^5.3.
|
|
184
|
+
"@salesforce/cli-plugins-testkit": "^5.3.41",
|
|
185
185
|
"@salesforce/dev-scripts": "^10",
|
|
186
186
|
"@types/mocha": "^10.0.7",
|
|
187
187
|
"@types/mock-fs": "^4.13.4",
|
|
188
188
|
"cross-env": "^7.0.3",
|
|
189
|
-
"eslint-plugin-sf-plugin": "^1.
|
|
189
|
+
"eslint-plugin-sf-plugin": "^1.20.33",
|
|
190
190
|
"husky": "^9.1.7",
|
|
191
191
|
"mock-fs": "^5.5.0",
|
|
192
|
-
"oclif": "^4.
|
|
192
|
+
"oclif": "^4.22.67",
|
|
193
193
|
"semantic-release": "^24.2.7",
|
|
194
194
|
"ts-node": "^10.9.2",
|
|
195
195
|
"typescript": "^5.9.2"
|