sfdx-hardis 6.4.3 → 6.4.4
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/CHANGELOG.md +5 -0
- package/lib/commands/hardis/org/diagnose/unsecure-connected-apps.js +32 -3
- package/lib/commands/hardis/org/diagnose/unsecure-connected-apps.js.map +1 -1
- package/lib/common/utils/index.js +6 -2
- package/lib/common/utils/index.js.map +1 -1
- package/oclif.manifest.json +763 -763
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -57,12 +57,13 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:
|
|
60
|
+
"hardis:auth:login": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
|
-
"description": "\n## Command Behavior\n\n**
|
|
63
|
+
"description": "\n## Command Behavior\n\n**Authenticates to a Salesforce org, primarily designed for CI/CD workflows.**\n\nThis command facilitates secure and automated logins to Salesforce organizations within continuous integration and continuous delivery pipelines. It leverages pre-configured authentication details, ensuring that CI/CD processes can interact with Salesforce without manual intervention.\n\nKey aspects:\n\n- **Configuration-Driven:** It relies on authentication variables and files set up by dedicated configuration commands:\n - For CI/CD repositories: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n - For Monitoring repositories: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n- **Technical Org Support:** Supports authentication to a 'technical org' (e.g., for calling Agentforce from another org) by utilizing the `SFDX_AUTH_URL_TECHNICAL_ORG` environment variable. If this variable is set, the command authenticates to this org with the alias `TECHNICAL_ORG`.\n\nTo obtain the `SFDX_AUTH_URL_TECHNICAL_ORG` value, you can run `sf org display --verbose --json` and copy the `sfdxAuthUrl` field from the output.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical flow involves:\n\n- **Flag Parsing:** It parses command-line flags such as `instanceurl`, `devhub`, `scratchorg`, and `debug` to determine the authentication context.\n- **Authentication Hook:** It triggers an internal authentication hook (`this.config.runHook('auth', ...`)) which is responsible for executing the actual authentication logic based on the provided flags (e.g., whether it's a Dev Hub or a scratch org).\n- **Environment Variable Check:** It checks for the presence of `SFDX_AUTH_URL_TECHNICAL_ORG` or `TECHNICAL_ORG_ALIAS` environment variables.\n- **`authOrg` Utility:** If a technical org is configured, it calls the `authOrg` utility function to perform the authentication for that specific org, ensuring it's connected and available for subsequent operations.\n- **Salesforce CLI Integration:** It integrates with the Salesforce CLI's authentication mechanisms to establish and manage org connections.\n</details>\n",
|
|
64
64
|
"examples": [
|
|
65
|
-
"$ sf hardis:
|
|
65
|
+
"$ sf hardis:auth:login",
|
|
66
|
+
"CI=true sf hardis:auth:login"
|
|
66
67
|
],
|
|
67
68
|
"flags": {
|
|
68
69
|
"json": {
|
|
@@ -80,6 +81,28 @@
|
|
|
80
81
|
"multiple": false,
|
|
81
82
|
"type": "option"
|
|
82
83
|
},
|
|
84
|
+
"instanceurl": {
|
|
85
|
+
"char": "r",
|
|
86
|
+
"description": "URL of org instance",
|
|
87
|
+
"name": "instanceurl",
|
|
88
|
+
"hasDynamicHelp": false,
|
|
89
|
+
"multiple": false,
|
|
90
|
+
"type": "option"
|
|
91
|
+
},
|
|
92
|
+
"devhub": {
|
|
93
|
+
"char": "h",
|
|
94
|
+
"description": "Also connect associated DevHub",
|
|
95
|
+
"name": "devhub",
|
|
96
|
+
"allowNo": false,
|
|
97
|
+
"type": "boolean"
|
|
98
|
+
},
|
|
99
|
+
"scratchorg": {
|
|
100
|
+
"char": "s",
|
|
101
|
+
"description": "Scratch org",
|
|
102
|
+
"name": "scratchorg",
|
|
103
|
+
"allowNo": false,
|
|
104
|
+
"type": "boolean"
|
|
105
|
+
},
|
|
83
106
|
"debug": {
|
|
84
107
|
"char": "d",
|
|
85
108
|
"description": "Activate debug mode (more logs)",
|
|
@@ -103,42 +126,38 @@
|
|
|
103
126
|
},
|
|
104
127
|
"hasDynamicHelp": false,
|
|
105
128
|
"hiddenAliases": [],
|
|
106
|
-
"id": "hardis:
|
|
129
|
+
"id": "hardis:auth:login",
|
|
107
130
|
"pluginAlias": "sfdx-hardis",
|
|
108
131
|
"pluginName": "sfdx-hardis",
|
|
109
132
|
"pluginType": "core",
|
|
110
133
|
"strict": true,
|
|
111
134
|
"enableJsonFlag": true,
|
|
112
|
-
"title": "
|
|
113
|
-
"uiConfig": {
|
|
114
|
-
"hide": true
|
|
115
|
-
},
|
|
135
|
+
"title": "Login",
|
|
116
136
|
"requiresProject": false,
|
|
117
137
|
"isESM": true,
|
|
118
138
|
"relativePath": [
|
|
119
139
|
"lib",
|
|
120
140
|
"commands",
|
|
121
141
|
"hardis",
|
|
122
|
-
"
|
|
123
|
-
"
|
|
142
|
+
"auth",
|
|
143
|
+
"login.js"
|
|
124
144
|
],
|
|
125
145
|
"aliasPermutations": [],
|
|
126
146
|
"permutations": [
|
|
127
|
-
"hardis:
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"hardis:
|
|
131
|
-
"
|
|
132
|
-
"
|
|
147
|
+
"hardis:auth:login",
|
|
148
|
+
"auth:hardis:login",
|
|
149
|
+
"auth:login:hardis",
|
|
150
|
+
"hardis:login:auth",
|
|
151
|
+
"login:hardis:auth",
|
|
152
|
+
"login:auth:hardis"
|
|
133
153
|
]
|
|
134
154
|
},
|
|
135
|
-
"hardis:
|
|
155
|
+
"hardis:cache:clear": {
|
|
136
156
|
"aliases": [],
|
|
137
157
|
"args": {},
|
|
138
|
-
"description": "\n## Command Behavior\n\n**
|
|
158
|
+
"description": "\n## Command Behavior\n\n**Clears the local cache generated by the sfdx-hardis plugin.**\n\nThis command is designed to remove temporary files, stored configurations, and other cached data that sfdx-hardis uses to optimize its operations. Clearing the cache can be beneficial for:\n\n- **Troubleshooting:** Resolving unexpected behavior or inconsistencies.\n- **Disk Space Management:** Freeing up storage on your local machine.\n- **Ensuring Fresh Data:** Guaranteeing that the plugin operates with the most current data and configurations.\n\n## Technical explanations\n\nThe command's technical implementation is straightforward:\n\n- **Direct Function Call:** It directly invokes the `clearCache()` function, which is imported from \buri../../../common/cache/index.js\buri.\n- **Cache Management Logic:** The \buriclearCache()` function encapsulates the logic for identifying and removing the specific files and directories that constitute the sfdx-hardis cache.\n",
|
|
139
159
|
"examples": [
|
|
140
|
-
"$ sf hardis:
|
|
141
|
-
"CI=true sf hardis:auth:login"
|
|
160
|
+
"$ sf hardis:cache:clear"
|
|
142
161
|
],
|
|
143
162
|
"flags": {
|
|
144
163
|
"json": {
|
|
@@ -156,28 +175,6 @@
|
|
|
156
175
|
"multiple": false,
|
|
157
176
|
"type": "option"
|
|
158
177
|
},
|
|
159
|
-
"instanceurl": {
|
|
160
|
-
"char": "r",
|
|
161
|
-
"description": "URL of org instance",
|
|
162
|
-
"name": "instanceurl",
|
|
163
|
-
"hasDynamicHelp": false,
|
|
164
|
-
"multiple": false,
|
|
165
|
-
"type": "option"
|
|
166
|
-
},
|
|
167
|
-
"devhub": {
|
|
168
|
-
"char": "h",
|
|
169
|
-
"description": "Also connect associated DevHub",
|
|
170
|
-
"name": "devhub",
|
|
171
|
-
"allowNo": false,
|
|
172
|
-
"type": "boolean"
|
|
173
|
-
},
|
|
174
|
-
"scratchorg": {
|
|
175
|
-
"char": "s",
|
|
176
|
-
"description": "Scratch org",
|
|
177
|
-
"name": "scratchorg",
|
|
178
|
-
"allowNo": false,
|
|
179
|
-
"type": "boolean"
|
|
180
|
-
},
|
|
181
178
|
"debug": {
|
|
182
179
|
"char": "d",
|
|
183
180
|
"description": "Activate debug mode (more logs)",
|
|
@@ -201,30 +198,33 @@
|
|
|
201
198
|
},
|
|
202
199
|
"hasDynamicHelp": false,
|
|
203
200
|
"hiddenAliases": [],
|
|
204
|
-
"id": "hardis:
|
|
201
|
+
"id": "hardis:cache:clear",
|
|
205
202
|
"pluginAlias": "sfdx-hardis",
|
|
206
203
|
"pluginName": "sfdx-hardis",
|
|
207
204
|
"pluginType": "core",
|
|
208
205
|
"strict": true,
|
|
209
206
|
"enableJsonFlag": true,
|
|
210
|
-
"title": "
|
|
207
|
+
"title": "Clear sfdx-hardis cache",
|
|
208
|
+
"uiConfig": {
|
|
209
|
+
"hide": true
|
|
210
|
+
},
|
|
211
211
|
"requiresProject": false,
|
|
212
212
|
"isESM": true,
|
|
213
213
|
"relativePath": [
|
|
214
214
|
"lib",
|
|
215
215
|
"commands",
|
|
216
216
|
"hardis",
|
|
217
|
-
"
|
|
218
|
-
"
|
|
217
|
+
"cache",
|
|
218
|
+
"clear.js"
|
|
219
219
|
],
|
|
220
220
|
"aliasPermutations": [],
|
|
221
221
|
"permutations": [
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"hardis:
|
|
226
|
-
"
|
|
227
|
-
"
|
|
222
|
+
"hardis:cache:clear",
|
|
223
|
+
"cache:hardis:clear",
|
|
224
|
+
"cache:clear:hardis",
|
|
225
|
+
"hardis:clear:cache",
|
|
226
|
+
"clear:hardis:cache",
|
|
227
|
+
"clear:cache:hardis"
|
|
228
228
|
]
|
|
229
229
|
},
|
|
230
230
|
"hardis:config:get": {
|
|
@@ -5800,13 +5800,15 @@
|
|
|
5800
5800
|
"import:files:org:hardis"
|
|
5801
5801
|
]
|
|
5802
5802
|
},
|
|
5803
|
-
"hardis:org:
|
|
5803
|
+
"hardis:org:diagnose:audittrail": {
|
|
5804
5804
|
"aliases": [],
|
|
5805
5805
|
"args": {},
|
|
5806
|
-
"description": "
|
|
5806
|
+
"description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nAlso detects updates of Custom Settings values (disable by defining `SKIP_AUDIT_TRAIL_CUSTOM_SETTINGS=true`)\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n - revokeduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n - CSPUserDisabled\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- External Objects\n - xdsEncryptedFieldChange\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n - siqUserAcceptedTOS\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedofflineuseroffon\n - changedprofileforuserstdtostd\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserAdminVerifiedStatusVerified\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedknowledgeuseroffon\n - changedsfcontentuseroffon\n - changedsupportuseroffon\n - changedusername\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - changedUserPhoneVerifiedStatusVerified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suNetworkAdminLogin\n - suNetworkAdminLogout\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\n## Excel output example\n\n\n\n## Local output example\n\n\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-suspect-audit-trail/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
5807
5807
|
"examples": [
|
|
5808
|
-
"$ sf hardis:org:
|
|
5809
|
-
"$ sf hardis:org:
|
|
5808
|
+
"$ sf hardis:org:diagnose:audittrail",
|
|
5809
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5810
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5811
|
+
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5810
5812
|
],
|
|
5811
5813
|
"flags": {
|
|
5812
5814
|
"json": {
|
|
@@ -5824,10 +5826,26 @@
|
|
|
5824
5826
|
"multiple": false,
|
|
5825
5827
|
"type": "option"
|
|
5826
5828
|
},
|
|
5827
|
-
"
|
|
5828
|
-
"char": "
|
|
5829
|
-
"description": "Comma-separated list of
|
|
5830
|
-
"name": "
|
|
5829
|
+
"excludeusers": {
|
|
5830
|
+
"char": "e",
|
|
5831
|
+
"description": "Comma-separated list of usernames to exclude",
|
|
5832
|
+
"name": "excludeusers",
|
|
5833
|
+
"hasDynamicHelp": false,
|
|
5834
|
+
"multiple": false,
|
|
5835
|
+
"type": "option"
|
|
5836
|
+
},
|
|
5837
|
+
"lastndays": {
|
|
5838
|
+
"char": "t",
|
|
5839
|
+
"description": "Number of days to extract from today (included)",
|
|
5840
|
+
"name": "lastndays",
|
|
5841
|
+
"hasDynamicHelp": false,
|
|
5842
|
+
"multiple": false,
|
|
5843
|
+
"type": "option"
|
|
5844
|
+
},
|
|
5845
|
+
"outputfile": {
|
|
5846
|
+
"char": "f",
|
|
5847
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5848
|
+
"name": "outputfile",
|
|
5831
5849
|
"hasDynamicHelp": false,
|
|
5832
5850
|
"multiple": false,
|
|
5833
5851
|
"type": "option"
|
|
@@ -5870,59 +5888,57 @@
|
|
|
5870
5888
|
},
|
|
5871
5889
|
"hasDynamicHelp": true,
|
|
5872
5890
|
"hiddenAliases": [],
|
|
5873
|
-
"id": "hardis:org:
|
|
5891
|
+
"id": "hardis:org:diagnose:audittrail",
|
|
5874
5892
|
"pluginAlias": "sfdx-hardis",
|
|
5875
5893
|
"pluginName": "sfdx-hardis",
|
|
5876
5894
|
"pluginType": "core",
|
|
5877
5895
|
"strict": true,
|
|
5878
5896
|
"enableJsonFlag": true,
|
|
5879
|
-
"title": "
|
|
5880
|
-
"requiresProject":
|
|
5897
|
+
"title": "Diagnose content of Setup Audit Trail",
|
|
5898
|
+
"requiresProject": false,
|
|
5881
5899
|
"isESM": true,
|
|
5882
5900
|
"relativePath": [
|
|
5883
5901
|
"lib",
|
|
5884
5902
|
"commands",
|
|
5885
5903
|
"hardis",
|
|
5886
5904
|
"org",
|
|
5887
|
-
"
|
|
5888
|
-
"
|
|
5905
|
+
"diagnose",
|
|
5906
|
+
"audittrail.js"
|
|
5889
5907
|
],
|
|
5890
5908
|
"aliasPermutations": [],
|
|
5891
5909
|
"permutations": [
|
|
5892
|
-
"hardis:org:
|
|
5893
|
-
"org:hardis:
|
|
5894
|
-
"org:
|
|
5895
|
-
"org:
|
|
5896
|
-
"hardis:
|
|
5897
|
-
"
|
|
5898
|
-
"
|
|
5899
|
-
"
|
|
5900
|
-
"hardis:
|
|
5901
|
-
"
|
|
5902
|
-
"
|
|
5903
|
-
"
|
|
5904
|
-
"hardis:org:
|
|
5905
|
-
"org:hardis:
|
|
5906
|
-
"org:
|
|
5907
|
-
"org:
|
|
5908
|
-
"hardis:
|
|
5909
|
-
"
|
|
5910
|
-
"
|
|
5911
|
-
"
|
|
5912
|
-
"hardis:
|
|
5913
|
-
"
|
|
5914
|
-
"
|
|
5915
|
-
"
|
|
5910
|
+
"hardis:org:diagnose:audittrail",
|
|
5911
|
+
"org:hardis:diagnose:audittrail",
|
|
5912
|
+
"org:diagnose:hardis:audittrail",
|
|
5913
|
+
"org:diagnose:audittrail:hardis",
|
|
5914
|
+
"hardis:diagnose:org:audittrail",
|
|
5915
|
+
"diagnose:hardis:org:audittrail",
|
|
5916
|
+
"diagnose:org:hardis:audittrail",
|
|
5917
|
+
"diagnose:org:audittrail:hardis",
|
|
5918
|
+
"hardis:diagnose:audittrail:org",
|
|
5919
|
+
"diagnose:hardis:audittrail:org",
|
|
5920
|
+
"diagnose:audittrail:hardis:org",
|
|
5921
|
+
"diagnose:audittrail:org:hardis",
|
|
5922
|
+
"hardis:org:audittrail:diagnose",
|
|
5923
|
+
"org:hardis:audittrail:diagnose",
|
|
5924
|
+
"org:audittrail:hardis:diagnose",
|
|
5925
|
+
"org:audittrail:diagnose:hardis",
|
|
5926
|
+
"hardis:audittrail:org:diagnose",
|
|
5927
|
+
"audittrail:hardis:org:diagnose",
|
|
5928
|
+
"audittrail:org:hardis:diagnose",
|
|
5929
|
+
"audittrail:org:diagnose:hardis",
|
|
5930
|
+
"hardis:audittrail:diagnose:org",
|
|
5931
|
+
"audittrail:hardis:diagnose:org",
|
|
5932
|
+
"audittrail:diagnose:hardis:org",
|
|
5933
|
+
"audittrail:diagnose:org:hardis"
|
|
5916
5934
|
]
|
|
5917
5935
|
},
|
|
5918
|
-
"hardis:org:
|
|
5936
|
+
"hardis:org:diagnose:instanceupgrade": {
|
|
5919
5937
|
"aliases": [],
|
|
5920
5938
|
"args": {},
|
|
5921
|
-
"description": "\n## Command Behavior\n\n**
|
|
5939
|
+
"description": "\n## Command Behavior\n\n**Retrieves and displays the scheduled upgrade date for a Salesforce org's instance.**\n\nThis command provides crucial information about when your Salesforce instance will be upgraded to the next major release (Spring, Summer, or Winter). This is vital for release planning, testing, and ensuring compatibility with upcoming Salesforce features.\n\nKey functionalities:\n\n- **Instance Identification:** Determines the Salesforce instance name of your target org.\n- **Upgrade Date Retrieval:** Fetches the planned start time of the next major core service upgrade for that instance from the Salesforce Status API.\n- **Days Until Upgrade:** Calculates and displays the number of days remaining until the next major upgrade.\n- **Severity-Based Logging:** Adjusts the log severity (info, warning) based on the proximity of the upgrade date, providing a visual cue for urgency.\n- **Notifications:** Sends notifications to configured channels (e.g., Slack, MS Teams, Grafana) with the upgrade information, making it suitable for automated monitoring.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Salesforce SOQL Query:** It first queries the `Organization` object in Salesforce to get the `InstanceName` of the target org.\n- **Salesforce Status API Integration:** It makes an HTTP GET request to the Salesforce Status API (`https://api.status.salesforce.com/v1/instances/{instanceName}/status`) to retrieve detailed information about the instance, including scheduled maintenances.\n- **Data Parsing:** It parses the JSON response from the Status API to extract the relevant major release upgrade information.\n- **Date Calculation:** Uses the `moment` library to calculate the difference in days between the current date and the planned upgrade date.\n- **Notification Integration:** It integrates with the `NotifProvider` to send notifications, including the instance name, upgrade date, and days remaining, along with relevant metrics for monitoring dashboards.\n- **User Feedback:** Provides clear messages to the user about the upgrade status and proximity.\n</details>\n",
|
|
5922
5940
|
"examples": [
|
|
5923
|
-
"$ sf hardis:org:
|
|
5924
|
-
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
5925
|
-
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
5941
|
+
"$ sf hardis:org:diagnose:instanceupgrade"
|
|
5926
5942
|
],
|
|
5927
5943
|
"flags": {
|
|
5928
5944
|
"json": {
|
|
@@ -5940,13 +5956,6 @@
|
|
|
5940
5956
|
"multiple": false,
|
|
5941
5957
|
"type": "option"
|
|
5942
5958
|
},
|
|
5943
|
-
"outputfile": {
|
|
5944
|
-
"description": "Output package.xml file",
|
|
5945
|
-
"name": "outputfile",
|
|
5946
|
-
"hasDynamicHelp": false,
|
|
5947
|
-
"multiple": false,
|
|
5948
|
-
"type": "option"
|
|
5949
|
-
},
|
|
5950
5959
|
"debug": {
|
|
5951
5960
|
"char": "d",
|
|
5952
5961
|
"description": "Activate debug mode (more logs)",
|
|
@@ -5954,13 +5963,6 @@
|
|
|
5954
5963
|
"allowNo": false,
|
|
5955
5964
|
"type": "boolean"
|
|
5956
5965
|
},
|
|
5957
|
-
"no-prompt": {
|
|
5958
|
-
"char": "n",
|
|
5959
|
-
"description": "Do not prompt for org username, use the default one",
|
|
5960
|
-
"name": "no-prompt",
|
|
5961
|
-
"allowNo": false,
|
|
5962
|
-
"type": "boolean"
|
|
5963
|
-
},
|
|
5964
5966
|
"websocket": {
|
|
5965
5967
|
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5966
5968
|
"name": "websocket",
|
|
@@ -5992,13 +5994,13 @@
|
|
|
5992
5994
|
},
|
|
5993
5995
|
"hasDynamicHelp": true,
|
|
5994
5996
|
"hiddenAliases": [],
|
|
5995
|
-
"id": "hardis:org:
|
|
5997
|
+
"id": "hardis:org:diagnose:instanceupgrade",
|
|
5996
5998
|
"pluginAlias": "sfdx-hardis",
|
|
5997
5999
|
"pluginName": "sfdx-hardis",
|
|
5998
6000
|
"pluginType": "core",
|
|
5999
6001
|
"strict": true,
|
|
6000
6002
|
"enableJsonFlag": true,
|
|
6001
|
-
"title": "
|
|
6003
|
+
"title": "Get Instance Upgrade date",
|
|
6002
6004
|
"requiresProject": false,
|
|
6003
6005
|
"isESM": true,
|
|
6004
6006
|
"relativePath": [
|
|
@@ -6006,247 +6008,8 @@
|
|
|
6006
6008
|
"commands",
|
|
6007
6009
|
"hardis",
|
|
6008
6010
|
"org",
|
|
6009
|
-
"
|
|
6010
|
-
"
|
|
6011
|
-
],
|
|
6012
|
-
"aliasPermutations": [],
|
|
6013
|
-
"permutations": [
|
|
6014
|
-
"hardis:org:generate:packagexmlfull",
|
|
6015
|
-
"org:hardis:generate:packagexmlfull",
|
|
6016
|
-
"org:generate:hardis:packagexmlfull",
|
|
6017
|
-
"org:generate:packagexmlfull:hardis",
|
|
6018
|
-
"hardis:generate:org:packagexmlfull",
|
|
6019
|
-
"generate:hardis:org:packagexmlfull",
|
|
6020
|
-
"generate:org:hardis:packagexmlfull",
|
|
6021
|
-
"generate:org:packagexmlfull:hardis",
|
|
6022
|
-
"hardis:generate:packagexmlfull:org",
|
|
6023
|
-
"generate:hardis:packagexmlfull:org",
|
|
6024
|
-
"generate:packagexmlfull:hardis:org",
|
|
6025
|
-
"generate:packagexmlfull:org:hardis",
|
|
6026
|
-
"hardis:org:packagexmlfull:generate",
|
|
6027
|
-
"org:hardis:packagexmlfull:generate",
|
|
6028
|
-
"org:packagexmlfull:hardis:generate",
|
|
6029
|
-
"org:packagexmlfull:generate:hardis",
|
|
6030
|
-
"hardis:packagexmlfull:org:generate",
|
|
6031
|
-
"packagexmlfull:hardis:org:generate",
|
|
6032
|
-
"packagexmlfull:org:hardis:generate",
|
|
6033
|
-
"packagexmlfull:org:generate:hardis",
|
|
6034
|
-
"hardis:packagexmlfull:generate:org",
|
|
6035
|
-
"packagexmlfull:hardis:generate:org",
|
|
6036
|
-
"packagexmlfull:generate:hardis:org",
|
|
6037
|
-
"packagexmlfull:generate:org:hardis"
|
|
6038
|
-
]
|
|
6039
|
-
},
|
|
6040
|
-
"hardis:org:diagnose:audittrail": {
|
|
6041
|
-
"aliases": [],
|
|
6042
|
-
"args": {},
|
|
6043
|
-
"description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nAlso detects updates of Custom Settings values (disable by defining `SKIP_AUDIT_TRAIL_CUSTOM_SETTINGS=true`)\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n - revokeduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n - CSPUserDisabled\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- External Objects\n - xdsEncryptedFieldChange\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n - siqUserAcceptedTOS\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedofflineuseroffon\n - changedprofileforuserstdtostd\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserAdminVerifiedStatusVerified\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedknowledgeuseroffon\n - changedsfcontentuseroffon\n - changedsupportuseroffon\n - changedusername\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - changedUserPhoneVerifiedStatusVerified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suNetworkAdminLogin\n - suNetworkAdminLogout\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\n## Excel output example\n\n\n\n## Local output example\n\n\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-suspect-audit-trail/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
6044
|
-
"examples": [
|
|
6045
|
-
"$ sf hardis:org:diagnose:audittrail",
|
|
6046
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
6047
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
6048
|
-
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
6049
|
-
],
|
|
6050
|
-
"flags": {
|
|
6051
|
-
"json": {
|
|
6052
|
-
"description": "Format output as json.",
|
|
6053
|
-
"helpGroup": "GLOBAL",
|
|
6054
|
-
"name": "json",
|
|
6055
|
-
"allowNo": false,
|
|
6056
|
-
"type": "boolean"
|
|
6057
|
-
},
|
|
6058
|
-
"flags-dir": {
|
|
6059
|
-
"helpGroup": "GLOBAL",
|
|
6060
|
-
"name": "flags-dir",
|
|
6061
|
-
"summary": "Import flag values from a directory.",
|
|
6062
|
-
"hasDynamicHelp": false,
|
|
6063
|
-
"multiple": false,
|
|
6064
|
-
"type": "option"
|
|
6065
|
-
},
|
|
6066
|
-
"excludeusers": {
|
|
6067
|
-
"char": "e",
|
|
6068
|
-
"description": "Comma-separated list of usernames to exclude",
|
|
6069
|
-
"name": "excludeusers",
|
|
6070
|
-
"hasDynamicHelp": false,
|
|
6071
|
-
"multiple": false,
|
|
6072
|
-
"type": "option"
|
|
6073
|
-
},
|
|
6074
|
-
"lastndays": {
|
|
6075
|
-
"char": "t",
|
|
6076
|
-
"description": "Number of days to extract from today (included)",
|
|
6077
|
-
"name": "lastndays",
|
|
6078
|
-
"hasDynamicHelp": false,
|
|
6079
|
-
"multiple": false,
|
|
6080
|
-
"type": "option"
|
|
6081
|
-
},
|
|
6082
|
-
"outputfile": {
|
|
6083
|
-
"char": "f",
|
|
6084
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
6085
|
-
"name": "outputfile",
|
|
6086
|
-
"hasDynamicHelp": false,
|
|
6087
|
-
"multiple": false,
|
|
6088
|
-
"type": "option"
|
|
6089
|
-
},
|
|
6090
|
-
"debug": {
|
|
6091
|
-
"char": "d",
|
|
6092
|
-
"description": "Activate debug mode (more logs)",
|
|
6093
|
-
"name": "debug",
|
|
6094
|
-
"allowNo": false,
|
|
6095
|
-
"type": "boolean"
|
|
6096
|
-
},
|
|
6097
|
-
"websocket": {
|
|
6098
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6099
|
-
"name": "websocket",
|
|
6100
|
-
"hasDynamicHelp": false,
|
|
6101
|
-
"multiple": false,
|
|
6102
|
-
"type": "option"
|
|
6103
|
-
},
|
|
6104
|
-
"skipauth": {
|
|
6105
|
-
"description": "Skip authentication check when a default username is required",
|
|
6106
|
-
"name": "skipauth",
|
|
6107
|
-
"allowNo": false,
|
|
6108
|
-
"type": "boolean"
|
|
6109
|
-
},
|
|
6110
|
-
"target-org": {
|
|
6111
|
-
"aliases": [
|
|
6112
|
-
"targetusername",
|
|
6113
|
-
"u"
|
|
6114
|
-
],
|
|
6115
|
-
"char": "o",
|
|
6116
|
-
"deprecateAliases": true,
|
|
6117
|
-
"name": "target-org",
|
|
6118
|
-
"noCacheDefault": true,
|
|
6119
|
-
"required": true,
|
|
6120
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6121
|
-
"hasDynamicHelp": true,
|
|
6122
|
-
"multiple": false,
|
|
6123
|
-
"type": "option"
|
|
6124
|
-
}
|
|
6125
|
-
},
|
|
6126
|
-
"hasDynamicHelp": true,
|
|
6127
|
-
"hiddenAliases": [],
|
|
6128
|
-
"id": "hardis:org:diagnose:audittrail",
|
|
6129
|
-
"pluginAlias": "sfdx-hardis",
|
|
6130
|
-
"pluginName": "sfdx-hardis",
|
|
6131
|
-
"pluginType": "core",
|
|
6132
|
-
"strict": true,
|
|
6133
|
-
"enableJsonFlag": true,
|
|
6134
|
-
"title": "Diagnose content of Setup Audit Trail",
|
|
6135
|
-
"requiresProject": false,
|
|
6136
|
-
"isESM": true,
|
|
6137
|
-
"relativePath": [
|
|
6138
|
-
"lib",
|
|
6139
|
-
"commands",
|
|
6140
|
-
"hardis",
|
|
6141
|
-
"org",
|
|
6142
|
-
"diagnose",
|
|
6143
|
-
"audittrail.js"
|
|
6144
|
-
],
|
|
6145
|
-
"aliasPermutations": [],
|
|
6146
|
-
"permutations": [
|
|
6147
|
-
"hardis:org:diagnose:audittrail",
|
|
6148
|
-
"org:hardis:diagnose:audittrail",
|
|
6149
|
-
"org:diagnose:hardis:audittrail",
|
|
6150
|
-
"org:diagnose:audittrail:hardis",
|
|
6151
|
-
"hardis:diagnose:org:audittrail",
|
|
6152
|
-
"diagnose:hardis:org:audittrail",
|
|
6153
|
-
"diagnose:org:hardis:audittrail",
|
|
6154
|
-
"diagnose:org:audittrail:hardis",
|
|
6155
|
-
"hardis:diagnose:audittrail:org",
|
|
6156
|
-
"diagnose:hardis:audittrail:org",
|
|
6157
|
-
"diagnose:audittrail:hardis:org",
|
|
6158
|
-
"diagnose:audittrail:org:hardis",
|
|
6159
|
-
"hardis:org:audittrail:diagnose",
|
|
6160
|
-
"org:hardis:audittrail:diagnose",
|
|
6161
|
-
"org:audittrail:hardis:diagnose",
|
|
6162
|
-
"org:audittrail:diagnose:hardis",
|
|
6163
|
-
"hardis:audittrail:org:diagnose",
|
|
6164
|
-
"audittrail:hardis:org:diagnose",
|
|
6165
|
-
"audittrail:org:hardis:diagnose",
|
|
6166
|
-
"audittrail:org:diagnose:hardis",
|
|
6167
|
-
"hardis:audittrail:diagnose:org",
|
|
6168
|
-
"audittrail:hardis:diagnose:org",
|
|
6169
|
-
"audittrail:diagnose:hardis:org",
|
|
6170
|
-
"audittrail:diagnose:org:hardis"
|
|
6171
|
-
]
|
|
6172
|
-
},
|
|
6173
|
-
"hardis:org:diagnose:instanceupgrade": {
|
|
6174
|
-
"aliases": [],
|
|
6175
|
-
"args": {},
|
|
6176
|
-
"description": "\n## Command Behavior\n\n**Retrieves and displays the scheduled upgrade date for a Salesforce org's instance.**\n\nThis command provides crucial information about when your Salesforce instance will be upgraded to the next major release (Spring, Summer, or Winter). This is vital for release planning, testing, and ensuring compatibility with upcoming Salesforce features.\n\nKey functionalities:\n\n- **Instance Identification:** Determines the Salesforce instance name of your target org.\n- **Upgrade Date Retrieval:** Fetches the planned start time of the next major core service upgrade for that instance from the Salesforce Status API.\n- **Days Until Upgrade:** Calculates and displays the number of days remaining until the next major upgrade.\n- **Severity-Based Logging:** Adjusts the log severity (info, warning) based on the proximity of the upgrade date, providing a visual cue for urgency.\n- **Notifications:** Sends notifications to configured channels (e.g., Slack, MS Teams, Grafana) with the upgrade information, making it suitable for automated monitoring.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Salesforce SOQL Query:** It first queries the `Organization` object in Salesforce to get the `InstanceName` of the target org.\n- **Salesforce Status API Integration:** It makes an HTTP GET request to the Salesforce Status API (`https://api.status.salesforce.com/v1/instances/{instanceName}/status`) to retrieve detailed information about the instance, including scheduled maintenances.\n- **Data Parsing:** It parses the JSON response from the Status API to extract the relevant major release upgrade information.\n- **Date Calculation:** Uses the `moment` library to calculate the difference in days between the current date and the planned upgrade date.\n- **Notification Integration:** It integrates with the `NotifProvider` to send notifications, including the instance name, upgrade date, and days remaining, along with relevant metrics for monitoring dashboards.\n- **User Feedback:** Provides clear messages to the user about the upgrade status and proximity.\n</details>\n",
|
|
6177
|
-
"examples": [
|
|
6178
|
-
"$ sf hardis:org:diagnose:instanceupgrade"
|
|
6179
|
-
],
|
|
6180
|
-
"flags": {
|
|
6181
|
-
"json": {
|
|
6182
|
-
"description": "Format output as json.",
|
|
6183
|
-
"helpGroup": "GLOBAL",
|
|
6184
|
-
"name": "json",
|
|
6185
|
-
"allowNo": false,
|
|
6186
|
-
"type": "boolean"
|
|
6187
|
-
},
|
|
6188
|
-
"flags-dir": {
|
|
6189
|
-
"helpGroup": "GLOBAL",
|
|
6190
|
-
"name": "flags-dir",
|
|
6191
|
-
"summary": "Import flag values from a directory.",
|
|
6192
|
-
"hasDynamicHelp": false,
|
|
6193
|
-
"multiple": false,
|
|
6194
|
-
"type": "option"
|
|
6195
|
-
},
|
|
6196
|
-
"debug": {
|
|
6197
|
-
"char": "d",
|
|
6198
|
-
"description": "Activate debug mode (more logs)",
|
|
6199
|
-
"name": "debug",
|
|
6200
|
-
"allowNo": false,
|
|
6201
|
-
"type": "boolean"
|
|
6202
|
-
},
|
|
6203
|
-
"websocket": {
|
|
6204
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6205
|
-
"name": "websocket",
|
|
6206
|
-
"hasDynamicHelp": false,
|
|
6207
|
-
"multiple": false,
|
|
6208
|
-
"type": "option"
|
|
6209
|
-
},
|
|
6210
|
-
"skipauth": {
|
|
6211
|
-
"description": "Skip authentication check when a default username is required",
|
|
6212
|
-
"name": "skipauth",
|
|
6213
|
-
"allowNo": false,
|
|
6214
|
-
"type": "boolean"
|
|
6215
|
-
},
|
|
6216
|
-
"target-org": {
|
|
6217
|
-
"aliases": [
|
|
6218
|
-
"targetusername",
|
|
6219
|
-
"u"
|
|
6220
|
-
],
|
|
6221
|
-
"char": "o",
|
|
6222
|
-
"deprecateAliases": true,
|
|
6223
|
-
"name": "target-org",
|
|
6224
|
-
"noCacheDefault": true,
|
|
6225
|
-
"required": true,
|
|
6226
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6227
|
-
"hasDynamicHelp": true,
|
|
6228
|
-
"multiple": false,
|
|
6229
|
-
"type": "option"
|
|
6230
|
-
}
|
|
6231
|
-
},
|
|
6232
|
-
"hasDynamicHelp": true,
|
|
6233
|
-
"hiddenAliases": [],
|
|
6234
|
-
"id": "hardis:org:diagnose:instanceupgrade",
|
|
6235
|
-
"pluginAlias": "sfdx-hardis",
|
|
6236
|
-
"pluginName": "sfdx-hardis",
|
|
6237
|
-
"pluginType": "core",
|
|
6238
|
-
"strict": true,
|
|
6239
|
-
"enableJsonFlag": true,
|
|
6240
|
-
"title": "Get Instance Upgrade date",
|
|
6241
|
-
"requiresProject": false,
|
|
6242
|
-
"isESM": true,
|
|
6243
|
-
"relativePath": [
|
|
6244
|
-
"lib",
|
|
6245
|
-
"commands",
|
|
6246
|
-
"hardis",
|
|
6247
|
-
"org",
|
|
6248
|
-
"diagnose",
|
|
6249
|
-
"instanceupgrade.js"
|
|
6011
|
+
"diagnose",
|
|
6012
|
+
"instanceupgrade.js"
|
|
6250
6013
|
],
|
|
6251
6014
|
"aliasPermutations": [],
|
|
6252
6015
|
"permutations": [
|
|
@@ -7300,12 +7063,13 @@
|
|
|
7300
7063
|
"unusedusers:diagnose:org:hardis"
|
|
7301
7064
|
]
|
|
7302
7065
|
},
|
|
7303
|
-
"hardis:org:
|
|
7066
|
+
"hardis:org:fix:listviewmine": {
|
|
7304
7067
|
"aliases": [],
|
|
7305
7068
|
"args": {},
|
|
7306
|
-
"description": "
|
|
7069
|
+
"description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7)\n\nList of ListViews can be:\n\n- read from .sfdx-hardis.yml file in property **listViewsToSetToMine**\n- sent in argument listviews\n\nNote: property **listViewsToSetToMine** can be auto-generated by command hardis:work:save if .sfdx-hardis.yml contains the following configuration\n\n```yaml\nautoCleanTypes:\n - listViewsMine\n```\n\n- Example of sfdx-hardis.yml property `listViewsToSetToMine`:\n\n```yaml\nlistViewsToSetToMine:\n - \"force-app/main/default/objects/Operation__c/listViews/MyCurrentOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Operation__c/listViews/MyFinalizedOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MyCurrentSubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MySubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml\"\n```\n\n- If manually written, this could also be:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n",
|
|
7307
7070
|
"examples": [
|
|
7308
|
-
"$ sf hardis:org:
|
|
7071
|
+
"$ sf hardis:org:fix:listviewmine",
|
|
7072
|
+
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
7309
7073
|
],
|
|
7310
7074
|
"flags": {
|
|
7311
7075
|
"json": {
|
|
@@ -7323,6 +7087,14 @@
|
|
|
7323
7087
|
"multiple": false,
|
|
7324
7088
|
"type": "option"
|
|
7325
7089
|
},
|
|
7090
|
+
"listviews": {
|
|
7091
|
+
"char": "l",
|
|
7092
|
+
"description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
|
|
7093
|
+
"name": "listviews",
|
|
7094
|
+
"hasDynamicHelp": false,
|
|
7095
|
+
"multiple": false,
|
|
7096
|
+
"type": "option"
|
|
7097
|
+
},
|
|
7326
7098
|
"debug": {
|
|
7327
7099
|
"char": "d",
|
|
7328
7100
|
"description": "Activate debug mode (more logs)",
|
|
@@ -7361,42 +7133,270 @@
|
|
|
7361
7133
|
},
|
|
7362
7134
|
"hasDynamicHelp": true,
|
|
7363
7135
|
"hiddenAliases": [],
|
|
7364
|
-
"id": "hardis:org:
|
|
7136
|
+
"id": "hardis:org:fix:listviewmine",
|
|
7365
7137
|
"pluginAlias": "sfdx-hardis",
|
|
7366
7138
|
"pluginName": "sfdx-hardis",
|
|
7367
7139
|
"pluginType": "core",
|
|
7368
7140
|
"strict": true,
|
|
7369
7141
|
"enableJsonFlag": true,
|
|
7370
|
-
"title": "
|
|
7371
|
-
"
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7142
|
+
"title": "Fix listviews with ",
|
|
7143
|
+
"requiresProject": true,
|
|
7144
|
+
"isESM": true,
|
|
7145
|
+
"relativePath": [
|
|
7146
|
+
"lib",
|
|
7147
|
+
"commands",
|
|
7148
|
+
"hardis",
|
|
7149
|
+
"org",
|
|
7150
|
+
"fix",
|
|
7151
|
+
"listviewmine.js"
|
|
7152
|
+
],
|
|
7153
|
+
"aliasPermutations": [],
|
|
7154
|
+
"permutations": [
|
|
7155
|
+
"hardis:org:fix:listviewmine",
|
|
7156
|
+
"org:hardis:fix:listviewmine",
|
|
7157
|
+
"org:fix:hardis:listviewmine",
|
|
7158
|
+
"org:fix:listviewmine:hardis",
|
|
7159
|
+
"hardis:fix:org:listviewmine",
|
|
7160
|
+
"fix:hardis:org:listviewmine",
|
|
7161
|
+
"fix:org:hardis:listviewmine",
|
|
7162
|
+
"fix:org:listviewmine:hardis",
|
|
7163
|
+
"hardis:fix:listviewmine:org",
|
|
7164
|
+
"fix:hardis:listviewmine:org",
|
|
7165
|
+
"fix:listviewmine:hardis:org",
|
|
7166
|
+
"fix:listviewmine:org:hardis",
|
|
7167
|
+
"hardis:org:listviewmine:fix",
|
|
7168
|
+
"org:hardis:listviewmine:fix",
|
|
7169
|
+
"org:listviewmine:hardis:fix",
|
|
7170
|
+
"org:listviewmine:fix:hardis",
|
|
7171
|
+
"hardis:listviewmine:org:fix",
|
|
7172
|
+
"listviewmine:hardis:org:fix",
|
|
7173
|
+
"listviewmine:org:hardis:fix",
|
|
7174
|
+
"listviewmine:org:fix:hardis",
|
|
7175
|
+
"hardis:listviewmine:fix:org",
|
|
7176
|
+
"listviewmine:hardis:fix:org",
|
|
7177
|
+
"listviewmine:fix:hardis:org",
|
|
7178
|
+
"listviewmine:fix:org:hardis"
|
|
7179
|
+
]
|
|
7180
|
+
},
|
|
7181
|
+
"hardis:org:generate:packagexmlfull": {
|
|
7182
|
+
"aliases": [],
|
|
7183
|
+
"args": {},
|
|
7184
|
+
"description": "\n## Command Behavior\n\n**Generates a comprehensive `package.xml` file for a Salesforce org, including all metadata components, even managed ones.**\n\nThis command is essential for various Salesforce development and administration tasks, especially when you need a complete snapshot of an org's metadata. It goes beyond typical source tracking by including managed package components, which is crucial for understanding the full metadata footprint of an org.\n\nKey functionalities:\n\n- **Full Org Metadata Retrieval:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a complete list of all metadata types and their members.\n- **Managed Package Inclusion:** Unlike standard source retrieval, this command explicitly includes metadata from managed packages, providing a truly comprehensive `package.xml`.\n- **Customizable Output:** Allows you to specify the output file path for the generated `package.xml`.\n- **Interactive Org Selection:** If no target org is specified, it interactively prompts the user to choose an org. (or use --no-prompt to skip this step)\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Salesforce Metadata API Interaction:** It leverages the Salesforce Metadata API to list all available metadata types and then retrieve all components for each type.\n- **`buildOrgManifest` Utility:** The core logic for querying the org's metadata and constructing the `package.xml` is encapsulated within the `buildOrgManifest` utility function.\n- **XML Generation:** It dynamically builds the XML structure of the `package.xml` file, including the `types` and `members` elements for all retrieved metadata.\n- **File System Operations:** It writes the generated `package.xml` file to the specified output path.\n- **Interactive Prompts:** Uses `promptOrgUsernameDefault` to guide the user in selecting the target Salesforce org.\n</details>\n",
|
|
7185
|
+
"examples": [
|
|
7186
|
+
"$ sf hardis:org:generate:packagexmlfull",
|
|
7187
|
+
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
7188
|
+
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
7189
|
+
],
|
|
7190
|
+
"flags": {
|
|
7191
|
+
"json": {
|
|
7192
|
+
"description": "Format output as json.",
|
|
7193
|
+
"helpGroup": "GLOBAL",
|
|
7194
|
+
"name": "json",
|
|
7195
|
+
"allowNo": false,
|
|
7196
|
+
"type": "boolean"
|
|
7197
|
+
},
|
|
7198
|
+
"flags-dir": {
|
|
7199
|
+
"helpGroup": "GLOBAL",
|
|
7200
|
+
"name": "flags-dir",
|
|
7201
|
+
"summary": "Import flag values from a directory.",
|
|
7202
|
+
"hasDynamicHelp": false,
|
|
7203
|
+
"multiple": false,
|
|
7204
|
+
"type": "option"
|
|
7205
|
+
},
|
|
7206
|
+
"outputfile": {
|
|
7207
|
+
"description": "Output package.xml file",
|
|
7208
|
+
"name": "outputfile",
|
|
7209
|
+
"hasDynamicHelp": false,
|
|
7210
|
+
"multiple": false,
|
|
7211
|
+
"type": "option"
|
|
7212
|
+
},
|
|
7213
|
+
"debug": {
|
|
7214
|
+
"char": "d",
|
|
7215
|
+
"description": "Activate debug mode (more logs)",
|
|
7216
|
+
"name": "debug",
|
|
7217
|
+
"allowNo": false,
|
|
7218
|
+
"type": "boolean"
|
|
7219
|
+
},
|
|
7220
|
+
"no-prompt": {
|
|
7221
|
+
"char": "n",
|
|
7222
|
+
"description": "Do not prompt for org username, use the default one",
|
|
7223
|
+
"name": "no-prompt",
|
|
7224
|
+
"allowNo": false,
|
|
7225
|
+
"type": "boolean"
|
|
7226
|
+
},
|
|
7227
|
+
"websocket": {
|
|
7228
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
7229
|
+
"name": "websocket",
|
|
7230
|
+
"hasDynamicHelp": false,
|
|
7231
|
+
"multiple": false,
|
|
7232
|
+
"type": "option"
|
|
7233
|
+
},
|
|
7234
|
+
"skipauth": {
|
|
7235
|
+
"description": "Skip authentication check when a default username is required",
|
|
7236
|
+
"name": "skipauth",
|
|
7237
|
+
"allowNo": false,
|
|
7238
|
+
"type": "boolean"
|
|
7239
|
+
},
|
|
7240
|
+
"target-org": {
|
|
7241
|
+
"aliases": [
|
|
7242
|
+
"targetusername",
|
|
7243
|
+
"u"
|
|
7244
|
+
],
|
|
7245
|
+
"char": "o",
|
|
7246
|
+
"deprecateAliases": true,
|
|
7247
|
+
"name": "target-org",
|
|
7248
|
+
"noCacheDefault": true,
|
|
7249
|
+
"required": true,
|
|
7250
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
7251
|
+
"hasDynamicHelp": true,
|
|
7252
|
+
"multiple": false,
|
|
7253
|
+
"type": "option"
|
|
7254
|
+
}
|
|
7255
|
+
},
|
|
7256
|
+
"hasDynamicHelp": true,
|
|
7257
|
+
"hiddenAliases": [],
|
|
7258
|
+
"id": "hardis:org:generate:packagexmlfull",
|
|
7259
|
+
"pluginAlias": "sfdx-hardis",
|
|
7260
|
+
"pluginName": "sfdx-hardis",
|
|
7261
|
+
"pluginType": "core",
|
|
7262
|
+
"strict": true,
|
|
7263
|
+
"enableJsonFlag": true,
|
|
7264
|
+
"title": "Generate Full Org package.xml",
|
|
7265
|
+
"requiresProject": false,
|
|
7266
|
+
"isESM": true,
|
|
7267
|
+
"relativePath": [
|
|
7268
|
+
"lib",
|
|
7269
|
+
"commands",
|
|
7270
|
+
"hardis",
|
|
7271
|
+
"org",
|
|
7272
|
+
"generate",
|
|
7273
|
+
"packagexmlfull.js"
|
|
7274
|
+
],
|
|
7275
|
+
"aliasPermutations": [],
|
|
7276
|
+
"permutations": [
|
|
7277
|
+
"hardis:org:generate:packagexmlfull",
|
|
7278
|
+
"org:hardis:generate:packagexmlfull",
|
|
7279
|
+
"org:generate:hardis:packagexmlfull",
|
|
7280
|
+
"org:generate:packagexmlfull:hardis",
|
|
7281
|
+
"hardis:generate:org:packagexmlfull",
|
|
7282
|
+
"generate:hardis:org:packagexmlfull",
|
|
7283
|
+
"generate:org:hardis:packagexmlfull",
|
|
7284
|
+
"generate:org:packagexmlfull:hardis",
|
|
7285
|
+
"hardis:generate:packagexmlfull:org",
|
|
7286
|
+
"generate:hardis:packagexmlfull:org",
|
|
7287
|
+
"generate:packagexmlfull:hardis:org",
|
|
7288
|
+
"generate:packagexmlfull:org:hardis",
|
|
7289
|
+
"hardis:org:packagexmlfull:generate",
|
|
7290
|
+
"org:hardis:packagexmlfull:generate",
|
|
7291
|
+
"org:packagexmlfull:hardis:generate",
|
|
7292
|
+
"org:packagexmlfull:generate:hardis",
|
|
7293
|
+
"hardis:packagexmlfull:org:generate",
|
|
7294
|
+
"packagexmlfull:hardis:org:generate",
|
|
7295
|
+
"packagexmlfull:org:hardis:generate",
|
|
7296
|
+
"packagexmlfull:org:generate:hardis",
|
|
7297
|
+
"hardis:packagexmlfull:generate:org",
|
|
7298
|
+
"packagexmlfull:hardis:generate:org",
|
|
7299
|
+
"packagexmlfull:generate:hardis:org",
|
|
7300
|
+
"packagexmlfull:generate:org:hardis"
|
|
7301
|
+
]
|
|
7302
|
+
},
|
|
7303
|
+
"hardis:org:monitor:all": {
|
|
7304
|
+
"aliases": [],
|
|
7305
|
+
"args": {},
|
|
7306
|
+
"description": "Monitor org, generate reports and sends notifications\n\nYou can disable some commands defining either a **monitoringDisable** property in `.sfdx-hardis.yml`, or a comma separated list in env variable **MONITORING_DISABLE**\n\nExample in .sfdx-hardis.yml:\n \n```yaml\nmonitoringDisable:\n - METADATA_STATUS\n - MISSING_ATTRIBUTES\n - UNUSED_METADATAS\n```\n \nExample in env var:\n\n```sh\nMONITORING_DISABLE=METADATA_STATUS,MISSING_ATTRIBUTES,UNUSED_METADATAS\n```\n\nA [default list of monitoring commands](https://sfdx-hardis.cloudity.com/salesforce-monitoring-home/#monitoring-commands) is used, if you want to override it you can define property **monitoringCommands** in your .sfdx-hardis.yml file\n\nExample:\n\n```yaml\nmonitoringCommands:\n - title: My Custom command\n command: sf my:custom:command\n - title: My Custom command 2\n command: sf my:other:custom:command\n```\n\nYou can force the daily run of all commands by defining env var `MONITORING_IGNORE_FREQUENCY=true`\n\nThe default list of commands is the following:\n\n| Key | Description | Command | Frequency |\n| :---: | :---- | :---- | :-----: |\n| [AUDIT_TRAIL](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/audittrail) | Detect suspect setup actions in major org | [sf hardis:org:diagnose:audittrail](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/audittrail) | daily |\n| [LEGACY_API](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/legacyapi) | Detect calls to deprecated API versions | [sf hardis:org:diagnose:legacyapi](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/legacyapi) | daily |\n| [ORG_LIMITS](https://sfdx-hardis.cloudity.com/hardis/org/monitor/limits) | Detect if org limits are close to be reached | [sf hardis:org:monitor:limits](https://sfdx-hardis.cloudity.com/hardis/org/monitor/limits) | daily |\n| [UNSECURED_CONNECTED_APPS](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unsecure-connected-apps) | Detect unsecured Connected Apps in an org | [sf hardis:org:diagnose:unsecure-connected-apps](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unsecure-connected-apps) | daily |\n| [LICENSES](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/licenses) | Extract licenses information | [sf hardis:org:diagnose:licenses](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/licenses) | weekly |\n| [LINT_ACCESS](https://sfdx-hardis.cloudity.com/hardis/lint/access) | Detect custom elements with no access rights defined in permission sets | [sf hardis:lint:access](https://sfdx-hardis.cloudity.com/hardis/lint/access) | weekly |\n| [UNUSED_LICENSES](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedlicenses) | Detect permission set licenses that are assigned to users that do not need them | [sf hardis:org:diagnose:unusedlicenses](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedlicenses) | weekly |\n| [UNUSED_USERS](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedusers) | Detect active users without recent logins | [sf hardis:org:diagnose:unusedusers](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedusers) | weekly |\n| [ACTIVE_USERS](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedusers) | Detect active users with recent logins | [sf hardis:org:diagnose:unusedusers --returnactiveusers](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedusers) | weekly |\n| [ORG_INFO](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/instanceupgrade) | Get org info + SF instance info + next major upgrade date | [sf hardis:org:diagnose:instanceupgrade](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/instanceupgrade) | weekly |\n| [RELEASE_UPDATES](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/releaseupdates) | Gather warnings about incoming and overdue Release Updates | [sf hardis:org:diagnose:releaseupdates](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/releaseupdates) | weekly |\n| [UNUSED_METADATAS](https://sfdx-hardis.cloudity.com/hardis/lint/unusedmetadatas) | Detect custom labels and custom permissions that are not in use | [sf hardis:lint:unusedmetadatas](https://sfdx-hardis.cloudity.com/hardis/lint/unusedmetadatas) | weekly |\n| [UNUSED_APEX_CLASSES](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-apex-classes) | Detect unused Apex classes in an org | [sf hardis:org:diagnose:unused-apex-classes](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-apex-classes) | weekly |\n| [CONNECTED_APPS](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-connected-apps) | Detect unused Connected Apps in an org | [sf hardis:org:diagnose:unused-connected-apps](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-connected-apps) | weekly |\n| [METADATA_STATUS](https://sfdx-hardis.cloudity.com/hardis/lint/metadatastatus) | Detect inactive metadata | [sf hardis:lint:metadatastatus](https://sfdx-hardis.cloudity.com/hardis/lint/metadatastatus) | weekly |\n| [MISSING_ATTRIBUTES](https://sfdx-hardis.cloudity.com/hardis/lint/missingattributes) | Detect missing description on custom field | [sf hardis:lint:missingattributes](https://sfdx-hardis.cloudity.com/hardis/lint/missingattributes) | weekly |\n\n",
|
|
7307
|
+
"examples": [
|
|
7308
|
+
"$ sf hardis:org:monitor:all"
|
|
7309
|
+
],
|
|
7310
|
+
"flags": {
|
|
7311
|
+
"json": {
|
|
7312
|
+
"description": "Format output as json.",
|
|
7313
|
+
"helpGroup": "GLOBAL",
|
|
7314
|
+
"name": "json",
|
|
7315
|
+
"allowNo": false,
|
|
7316
|
+
"type": "boolean"
|
|
7317
|
+
},
|
|
7318
|
+
"flags-dir": {
|
|
7319
|
+
"helpGroup": "GLOBAL",
|
|
7320
|
+
"name": "flags-dir",
|
|
7321
|
+
"summary": "Import flag values from a directory.",
|
|
7322
|
+
"hasDynamicHelp": false,
|
|
7323
|
+
"multiple": false,
|
|
7324
|
+
"type": "option"
|
|
7325
|
+
},
|
|
7326
|
+
"debug": {
|
|
7327
|
+
"char": "d",
|
|
7328
|
+
"description": "Activate debug mode (more logs)",
|
|
7329
|
+
"name": "debug",
|
|
7330
|
+
"allowNo": false,
|
|
7331
|
+
"type": "boolean"
|
|
7332
|
+
},
|
|
7333
|
+
"websocket": {
|
|
7334
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
7335
|
+
"name": "websocket",
|
|
7336
|
+
"hasDynamicHelp": false,
|
|
7337
|
+
"multiple": false,
|
|
7338
|
+
"type": "option"
|
|
7339
|
+
},
|
|
7340
|
+
"skipauth": {
|
|
7341
|
+
"description": "Skip authentication check when a default username is required",
|
|
7342
|
+
"name": "skipauth",
|
|
7343
|
+
"allowNo": false,
|
|
7344
|
+
"type": "boolean"
|
|
7345
|
+
},
|
|
7346
|
+
"target-org": {
|
|
7347
|
+
"aliases": [
|
|
7348
|
+
"targetusername",
|
|
7349
|
+
"u"
|
|
7350
|
+
],
|
|
7351
|
+
"char": "o",
|
|
7352
|
+
"deprecateAliases": true,
|
|
7353
|
+
"name": "target-org",
|
|
7354
|
+
"noCacheDefault": true,
|
|
7355
|
+
"required": true,
|
|
7356
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
7357
|
+
"hasDynamicHelp": true,
|
|
7358
|
+
"multiple": false,
|
|
7359
|
+
"type": "option"
|
|
7360
|
+
}
|
|
7361
|
+
},
|
|
7362
|
+
"hasDynamicHelp": true,
|
|
7363
|
+
"hiddenAliases": [],
|
|
7364
|
+
"id": "hardis:org:monitor:all",
|
|
7365
|
+
"pluginAlias": "sfdx-hardis",
|
|
7366
|
+
"pluginName": "sfdx-hardis",
|
|
7367
|
+
"pluginType": "core",
|
|
7368
|
+
"strict": true,
|
|
7369
|
+
"enableJsonFlag": true,
|
|
7370
|
+
"title": "Monitor org",
|
|
7371
|
+
"monitoringCommandsDefault": [
|
|
7372
|
+
{
|
|
7373
|
+
"key": "AUDIT_TRAIL",
|
|
7374
|
+
"title": "Detect suspect setup actions in major org",
|
|
7375
|
+
"command": "sf hardis:org:diagnose:audittrail",
|
|
7376
|
+
"frequency": "daily"
|
|
7377
|
+
},
|
|
7378
|
+
{
|
|
7379
|
+
"key": "LEGACY_API",
|
|
7380
|
+
"title": "Detect calls to deprecated API versions",
|
|
7381
|
+
"command": "sf hardis:org:diagnose:legacyapi",
|
|
7382
|
+
"frequency": "daily"
|
|
7383
|
+
},
|
|
7384
|
+
{
|
|
7385
|
+
"key": "ORG_LIMITS",
|
|
7386
|
+
"title": "Detect if org limits are close to be reached",
|
|
7387
|
+
"command": "sf hardis:org:monitor:limits",
|
|
7388
|
+
"frequency": "daily"
|
|
7389
|
+
},
|
|
7390
|
+
{
|
|
7391
|
+
"key": "UNSECURED_CONNECTED_APPS",
|
|
7392
|
+
"title": "Detect unsecured Connected Apps in an org",
|
|
7393
|
+
"command": "sf hardis:org:diagnose:unsecure-connected-apps",
|
|
7394
|
+
"frequency": "daily"
|
|
7395
|
+
},
|
|
7396
|
+
{
|
|
7397
|
+
"key": "LICENSES",
|
|
7398
|
+
"title": "Extract licenses information",
|
|
7399
|
+
"command": "sf hardis:org:diagnose:licenses",
|
|
7400
7400
|
"frequency": "weekly"
|
|
7401
7401
|
},
|
|
7402
7402
|
{
|
|
@@ -11195,248 +11195,9 @@
|
|
|
11195
11195
|
"description": "Root folder",
|
|
11196
11196
|
"name": "folder",
|
|
11197
11197
|
"default": "force-app",
|
|
11198
|
-
"hasDynamicHelp": false,
|
|
11199
|
-
"multiple": false,
|
|
11200
|
-
"type": "option"
|
|
11201
|
-
},
|
|
11202
|
-
"websocket": {
|
|
11203
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11204
|
-
"name": "websocket",
|
|
11205
|
-
"hasDynamicHelp": false,
|
|
11206
|
-
"multiple": false,
|
|
11207
|
-
"type": "option"
|
|
11208
|
-
},
|
|
11209
|
-
"skipauth": {
|
|
11210
|
-
"description": "Skip authentication check when a default username is required",
|
|
11211
|
-
"name": "skipauth",
|
|
11212
|
-
"allowNo": false,
|
|
11213
|
-
"type": "boolean"
|
|
11214
|
-
},
|
|
11215
|
-
"delete": {
|
|
11216
|
-
"char": "d",
|
|
11217
|
-
"description": "Delete lines with System.debug",
|
|
11218
|
-
"name": "delete",
|
|
11219
|
-
"allowNo": false,
|
|
11220
|
-
"type": "boolean"
|
|
11221
|
-
}
|
|
11222
|
-
},
|
|
11223
|
-
"hasDynamicHelp": false,
|
|
11224
|
-
"hiddenAliases": [],
|
|
11225
|
-
"id": "hardis:project:clean:systemdebug",
|
|
11226
|
-
"pluginAlias": "sfdx-hardis",
|
|
11227
|
-
"pluginName": "sfdx-hardis",
|
|
11228
|
-
"pluginType": "core",
|
|
11229
|
-
"strict": true,
|
|
11230
|
-
"enableJsonFlag": true,
|
|
11231
|
-
"title": "Clean System debug",
|
|
11232
|
-
"requiresProject": true,
|
|
11233
|
-
"isESM": true,
|
|
11234
|
-
"relativePath": [
|
|
11235
|
-
"lib",
|
|
11236
|
-
"commands",
|
|
11237
|
-
"hardis",
|
|
11238
|
-
"project",
|
|
11239
|
-
"clean",
|
|
11240
|
-
"systemdebug.js"
|
|
11241
|
-
],
|
|
11242
|
-
"aliasPermutations": [],
|
|
11243
|
-
"permutations": [
|
|
11244
|
-
"hardis:project:clean:systemdebug",
|
|
11245
|
-
"project:hardis:clean:systemdebug",
|
|
11246
|
-
"project:clean:hardis:systemdebug",
|
|
11247
|
-
"project:clean:systemdebug:hardis",
|
|
11248
|
-
"hardis:clean:project:systemdebug",
|
|
11249
|
-
"clean:hardis:project:systemdebug",
|
|
11250
|
-
"clean:project:hardis:systemdebug",
|
|
11251
|
-
"clean:project:systemdebug:hardis",
|
|
11252
|
-
"hardis:clean:systemdebug:project",
|
|
11253
|
-
"clean:hardis:systemdebug:project",
|
|
11254
|
-
"clean:systemdebug:hardis:project",
|
|
11255
|
-
"clean:systemdebug:project:hardis",
|
|
11256
|
-
"hardis:project:systemdebug:clean",
|
|
11257
|
-
"project:hardis:systemdebug:clean",
|
|
11258
|
-
"project:systemdebug:hardis:clean",
|
|
11259
|
-
"project:systemdebug:clean:hardis",
|
|
11260
|
-
"hardis:systemdebug:project:clean",
|
|
11261
|
-
"systemdebug:hardis:project:clean",
|
|
11262
|
-
"systemdebug:project:hardis:clean",
|
|
11263
|
-
"systemdebug:project:clean:hardis",
|
|
11264
|
-
"hardis:systemdebug:clean:project",
|
|
11265
|
-
"systemdebug:hardis:clean:project",
|
|
11266
|
-
"systemdebug:clean:hardis:project",
|
|
11267
|
-
"systemdebug:clean:project:hardis"
|
|
11268
|
-
]
|
|
11269
|
-
},
|
|
11270
|
-
"hardis:project:clean:xml": {
|
|
11271
|
-
"aliases": [],
|
|
11272
|
-
"args": {},
|
|
11273
|
-
"description": "Remove XML elements using Glob patterns and XPath expressions\n \nThis can be very useful to avoid to always remove manually the same elements in the same XML file.\n\n- **globpattern** can be any glob pattern allowing to identify the XML files to update, for example `/**/*.flexipage-meta.xml`\n\n- **xpath** can be any xpath following the format `//ns:PARENT-TAG-NAME//ns:TAG-NAME[contains(text(),'TAG-VALUE')]`. If an element is found, the whole **PARENT-TAG-NAME** (with its subtree) will be removed.\n\n\n\nNote: If globpattern and xpath are not sent, elements defined in property **cleanXmlPatterns** in **.sfdx-hardis.yml** config file will be used\n \n ",
|
|
11274
|
-
"examples": [
|
|
11275
|
-
"$ sf hardis:project:clean:xml",
|
|
11276
|
-
"$ sf hardis:project:clean:xml --globpattern \"/**/*.flexipage-meta.xml\" --xpath \"//ns:flexiPageRegions//ns:name[contains(text(),'dashboardName')]\""
|
|
11277
|
-
],
|
|
11278
|
-
"flags": {
|
|
11279
|
-
"json": {
|
|
11280
|
-
"description": "Format output as json.",
|
|
11281
|
-
"helpGroup": "GLOBAL",
|
|
11282
|
-
"name": "json",
|
|
11283
|
-
"allowNo": false,
|
|
11284
|
-
"type": "boolean"
|
|
11285
|
-
},
|
|
11286
|
-
"flags-dir": {
|
|
11287
|
-
"helpGroup": "GLOBAL",
|
|
11288
|
-
"name": "flags-dir",
|
|
11289
|
-
"summary": "Import flag values from a directory.",
|
|
11290
|
-
"hasDynamicHelp": false,
|
|
11291
|
-
"multiple": false,
|
|
11292
|
-
"type": "option"
|
|
11293
|
-
},
|
|
11294
|
-
"folder": {
|
|
11295
|
-
"char": "f",
|
|
11296
|
-
"description": "Root folder",
|
|
11297
|
-
"name": "folder",
|
|
11298
|
-
"default": "force-app",
|
|
11299
|
-
"hasDynamicHelp": false,
|
|
11300
|
-
"multiple": false,
|
|
11301
|
-
"type": "option"
|
|
11302
|
-
},
|
|
11303
|
-
"globpattern": {
|
|
11304
|
-
"char": "p",
|
|
11305
|
-
"dependsOn": [
|
|
11306
|
-
"xpath"
|
|
11307
|
-
],
|
|
11308
|
-
"description": "Glob pattern to find files to clean. Ex: /**/*.flexipage-meta.xml",
|
|
11309
|
-
"name": "globpattern",
|
|
11310
|
-
"hasDynamicHelp": false,
|
|
11311
|
-
"multiple": false,
|
|
11312
|
-
"type": "option"
|
|
11313
|
-
},
|
|
11314
|
-
"xpath": {
|
|
11315
|
-
"char": "x",
|
|
11316
|
-
"dependsOn": [
|
|
11317
|
-
"globpattern"
|
|
11318
|
-
],
|
|
11319
|
-
"description": "XPath to use to detect the elements to remove. Ex: //ns:flexiPageRegions//ns:name[contains(text(),'dashboardName')]",
|
|
11320
|
-
"name": "xpath",
|
|
11321
|
-
"hasDynamicHelp": false,
|
|
11322
|
-
"multiple": false,
|
|
11323
|
-
"type": "option"
|
|
11324
|
-
},
|
|
11325
|
-
"namespace": {
|
|
11326
|
-
"char": "n",
|
|
11327
|
-
"description": "XML Namespace to use",
|
|
11328
|
-
"name": "namespace",
|
|
11329
|
-
"default": "http://soap.sforce.com/2006/04/metadata",
|
|
11330
|
-
"hasDynamicHelp": false,
|
|
11331
|
-
"multiple": false,
|
|
11332
|
-
"type": "option"
|
|
11333
|
-
},
|
|
11334
|
-
"debug": {
|
|
11335
|
-
"char": "d",
|
|
11336
|
-
"description": "Activate debug mode (more logs)",
|
|
11337
|
-
"name": "debug",
|
|
11338
|
-
"allowNo": false,
|
|
11339
|
-
"type": "boolean"
|
|
11340
|
-
},
|
|
11341
|
-
"websocket": {
|
|
11342
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11343
|
-
"name": "websocket",
|
|
11344
|
-
"hasDynamicHelp": false,
|
|
11345
|
-
"multiple": false,
|
|
11346
|
-
"type": "option"
|
|
11347
|
-
},
|
|
11348
|
-
"skipauth": {
|
|
11349
|
-
"description": "Skip authentication check when a default username is required",
|
|
11350
|
-
"name": "skipauth",
|
|
11351
|
-
"allowNo": false,
|
|
11352
|
-
"type": "boolean"
|
|
11353
|
-
}
|
|
11354
|
-
},
|
|
11355
|
-
"hasDynamicHelp": false,
|
|
11356
|
-
"hiddenAliases": [],
|
|
11357
|
-
"id": "hardis:project:clean:xml",
|
|
11358
|
-
"pluginAlias": "sfdx-hardis",
|
|
11359
|
-
"pluginName": "sfdx-hardis",
|
|
11360
|
-
"pluginType": "core",
|
|
11361
|
-
"strict": true,
|
|
11362
|
-
"enableJsonFlag": true,
|
|
11363
|
-
"title": "Clean retrieved empty items in dx sources",
|
|
11364
|
-
"requiresProject": true,
|
|
11365
|
-
"isESM": true,
|
|
11366
|
-
"relativePath": [
|
|
11367
|
-
"lib",
|
|
11368
|
-
"commands",
|
|
11369
|
-
"hardis",
|
|
11370
|
-
"project",
|
|
11371
|
-
"clean",
|
|
11372
|
-
"xml.js"
|
|
11373
|
-
],
|
|
11374
|
-
"aliasPermutations": [],
|
|
11375
|
-
"permutations": [
|
|
11376
|
-
"hardis:project:clean:xml",
|
|
11377
|
-
"project:hardis:clean:xml",
|
|
11378
|
-
"project:clean:hardis:xml",
|
|
11379
|
-
"project:clean:xml:hardis",
|
|
11380
|
-
"hardis:clean:project:xml",
|
|
11381
|
-
"clean:hardis:project:xml",
|
|
11382
|
-
"clean:project:hardis:xml",
|
|
11383
|
-
"clean:project:xml:hardis",
|
|
11384
|
-
"hardis:clean:xml:project",
|
|
11385
|
-
"clean:hardis:xml:project",
|
|
11386
|
-
"clean:xml:hardis:project",
|
|
11387
|
-
"clean:xml:project:hardis",
|
|
11388
|
-
"hardis:project:xml:clean",
|
|
11389
|
-
"project:hardis:xml:clean",
|
|
11390
|
-
"project:xml:hardis:clean",
|
|
11391
|
-
"project:xml:clean:hardis",
|
|
11392
|
-
"hardis:xml:project:clean",
|
|
11393
|
-
"xml:hardis:project:clean",
|
|
11394
|
-
"xml:project:hardis:clean",
|
|
11395
|
-
"xml:project:clean:hardis",
|
|
11396
|
-
"hardis:xml:clean:project",
|
|
11397
|
-
"xml:hardis:clean:project",
|
|
11398
|
-
"xml:clean:hardis:project",
|
|
11399
|
-
"xml:clean:project:hardis"
|
|
11400
|
-
]
|
|
11401
|
-
},
|
|
11402
|
-
"hardis:project:fix:profiletabs": {
|
|
11403
|
-
"aliases": [],
|
|
11404
|
-
"args": {},
|
|
11405
|
-
"description": "\n## Command Behavior\n\n**Interactively updates tab visibility settings in Salesforce profiles, addressing a common issue where tab visibilities are not correctly retrieved by `sf project retrieve start`.**\n\nThis command provides a user-friendly interface to manage tab settings within your profile XML files, ensuring that your local project accurately reflects the intended tab configurations in your Salesforce org.\n\nKey functionalities:\n\n- **Interactive Tab Selection:** Displays a multi-select menu of all available tabs in your org, allowing you to choose which tabs to update.\n- **Visibility Control:** Lets you set the visibility for the selected tabs to either `DefaultOn` (Visible) or `Hidden`.\n- **Profile Selection:** Presents a multi-select menu of all .profile-meta.xml files in your project, allowing you to apply the tab visibility changes to specific profiles.\n- **XML Updates:** Modifies the <tabVisibilities> section of the selected profile XML files to reflect the chosen tab settings. If a tab visibility setting already exists for a selected tab, it will be updated; otherwise, a new one will be added.\n- **Sorted Output:** The <tabVisibilities> in the updated profile XML files are sorted alphabetically for consistency and readability.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **SOQL Queries (Tooling API):** It queries the `TabDefinition` object using `soqlQueryTooling` to retrieve a list of all available tabs in the target org.\n- **File Discovery:** Uses `glob` to find all .profile-meta.xml files within the specified project path.\n- **Interactive Prompts:** Leverages the `prompts` library to create interactive menus for selecting tabs, visibility settings, and profiles.\n- **XML Parsing and Manipulation:** Uses `parseXmlFile` to read the content of profile XML files and `writeXmlFile` to write the modified content back. It manipulates the `tabVisibilities` array within the parsed XML to add or update tab settings.\n- **Array Sorting:** Employs the `sort-array` library to sort the `tabVisibilities` alphabetically by tab name.\n- **Logging:** Provides feedback to the user about which profiles have been updated and a summary of the changes.\n</details>\n",
|
|
11406
|
-
"examples": [
|
|
11407
|
-
"$ sf hardis:project:fix:profiletabs"
|
|
11408
|
-
],
|
|
11409
|
-
"flags": {
|
|
11410
|
-
"json": {
|
|
11411
|
-
"description": "Format output as json.",
|
|
11412
|
-
"helpGroup": "GLOBAL",
|
|
11413
|
-
"name": "json",
|
|
11414
|
-
"allowNo": false,
|
|
11415
|
-
"type": "boolean"
|
|
11416
|
-
},
|
|
11417
|
-
"flags-dir": {
|
|
11418
|
-
"helpGroup": "GLOBAL",
|
|
11419
|
-
"name": "flags-dir",
|
|
11420
|
-
"summary": "Import flag values from a directory.",
|
|
11421
|
-
"hasDynamicHelp": false,
|
|
11422
|
-
"multiple": false,
|
|
11423
|
-
"type": "option"
|
|
11424
|
-
},
|
|
11425
|
-
"path": {
|
|
11426
|
-
"char": "p",
|
|
11427
|
-
"description": "Root folder",
|
|
11428
|
-
"name": "path",
|
|
11429
|
-
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
11430
|
-
"hasDynamicHelp": false,
|
|
11431
|
-
"multiple": false,
|
|
11432
|
-
"type": "option"
|
|
11433
|
-
},
|
|
11434
|
-
"debug": {
|
|
11435
|
-
"char": "d",
|
|
11436
|
-
"description": "Activate debug mode (more logs)",
|
|
11437
|
-
"name": "debug",
|
|
11438
|
-
"allowNo": false,
|
|
11439
|
-
"type": "boolean"
|
|
11198
|
+
"hasDynamicHelp": false,
|
|
11199
|
+
"multiple": false,
|
|
11200
|
+
"type": "option"
|
|
11440
11201
|
},
|
|
11441
11202
|
"websocket": {
|
|
11442
11203
|
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
@@ -11451,31 +11212,23 @@
|
|
|
11451
11212
|
"allowNo": false,
|
|
11452
11213
|
"type": "boolean"
|
|
11453
11214
|
},
|
|
11454
|
-
"
|
|
11455
|
-
"
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
"
|
|
11460
|
-
"deprecateAliases": true,
|
|
11461
|
-
"name": "target-org",
|
|
11462
|
-
"noCacheDefault": true,
|
|
11463
|
-
"required": true,
|
|
11464
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
11465
|
-
"hasDynamicHelp": true,
|
|
11466
|
-
"multiple": false,
|
|
11467
|
-
"type": "option"
|
|
11215
|
+
"delete": {
|
|
11216
|
+
"char": "d",
|
|
11217
|
+
"description": "Delete lines with System.debug",
|
|
11218
|
+
"name": "delete",
|
|
11219
|
+
"allowNo": false,
|
|
11220
|
+
"type": "boolean"
|
|
11468
11221
|
}
|
|
11469
11222
|
},
|
|
11470
|
-
"hasDynamicHelp":
|
|
11223
|
+
"hasDynamicHelp": false,
|
|
11471
11224
|
"hiddenAliases": [],
|
|
11472
|
-
"id": "hardis:project:
|
|
11225
|
+
"id": "hardis:project:clean:systemdebug",
|
|
11473
11226
|
"pluginAlias": "sfdx-hardis",
|
|
11474
11227
|
"pluginName": "sfdx-hardis",
|
|
11475
11228
|
"pluginType": "core",
|
|
11476
11229
|
"strict": true,
|
|
11477
11230
|
"enableJsonFlag": true,
|
|
11478
|
-
"title": "
|
|
11231
|
+
"title": "Clean System debug",
|
|
11479
11232
|
"requiresProject": true,
|
|
11480
11233
|
"isESM": true,
|
|
11481
11234
|
"relativePath": [
|
|
@@ -11483,43 +11236,44 @@
|
|
|
11483
11236
|
"commands",
|
|
11484
11237
|
"hardis",
|
|
11485
11238
|
"project",
|
|
11486
|
-
"
|
|
11487
|
-
"
|
|
11239
|
+
"clean",
|
|
11240
|
+
"systemdebug.js"
|
|
11488
11241
|
],
|
|
11489
11242
|
"aliasPermutations": [],
|
|
11490
11243
|
"permutations": [
|
|
11491
|
-
"hardis:project:
|
|
11492
|
-
"project:hardis:
|
|
11493
|
-
"project:
|
|
11494
|
-
"project:
|
|
11495
|
-
"hardis:
|
|
11496
|
-
"
|
|
11497
|
-
"
|
|
11498
|
-
"
|
|
11499
|
-
"hardis:
|
|
11500
|
-
"
|
|
11501
|
-
"
|
|
11502
|
-
"
|
|
11503
|
-
"hardis:project:
|
|
11504
|
-
"project:hardis:
|
|
11505
|
-
"project:
|
|
11506
|
-
"project:
|
|
11507
|
-
"hardis:
|
|
11508
|
-
"
|
|
11509
|
-
"
|
|
11510
|
-
"
|
|
11511
|
-
"hardis:
|
|
11512
|
-
"
|
|
11513
|
-
"
|
|
11514
|
-
"
|
|
11244
|
+
"hardis:project:clean:systemdebug",
|
|
11245
|
+
"project:hardis:clean:systemdebug",
|
|
11246
|
+
"project:clean:hardis:systemdebug",
|
|
11247
|
+
"project:clean:systemdebug:hardis",
|
|
11248
|
+
"hardis:clean:project:systemdebug",
|
|
11249
|
+
"clean:hardis:project:systemdebug",
|
|
11250
|
+
"clean:project:hardis:systemdebug",
|
|
11251
|
+
"clean:project:systemdebug:hardis",
|
|
11252
|
+
"hardis:clean:systemdebug:project",
|
|
11253
|
+
"clean:hardis:systemdebug:project",
|
|
11254
|
+
"clean:systemdebug:hardis:project",
|
|
11255
|
+
"clean:systemdebug:project:hardis",
|
|
11256
|
+
"hardis:project:systemdebug:clean",
|
|
11257
|
+
"project:hardis:systemdebug:clean",
|
|
11258
|
+
"project:systemdebug:hardis:clean",
|
|
11259
|
+
"project:systemdebug:clean:hardis",
|
|
11260
|
+
"hardis:systemdebug:project:clean",
|
|
11261
|
+
"systemdebug:hardis:project:clean",
|
|
11262
|
+
"systemdebug:project:hardis:clean",
|
|
11263
|
+
"systemdebug:project:clean:hardis",
|
|
11264
|
+
"hardis:systemdebug:clean:project",
|
|
11265
|
+
"systemdebug:hardis:clean:project",
|
|
11266
|
+
"systemdebug:clean:hardis:project",
|
|
11267
|
+
"systemdebug:clean:project:hardis"
|
|
11515
11268
|
]
|
|
11516
11269
|
},
|
|
11517
|
-
"hardis:project:
|
|
11270
|
+
"hardis:project:clean:xml": {
|
|
11518
11271
|
"aliases": [],
|
|
11519
11272
|
"args": {},
|
|
11520
|
-
"description": "
|
|
11273
|
+
"description": "Remove XML elements using Glob patterns and XPath expressions\n \nThis can be very useful to avoid to always remove manually the same elements in the same XML file.\n\n- **globpattern** can be any glob pattern allowing to identify the XML files to update, for example `/**/*.flexipage-meta.xml`\n\n- **xpath** can be any xpath following the format `//ns:PARENT-TAG-NAME//ns:TAG-NAME[contains(text(),'TAG-VALUE')]`. If an element is found, the whole **PARENT-TAG-NAME** (with its subtree) will be removed.\n\n\n\nNote: If globpattern and xpath are not sent, elements defined in property **cleanXmlPatterns** in **.sfdx-hardis.yml** config file will be used\n \n ",
|
|
11521
11274
|
"examples": [
|
|
11522
|
-
"$ sf hardis:project:
|
|
11275
|
+
"$ sf hardis:project:clean:xml",
|
|
11276
|
+
"$ sf hardis:project:clean:xml --globpattern \"/**/*.flexipage-meta.xml\" --xpath \"//ns:flexiPageRegions//ns:name[contains(text(),'dashboardName')]\""
|
|
11523
11277
|
],
|
|
11524
11278
|
"flags": {
|
|
11525
11279
|
"json": {
|
|
@@ -11537,11 +11291,42 @@
|
|
|
11537
11291
|
"multiple": false,
|
|
11538
11292
|
"type": "option"
|
|
11539
11293
|
},
|
|
11540
|
-
"
|
|
11541
|
-
"char": "
|
|
11294
|
+
"folder": {
|
|
11295
|
+
"char": "f",
|
|
11542
11296
|
"description": "Root folder",
|
|
11543
|
-
"name": "
|
|
11544
|
-
"default": "
|
|
11297
|
+
"name": "folder",
|
|
11298
|
+
"default": "force-app",
|
|
11299
|
+
"hasDynamicHelp": false,
|
|
11300
|
+
"multiple": false,
|
|
11301
|
+
"type": "option"
|
|
11302
|
+
},
|
|
11303
|
+
"globpattern": {
|
|
11304
|
+
"char": "p",
|
|
11305
|
+
"dependsOn": [
|
|
11306
|
+
"xpath"
|
|
11307
|
+
],
|
|
11308
|
+
"description": "Glob pattern to find files to clean. Ex: /**/*.flexipage-meta.xml",
|
|
11309
|
+
"name": "globpattern",
|
|
11310
|
+
"hasDynamicHelp": false,
|
|
11311
|
+
"multiple": false,
|
|
11312
|
+
"type": "option"
|
|
11313
|
+
},
|
|
11314
|
+
"xpath": {
|
|
11315
|
+
"char": "x",
|
|
11316
|
+
"dependsOn": [
|
|
11317
|
+
"globpattern"
|
|
11318
|
+
],
|
|
11319
|
+
"description": "XPath to use to detect the elements to remove. Ex: //ns:flexiPageRegions//ns:name[contains(text(),'dashboardName')]",
|
|
11320
|
+
"name": "xpath",
|
|
11321
|
+
"hasDynamicHelp": false,
|
|
11322
|
+
"multiple": false,
|
|
11323
|
+
"type": "option"
|
|
11324
|
+
},
|
|
11325
|
+
"namespace": {
|
|
11326
|
+
"char": "n",
|
|
11327
|
+
"description": "XML Namespace to use",
|
|
11328
|
+
"name": "namespace",
|
|
11329
|
+
"default": "http://soap.sforce.com/2006/04/metadata",
|
|
11545
11330
|
"hasDynamicHelp": false,
|
|
11546
11331
|
"multiple": false,
|
|
11547
11332
|
"type": "option"
|
|
@@ -11569,13 +11354,13 @@
|
|
|
11569
11354
|
},
|
|
11570
11355
|
"hasDynamicHelp": false,
|
|
11571
11356
|
"hiddenAliases": [],
|
|
11572
|
-
"id": "hardis:project:
|
|
11357
|
+
"id": "hardis:project:clean:xml",
|
|
11573
11358
|
"pluginAlias": "sfdx-hardis",
|
|
11574
11359
|
"pluginName": "sfdx-hardis",
|
|
11575
11360
|
"pluginType": "core",
|
|
11576
11361
|
"strict": true,
|
|
11577
11362
|
"enableJsonFlag": true,
|
|
11578
|
-
"title": "
|
|
11363
|
+
"title": "Clean retrieved empty items in dx sources",
|
|
11579
11364
|
"requiresProject": true,
|
|
11580
11365
|
"isESM": true,
|
|
11581
11366
|
"relativePath": [
|
|
@@ -11583,35 +11368,35 @@
|
|
|
11583
11368
|
"commands",
|
|
11584
11369
|
"hardis",
|
|
11585
11370
|
"project",
|
|
11586
|
-
"
|
|
11587
|
-
"
|
|
11371
|
+
"clean",
|
|
11372
|
+
"xml.js"
|
|
11588
11373
|
],
|
|
11589
11374
|
"aliasPermutations": [],
|
|
11590
11375
|
"permutations": [
|
|
11591
|
-
"hardis:project:
|
|
11592
|
-
"project:hardis:
|
|
11593
|
-
"project:
|
|
11594
|
-
"project:
|
|
11595
|
-
"hardis:
|
|
11596
|
-
"
|
|
11597
|
-
"
|
|
11598
|
-
"
|
|
11599
|
-
"hardis:
|
|
11600
|
-
"
|
|
11601
|
-
"
|
|
11602
|
-
"
|
|
11603
|
-
"hardis:project:
|
|
11604
|
-
"project:hardis:
|
|
11605
|
-
"project:
|
|
11606
|
-
"project:
|
|
11607
|
-
"hardis:
|
|
11608
|
-
"
|
|
11609
|
-
"
|
|
11610
|
-
"
|
|
11611
|
-
"hardis:
|
|
11612
|
-
"
|
|
11613
|
-
"
|
|
11614
|
-
"
|
|
11376
|
+
"hardis:project:clean:xml",
|
|
11377
|
+
"project:hardis:clean:xml",
|
|
11378
|
+
"project:clean:hardis:xml",
|
|
11379
|
+
"project:clean:xml:hardis",
|
|
11380
|
+
"hardis:clean:project:xml",
|
|
11381
|
+
"clean:hardis:project:xml",
|
|
11382
|
+
"clean:project:hardis:xml",
|
|
11383
|
+
"clean:project:xml:hardis",
|
|
11384
|
+
"hardis:clean:xml:project",
|
|
11385
|
+
"clean:hardis:xml:project",
|
|
11386
|
+
"clean:xml:hardis:project",
|
|
11387
|
+
"clean:xml:project:hardis",
|
|
11388
|
+
"hardis:project:xml:clean",
|
|
11389
|
+
"project:hardis:xml:clean",
|
|
11390
|
+
"project:xml:hardis:clean",
|
|
11391
|
+
"project:xml:clean:hardis",
|
|
11392
|
+
"hardis:xml:project:clean",
|
|
11393
|
+
"xml:hardis:project:clean",
|
|
11394
|
+
"xml:project:hardis:clean",
|
|
11395
|
+
"xml:project:clean:hardis",
|
|
11396
|
+
"hardis:xml:clean:project",
|
|
11397
|
+
"xml:hardis:clean:project",
|
|
11398
|
+
"xml:clean:hardis:project",
|
|
11399
|
+
"xml:clean:project:hardis"
|
|
11615
11400
|
]
|
|
11616
11401
|
},
|
|
11617
11402
|
"hardis:project:deploy:notify": {
|
|
@@ -12789,14 +12574,127 @@
|
|
|
12789
12574
|
"validate:deploy:project:hardis"
|
|
12790
12575
|
]
|
|
12791
12576
|
},
|
|
12792
|
-
"hardis:project:
|
|
12577
|
+
"hardis:project:fix:profiletabs": {
|
|
12578
|
+
"aliases": [],
|
|
12579
|
+
"args": {},
|
|
12580
|
+
"description": "\n## Command Behavior\n\n**Interactively updates tab visibility settings in Salesforce profiles, addressing a common issue where tab visibilities are not correctly retrieved by `sf project retrieve start`.**\n\nThis command provides a user-friendly interface to manage tab settings within your profile XML files, ensuring that your local project accurately reflects the intended tab configurations in your Salesforce org.\n\nKey functionalities:\n\n- **Interactive Tab Selection:** Displays a multi-select menu of all available tabs in your org, allowing you to choose which tabs to update.\n- **Visibility Control:** Lets you set the visibility for the selected tabs to either `DefaultOn` (Visible) or `Hidden`.\n- **Profile Selection:** Presents a multi-select menu of all .profile-meta.xml files in your project, allowing you to apply the tab visibility changes to specific profiles.\n- **XML Updates:** Modifies the <tabVisibilities> section of the selected profile XML files to reflect the chosen tab settings. If a tab visibility setting already exists for a selected tab, it will be updated; otherwise, a new one will be added.\n- **Sorted Output:** The <tabVisibilities> in the updated profile XML files are sorted alphabetically for consistency and readability.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **SOQL Queries (Tooling API):** It queries the `TabDefinition` object using `soqlQueryTooling` to retrieve a list of all available tabs in the target org.\n- **File Discovery:** Uses `glob` to find all .profile-meta.xml files within the specified project path.\n- **Interactive Prompts:** Leverages the `prompts` library to create interactive menus for selecting tabs, visibility settings, and profiles.\n- **XML Parsing and Manipulation:** Uses `parseXmlFile` to read the content of profile XML files and `writeXmlFile` to write the modified content back. It manipulates the `tabVisibilities` array within the parsed XML to add or update tab settings.\n- **Array Sorting:** Employs the `sort-array` library to sort the `tabVisibilities` alphabetically by tab name.\n- **Logging:** Provides feedback to the user about which profiles have been updated and a summary of the changes.\n</details>\n",
|
|
12581
|
+
"examples": [
|
|
12582
|
+
"$ sf hardis:project:fix:profiletabs"
|
|
12583
|
+
],
|
|
12584
|
+
"flags": {
|
|
12585
|
+
"json": {
|
|
12586
|
+
"description": "Format output as json.",
|
|
12587
|
+
"helpGroup": "GLOBAL",
|
|
12588
|
+
"name": "json",
|
|
12589
|
+
"allowNo": false,
|
|
12590
|
+
"type": "boolean"
|
|
12591
|
+
},
|
|
12592
|
+
"flags-dir": {
|
|
12593
|
+
"helpGroup": "GLOBAL",
|
|
12594
|
+
"name": "flags-dir",
|
|
12595
|
+
"summary": "Import flag values from a directory.",
|
|
12596
|
+
"hasDynamicHelp": false,
|
|
12597
|
+
"multiple": false,
|
|
12598
|
+
"type": "option"
|
|
12599
|
+
},
|
|
12600
|
+
"path": {
|
|
12601
|
+
"char": "p",
|
|
12602
|
+
"description": "Root folder",
|
|
12603
|
+
"name": "path",
|
|
12604
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
12605
|
+
"hasDynamicHelp": false,
|
|
12606
|
+
"multiple": false,
|
|
12607
|
+
"type": "option"
|
|
12608
|
+
},
|
|
12609
|
+
"debug": {
|
|
12610
|
+
"char": "d",
|
|
12611
|
+
"description": "Activate debug mode (more logs)",
|
|
12612
|
+
"name": "debug",
|
|
12613
|
+
"allowNo": false,
|
|
12614
|
+
"type": "boolean"
|
|
12615
|
+
},
|
|
12616
|
+
"websocket": {
|
|
12617
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12618
|
+
"name": "websocket",
|
|
12619
|
+
"hasDynamicHelp": false,
|
|
12620
|
+
"multiple": false,
|
|
12621
|
+
"type": "option"
|
|
12622
|
+
},
|
|
12623
|
+
"skipauth": {
|
|
12624
|
+
"description": "Skip authentication check when a default username is required",
|
|
12625
|
+
"name": "skipauth",
|
|
12626
|
+
"allowNo": false,
|
|
12627
|
+
"type": "boolean"
|
|
12628
|
+
},
|
|
12629
|
+
"target-org": {
|
|
12630
|
+
"aliases": [
|
|
12631
|
+
"targetusername",
|
|
12632
|
+
"u"
|
|
12633
|
+
],
|
|
12634
|
+
"char": "o",
|
|
12635
|
+
"deprecateAliases": true,
|
|
12636
|
+
"name": "target-org",
|
|
12637
|
+
"noCacheDefault": true,
|
|
12638
|
+
"required": true,
|
|
12639
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
12640
|
+
"hasDynamicHelp": true,
|
|
12641
|
+
"multiple": false,
|
|
12642
|
+
"type": "option"
|
|
12643
|
+
}
|
|
12644
|
+
},
|
|
12645
|
+
"hasDynamicHelp": true,
|
|
12646
|
+
"hiddenAliases": [],
|
|
12647
|
+
"id": "hardis:project:fix:profiletabs",
|
|
12648
|
+
"pluginAlias": "sfdx-hardis",
|
|
12649
|
+
"pluginName": "sfdx-hardis",
|
|
12650
|
+
"pluginType": "core",
|
|
12651
|
+
"strict": true,
|
|
12652
|
+
"enableJsonFlag": true,
|
|
12653
|
+
"title": "Fix profiles to add tabs that are not retrieved by SF CLI",
|
|
12654
|
+
"requiresProject": true,
|
|
12655
|
+
"isESM": true,
|
|
12656
|
+
"relativePath": [
|
|
12657
|
+
"lib",
|
|
12658
|
+
"commands",
|
|
12659
|
+
"hardis",
|
|
12660
|
+
"project",
|
|
12661
|
+
"fix",
|
|
12662
|
+
"profiletabs.js"
|
|
12663
|
+
],
|
|
12664
|
+
"aliasPermutations": [],
|
|
12665
|
+
"permutations": [
|
|
12666
|
+
"hardis:project:fix:profiletabs",
|
|
12667
|
+
"project:hardis:fix:profiletabs",
|
|
12668
|
+
"project:fix:hardis:profiletabs",
|
|
12669
|
+
"project:fix:profiletabs:hardis",
|
|
12670
|
+
"hardis:fix:project:profiletabs",
|
|
12671
|
+
"fix:hardis:project:profiletabs",
|
|
12672
|
+
"fix:project:hardis:profiletabs",
|
|
12673
|
+
"fix:project:profiletabs:hardis",
|
|
12674
|
+
"hardis:fix:profiletabs:project",
|
|
12675
|
+
"fix:hardis:profiletabs:project",
|
|
12676
|
+
"fix:profiletabs:hardis:project",
|
|
12677
|
+
"fix:profiletabs:project:hardis",
|
|
12678
|
+
"hardis:project:profiletabs:fix",
|
|
12679
|
+
"project:hardis:profiletabs:fix",
|
|
12680
|
+
"project:profiletabs:hardis:fix",
|
|
12681
|
+
"project:profiletabs:fix:hardis",
|
|
12682
|
+
"hardis:profiletabs:project:fix",
|
|
12683
|
+
"profiletabs:hardis:project:fix",
|
|
12684
|
+
"profiletabs:project:hardis:fix",
|
|
12685
|
+
"profiletabs:project:fix:hardis",
|
|
12686
|
+
"hardis:profiletabs:fix:project",
|
|
12687
|
+
"profiletabs:hardis:fix:project",
|
|
12688
|
+
"profiletabs:fix:hardis:project",
|
|
12689
|
+
"profiletabs:fix:project:hardis"
|
|
12690
|
+
]
|
|
12691
|
+
},
|
|
12692
|
+
"hardis:project:fix:v53flexipages": {
|
|
12793
12693
|
"aliases": [],
|
|
12794
12694
|
"args": {},
|
|
12795
|
-
"description": "
|
|
12695
|
+
"description": "\n## Command Behavior\n\n**Fixes Salesforce FlexiPages for compatibility with API Version 53.0 (Winter '22 release) by adding missing identifiers to component instances.**\n\nSalesforce introduced a change in API Version 53.0 that requires `identifier` tags within `componentInstance` and `fieldInstance` elements in FlexiPage metadata. If these identifiers are missing, deployments to orgs with API version 53.0 or higher will fail. This command automates the process of adding these missing identifiers, ensuring your FlexiPages remain deployable.\n\nKey functionalities:\n\n- **Targeted FlexiPage Processing:** Scans all .flexipage-meta.xml files within the specified root folder (defaults to current working directory).\n- **Identifier Injection:** Inserts a unique `identifier` tag (e.g., `SFDX_HARDIS_REPLACEMENT_ID`) into `componentInstance` and `fieldInstance` elements that lack one.\n\n**Important Note:** After running this command, ensure you update your `apiVersion` to `53.0` (or higher) in your `package.xml` and `sfdx-project.json` files.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **File Discovery:** Uses `glob` to find all .flexipage-meta.xml files.\n- **Content Reading:** Reads the XML content of each FlexiPage file.\n- **Regular Expression Replacement:** Employs a set of regular expressions to identify specific XML patterns (componentName.../componentName.../componentInstance, componentName.../componentName.../visibilityRule, fieldItem.../fieldItem.../fieldInstance) that are missing the `identifier` tag.\n- **Dynamic ID Generation:** For each match, it generates a unique identifier (e.g., `sfdxHardisIdX`) and injects it into the XML structure.\n- **File Writing:** If changes are made, the modified XML content is written back to the FlexiPage file using `fs.writeFile`.\n- **Logging:** Provides messages about which FlexiPages are being processed and a summary of the total number of identifiers added.\n</details>\n",
|
|
12796
12696
|
"examples": [
|
|
12797
|
-
"
|
|
12798
|
-
"\n$ sf hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n",
|
|
12799
|
-
"\n$ sf hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"
|
|
12697
|
+
"$ sf hardis:project:fix:v53flexipages"
|
|
12800
12698
|
],
|
|
12801
12699
|
"flags": {
|
|
12802
12700
|
"json": {
|
|
@@ -12814,14 +12712,22 @@
|
|
|
12814
12712
|
"multiple": false,
|
|
12815
12713
|
"type": "option"
|
|
12816
12714
|
},
|
|
12817
|
-
"
|
|
12818
|
-
"char": "
|
|
12819
|
-
"description": "
|
|
12820
|
-
"name": "
|
|
12715
|
+
"path": {
|
|
12716
|
+
"char": "p",
|
|
12717
|
+
"description": "Root folder",
|
|
12718
|
+
"name": "path",
|
|
12719
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
12821
12720
|
"hasDynamicHelp": false,
|
|
12822
|
-
"multiple":
|
|
12721
|
+
"multiple": false,
|
|
12823
12722
|
"type": "option"
|
|
12824
12723
|
},
|
|
12724
|
+
"debug": {
|
|
12725
|
+
"char": "d",
|
|
12726
|
+
"description": "Activate debug mode (more logs)",
|
|
12727
|
+
"name": "debug",
|
|
12728
|
+
"allowNo": false,
|
|
12729
|
+
"type": "boolean"
|
|
12730
|
+
},
|
|
12825
12731
|
"websocket": {
|
|
12826
12732
|
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12827
12733
|
"name": "websocket",
|
|
@@ -12838,32 +12744,13 @@
|
|
|
12838
12744
|
},
|
|
12839
12745
|
"hasDynamicHelp": false,
|
|
12840
12746
|
"hiddenAliases": [],
|
|
12841
|
-
"id": "hardis:project:
|
|
12747
|
+
"id": "hardis:project:fix:v53flexipages",
|
|
12842
12748
|
"pluginAlias": "sfdx-hardis",
|
|
12843
12749
|
"pluginName": "sfdx-hardis",
|
|
12844
12750
|
"pluginType": "core",
|
|
12845
12751
|
"strict": true,
|
|
12846
12752
|
"enableJsonFlag": true,
|
|
12847
|
-
"
|
|
12848
|
-
"layout": [
|
|
12849
|
-
"Layout.layoutSections.layoutColumns.layoutItems.field",
|
|
12850
|
-
"Layout.quickActionListItems.quickActionName"
|
|
12851
|
-
],
|
|
12852
|
-
"profile": [
|
|
12853
|
-
"Profile.fieldPermissions.field",
|
|
12854
|
-
"Profile.objectPermissions.object",
|
|
12855
|
-
"Profile.classAccesses.apexClass"
|
|
12856
|
-
],
|
|
12857
|
-
"labels": [
|
|
12858
|
-
"CustomLabels.labels.fullName"
|
|
12859
|
-
],
|
|
12860
|
-
"permissionset": [
|
|
12861
|
-
"PermissionSet.fieldPermissions.field",
|
|
12862
|
-
"PermissionSet.objectPermissions.object",
|
|
12863
|
-
"PermissionSet.classAccesses.apexClass"
|
|
12864
|
-
]
|
|
12865
|
-
},
|
|
12866
|
-
"title": "XML duplicate values finder",
|
|
12753
|
+
"title": "Fix flexipages for v53",
|
|
12867
12754
|
"requiresProject": true,
|
|
12868
12755
|
"isESM": true,
|
|
12869
12756
|
"relativePath": [
|
|
@@ -12871,35 +12758,35 @@
|
|
|
12871
12758
|
"commands",
|
|
12872
12759
|
"hardis",
|
|
12873
12760
|
"project",
|
|
12874
|
-
"
|
|
12875
|
-
"
|
|
12761
|
+
"fix",
|
|
12762
|
+
"v53flexipages.js"
|
|
12876
12763
|
],
|
|
12877
12764
|
"aliasPermutations": [],
|
|
12878
12765
|
"permutations": [
|
|
12879
|
-
"hardis:project:
|
|
12880
|
-
"project:hardis:
|
|
12881
|
-
"project:
|
|
12882
|
-
"project:
|
|
12883
|
-
"hardis:
|
|
12884
|
-
"
|
|
12885
|
-
"
|
|
12886
|
-
"
|
|
12887
|
-
"hardis:
|
|
12888
|
-
"
|
|
12889
|
-
"
|
|
12890
|
-
"
|
|
12891
|
-
"hardis:project:
|
|
12892
|
-
"project:hardis:
|
|
12893
|
-
"project:
|
|
12894
|
-
"project:
|
|
12895
|
-
"hardis:
|
|
12896
|
-
"
|
|
12897
|
-
"
|
|
12898
|
-
"
|
|
12899
|
-
"hardis:
|
|
12900
|
-
"
|
|
12901
|
-
"
|
|
12902
|
-
"
|
|
12766
|
+
"hardis:project:fix:v53flexipages",
|
|
12767
|
+
"project:hardis:fix:v53flexipages",
|
|
12768
|
+
"project:fix:hardis:v53flexipages",
|
|
12769
|
+
"project:fix:v53flexipages:hardis",
|
|
12770
|
+
"hardis:fix:project:v53flexipages",
|
|
12771
|
+
"fix:hardis:project:v53flexipages",
|
|
12772
|
+
"fix:project:hardis:v53flexipages",
|
|
12773
|
+
"fix:project:v53flexipages:hardis",
|
|
12774
|
+
"hardis:fix:v53flexipages:project",
|
|
12775
|
+
"fix:hardis:v53flexipages:project",
|
|
12776
|
+
"fix:v53flexipages:hardis:project",
|
|
12777
|
+
"fix:v53flexipages:project:hardis",
|
|
12778
|
+
"hardis:project:v53flexipages:fix",
|
|
12779
|
+
"project:hardis:v53flexipages:fix",
|
|
12780
|
+
"project:v53flexipages:hardis:fix",
|
|
12781
|
+
"project:v53flexipages:fix:hardis",
|
|
12782
|
+
"hardis:v53flexipages:project:fix",
|
|
12783
|
+
"v53flexipages:hardis:project:fix",
|
|
12784
|
+
"v53flexipages:project:hardis:fix",
|
|
12785
|
+
"v53flexipages:project:fix:hardis",
|
|
12786
|
+
"hardis:v53flexipages:fix:project",
|
|
12787
|
+
"v53flexipages:hardis:fix:project",
|
|
12788
|
+
"v53flexipages:fix:hardis:project",
|
|
12789
|
+
"v53flexipages:fix:project:hardis"
|
|
12903
12790
|
]
|
|
12904
12791
|
},
|
|
12905
12792
|
"hardis:project:generate:bypass": {
|
|
@@ -13297,6 +13184,119 @@
|
|
|
13297
13184
|
"gitdelta:generate:project:hardis"
|
|
13298
13185
|
]
|
|
13299
13186
|
},
|
|
13187
|
+
"hardis:project:metadata:findduplicates": {
|
|
13188
|
+
"aliases": [],
|
|
13189
|
+
"args": {},
|
|
13190
|
+
"description": "find duplicate values in XML file(s).\n Find duplicate values in XML file(s). Keys to be checked can be configured in `config/sfdx-hardis.yml` using property metadataDuplicateFindKeys.\n\nDefault config :\nmetadataDuplicateFindKeys :\n[object Object]\n",
|
|
13191
|
+
"examples": [
|
|
13192
|
+
"\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Layout xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <layoutSections>\n ...\n <layoutColumns>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n </layoutColumns>\n </layoutSections>\n</Layout>\n",
|
|
13193
|
+
"\n$ sf hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n",
|
|
13194
|
+
"\n$ sf hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"
|
|
13195
|
+
],
|
|
13196
|
+
"flags": {
|
|
13197
|
+
"json": {
|
|
13198
|
+
"description": "Format output as json.",
|
|
13199
|
+
"helpGroup": "GLOBAL",
|
|
13200
|
+
"name": "json",
|
|
13201
|
+
"allowNo": false,
|
|
13202
|
+
"type": "boolean"
|
|
13203
|
+
},
|
|
13204
|
+
"flags-dir": {
|
|
13205
|
+
"helpGroup": "GLOBAL",
|
|
13206
|
+
"name": "flags-dir",
|
|
13207
|
+
"summary": "Import flag values from a directory.",
|
|
13208
|
+
"hasDynamicHelp": false,
|
|
13209
|
+
"multiple": false,
|
|
13210
|
+
"type": "option"
|
|
13211
|
+
},
|
|
13212
|
+
"files": {
|
|
13213
|
+
"char": "f",
|
|
13214
|
+
"description": "XML metadata files path",
|
|
13215
|
+
"name": "files",
|
|
13216
|
+
"hasDynamicHelp": false,
|
|
13217
|
+
"multiple": true,
|
|
13218
|
+
"type": "option"
|
|
13219
|
+
},
|
|
13220
|
+
"websocket": {
|
|
13221
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
13222
|
+
"name": "websocket",
|
|
13223
|
+
"hasDynamicHelp": false,
|
|
13224
|
+
"multiple": false,
|
|
13225
|
+
"type": "option"
|
|
13226
|
+
},
|
|
13227
|
+
"skipauth": {
|
|
13228
|
+
"description": "Skip authentication check when a default username is required",
|
|
13229
|
+
"name": "skipauth",
|
|
13230
|
+
"allowNo": false,
|
|
13231
|
+
"type": "boolean"
|
|
13232
|
+
}
|
|
13233
|
+
},
|
|
13234
|
+
"hasDynamicHelp": false,
|
|
13235
|
+
"hiddenAliases": [],
|
|
13236
|
+
"id": "hardis:project:metadata:findduplicates",
|
|
13237
|
+
"pluginAlias": "sfdx-hardis",
|
|
13238
|
+
"pluginName": "sfdx-hardis",
|
|
13239
|
+
"pluginType": "core",
|
|
13240
|
+
"strict": true,
|
|
13241
|
+
"enableJsonFlag": true,
|
|
13242
|
+
"metadataDuplicateFindKeys": {
|
|
13243
|
+
"layout": [
|
|
13244
|
+
"Layout.layoutSections.layoutColumns.layoutItems.field",
|
|
13245
|
+
"Layout.quickActionListItems.quickActionName"
|
|
13246
|
+
],
|
|
13247
|
+
"profile": [
|
|
13248
|
+
"Profile.fieldPermissions.field",
|
|
13249
|
+
"Profile.objectPermissions.object",
|
|
13250
|
+
"Profile.classAccesses.apexClass"
|
|
13251
|
+
],
|
|
13252
|
+
"labels": [
|
|
13253
|
+
"CustomLabels.labels.fullName"
|
|
13254
|
+
],
|
|
13255
|
+
"permissionset": [
|
|
13256
|
+
"PermissionSet.fieldPermissions.field",
|
|
13257
|
+
"PermissionSet.objectPermissions.object",
|
|
13258
|
+
"PermissionSet.classAccesses.apexClass"
|
|
13259
|
+
]
|
|
13260
|
+
},
|
|
13261
|
+
"title": "XML duplicate values finder",
|
|
13262
|
+
"requiresProject": true,
|
|
13263
|
+
"isESM": true,
|
|
13264
|
+
"relativePath": [
|
|
13265
|
+
"lib",
|
|
13266
|
+
"commands",
|
|
13267
|
+
"hardis",
|
|
13268
|
+
"project",
|
|
13269
|
+
"metadata",
|
|
13270
|
+
"findduplicates.js"
|
|
13271
|
+
],
|
|
13272
|
+
"aliasPermutations": [],
|
|
13273
|
+
"permutations": [
|
|
13274
|
+
"hardis:project:metadata:findduplicates",
|
|
13275
|
+
"project:hardis:metadata:findduplicates",
|
|
13276
|
+
"project:metadata:hardis:findduplicates",
|
|
13277
|
+
"project:metadata:findduplicates:hardis",
|
|
13278
|
+
"hardis:metadata:project:findduplicates",
|
|
13279
|
+
"metadata:hardis:project:findduplicates",
|
|
13280
|
+
"metadata:project:hardis:findduplicates",
|
|
13281
|
+
"metadata:project:findduplicates:hardis",
|
|
13282
|
+
"hardis:metadata:findduplicates:project",
|
|
13283
|
+
"metadata:hardis:findduplicates:project",
|
|
13284
|
+
"metadata:findduplicates:hardis:project",
|
|
13285
|
+
"metadata:findduplicates:project:hardis",
|
|
13286
|
+
"hardis:project:findduplicates:metadata",
|
|
13287
|
+
"project:hardis:findduplicates:metadata",
|
|
13288
|
+
"project:findduplicates:hardis:metadata",
|
|
13289
|
+
"project:findduplicates:metadata:hardis",
|
|
13290
|
+
"hardis:findduplicates:project:metadata",
|
|
13291
|
+
"findduplicates:hardis:project:metadata",
|
|
13292
|
+
"findduplicates:project:hardis:metadata",
|
|
13293
|
+
"findduplicates:project:metadata:hardis",
|
|
13294
|
+
"hardis:findduplicates:metadata:project",
|
|
13295
|
+
"findduplicates:hardis:metadata:project",
|
|
13296
|
+
"findduplicates:metadata:hardis:project",
|
|
13297
|
+
"findduplicates:metadata:project:hardis"
|
|
13298
|
+
]
|
|
13299
|
+
},
|
|
13300
13300
|
"hardis:scratch:pool:create": {
|
|
13301
13301
|
"aliases": [],
|
|
13302
13302
|
"args": {},
|
|
@@ -15271,5 +15271,5 @@
|
|
|
15271
15271
|
]
|
|
15272
15272
|
}
|
|
15273
15273
|
},
|
|
15274
|
-
"version": "6.4.
|
|
15274
|
+
"version": "6.4.4"
|
|
15275
15275
|
}
|