sfdx-hardis 5.45.1-beta202508100142.0 → 6.0.1-beta202508101506.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commands/hardis/org/select.js +4 -0
- package/lib/commands/hardis/org/select.js.map +1 -1
- package/lib/common/utils/orgUtils.js +5 -5
- package/lib/common/utils/orgUtils.js.map +1 -1
- package/lib/common/utils/prompts.js +1 -1
- package/lib/common/utils/prompts.js.map +1 -1
- package/lib/hooks/prerun/check-dependencies.js +143 -0
- package/lib/hooks/prerun/check-dependencies.js.map +1 -1
- package/oclif.manifest.json +597 -597
- package/package.json +1 -2
- package/lib/hooks/init/check-local-sfdx-hardis-files.d.ts +0 -3
- package/lib/hooks/init/check-local-sfdx-hardis-files.js +0 -151
- package/lib/hooks/init/check-local-sfdx-hardis-files.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -5744,6 +5744,236 @@
|
|
|
5744
5744
|
"import:files:org:hardis"
|
|
5745
5745
|
]
|
|
5746
5746
|
},
|
|
5747
|
+
"hardis:org:fix:listviewmine": {
|
|
5748
|
+
"aliases": [],
|
|
5749
|
+
"args": {},
|
|
5750
|
+
"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",
|
|
5751
|
+
"examples": [
|
|
5752
|
+
"$ sf hardis:org:fix:listviewmine",
|
|
5753
|
+
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
5754
|
+
],
|
|
5755
|
+
"flags": {
|
|
5756
|
+
"json": {
|
|
5757
|
+
"description": "Format output as json.",
|
|
5758
|
+
"helpGroup": "GLOBAL",
|
|
5759
|
+
"name": "json",
|
|
5760
|
+
"allowNo": false,
|
|
5761
|
+
"type": "boolean"
|
|
5762
|
+
},
|
|
5763
|
+
"flags-dir": {
|
|
5764
|
+
"helpGroup": "GLOBAL",
|
|
5765
|
+
"name": "flags-dir",
|
|
5766
|
+
"summary": "Import flag values from a directory.",
|
|
5767
|
+
"hasDynamicHelp": false,
|
|
5768
|
+
"multiple": false,
|
|
5769
|
+
"type": "option"
|
|
5770
|
+
},
|
|
5771
|
+
"listviews": {
|
|
5772
|
+
"char": "l",
|
|
5773
|
+
"description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
|
|
5774
|
+
"name": "listviews",
|
|
5775
|
+
"hasDynamicHelp": false,
|
|
5776
|
+
"multiple": false,
|
|
5777
|
+
"type": "option"
|
|
5778
|
+
},
|
|
5779
|
+
"debug": {
|
|
5780
|
+
"char": "d",
|
|
5781
|
+
"description": "Activate debug mode (more logs)",
|
|
5782
|
+
"name": "debug",
|
|
5783
|
+
"allowNo": false,
|
|
5784
|
+
"type": "boolean"
|
|
5785
|
+
},
|
|
5786
|
+
"websocket": {
|
|
5787
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5788
|
+
"name": "websocket",
|
|
5789
|
+
"hasDynamicHelp": false,
|
|
5790
|
+
"multiple": false,
|
|
5791
|
+
"type": "option"
|
|
5792
|
+
},
|
|
5793
|
+
"skipauth": {
|
|
5794
|
+
"description": "Skip authentication check when a default username is required",
|
|
5795
|
+
"name": "skipauth",
|
|
5796
|
+
"allowNo": false,
|
|
5797
|
+
"type": "boolean"
|
|
5798
|
+
},
|
|
5799
|
+
"target-org": {
|
|
5800
|
+
"aliases": [
|
|
5801
|
+
"targetusername",
|
|
5802
|
+
"u"
|
|
5803
|
+
],
|
|
5804
|
+
"char": "o",
|
|
5805
|
+
"deprecateAliases": true,
|
|
5806
|
+
"name": "target-org",
|
|
5807
|
+
"noCacheDefault": true,
|
|
5808
|
+
"required": true,
|
|
5809
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5810
|
+
"hasDynamicHelp": true,
|
|
5811
|
+
"multiple": false,
|
|
5812
|
+
"type": "option"
|
|
5813
|
+
}
|
|
5814
|
+
},
|
|
5815
|
+
"hasDynamicHelp": true,
|
|
5816
|
+
"hiddenAliases": [],
|
|
5817
|
+
"id": "hardis:org:fix:listviewmine",
|
|
5818
|
+
"pluginAlias": "sfdx-hardis",
|
|
5819
|
+
"pluginName": "sfdx-hardis",
|
|
5820
|
+
"pluginType": "core",
|
|
5821
|
+
"strict": true,
|
|
5822
|
+
"enableJsonFlag": true,
|
|
5823
|
+
"title": "Fix listviews with ",
|
|
5824
|
+
"requiresProject": true,
|
|
5825
|
+
"isESM": true,
|
|
5826
|
+
"relativePath": [
|
|
5827
|
+
"lib",
|
|
5828
|
+
"commands",
|
|
5829
|
+
"hardis",
|
|
5830
|
+
"org",
|
|
5831
|
+
"fix",
|
|
5832
|
+
"listviewmine.js"
|
|
5833
|
+
],
|
|
5834
|
+
"aliasPermutations": [],
|
|
5835
|
+
"permutations": [
|
|
5836
|
+
"hardis:org:fix:listviewmine",
|
|
5837
|
+
"org:hardis:fix:listviewmine",
|
|
5838
|
+
"org:fix:hardis:listviewmine",
|
|
5839
|
+
"org:fix:listviewmine:hardis",
|
|
5840
|
+
"hardis:fix:org:listviewmine",
|
|
5841
|
+
"fix:hardis:org:listviewmine",
|
|
5842
|
+
"fix:org:hardis:listviewmine",
|
|
5843
|
+
"fix:org:listviewmine:hardis",
|
|
5844
|
+
"hardis:fix:listviewmine:org",
|
|
5845
|
+
"fix:hardis:listviewmine:org",
|
|
5846
|
+
"fix:listviewmine:hardis:org",
|
|
5847
|
+
"fix:listviewmine:org:hardis",
|
|
5848
|
+
"hardis:org:listviewmine:fix",
|
|
5849
|
+
"org:hardis:listviewmine:fix",
|
|
5850
|
+
"org:listviewmine:hardis:fix",
|
|
5851
|
+
"org:listviewmine:fix:hardis",
|
|
5852
|
+
"hardis:listviewmine:org:fix",
|
|
5853
|
+
"listviewmine:hardis:org:fix",
|
|
5854
|
+
"listviewmine:org:hardis:fix",
|
|
5855
|
+
"listviewmine:org:fix:hardis",
|
|
5856
|
+
"hardis:listviewmine:fix:org",
|
|
5857
|
+
"listviewmine:hardis:fix:org",
|
|
5858
|
+
"listviewmine:fix:hardis:org",
|
|
5859
|
+
"listviewmine:fix:org:hardis"
|
|
5860
|
+
]
|
|
5861
|
+
},
|
|
5862
|
+
"hardis:org:generate:packagexmlfull": {
|
|
5863
|
+
"aliases": [],
|
|
5864
|
+
"args": {},
|
|
5865
|
+
"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.\n\n## Technical explanations\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",
|
|
5866
|
+
"examples": [
|
|
5867
|
+
"$ sf hardis:org:generate:packagexmlfull",
|
|
5868
|
+
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
5869
|
+
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
5870
|
+
],
|
|
5871
|
+
"flags": {
|
|
5872
|
+
"json": {
|
|
5873
|
+
"description": "Format output as json.",
|
|
5874
|
+
"helpGroup": "GLOBAL",
|
|
5875
|
+
"name": "json",
|
|
5876
|
+
"allowNo": false,
|
|
5877
|
+
"type": "boolean"
|
|
5878
|
+
},
|
|
5879
|
+
"flags-dir": {
|
|
5880
|
+
"helpGroup": "GLOBAL",
|
|
5881
|
+
"name": "flags-dir",
|
|
5882
|
+
"summary": "Import flag values from a directory.",
|
|
5883
|
+
"hasDynamicHelp": false,
|
|
5884
|
+
"multiple": false,
|
|
5885
|
+
"type": "option"
|
|
5886
|
+
},
|
|
5887
|
+
"outputfile": {
|
|
5888
|
+
"description": "Output package.xml file",
|
|
5889
|
+
"name": "outputfile",
|
|
5890
|
+
"hasDynamicHelp": false,
|
|
5891
|
+
"multiple": false,
|
|
5892
|
+
"type": "option"
|
|
5893
|
+
},
|
|
5894
|
+
"debug": {
|
|
5895
|
+
"char": "d",
|
|
5896
|
+
"description": "Activate debug mode (more logs)",
|
|
5897
|
+
"name": "debug",
|
|
5898
|
+
"allowNo": false,
|
|
5899
|
+
"type": "boolean"
|
|
5900
|
+
},
|
|
5901
|
+
"websocket": {
|
|
5902
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5903
|
+
"name": "websocket",
|
|
5904
|
+
"hasDynamicHelp": false,
|
|
5905
|
+
"multiple": false,
|
|
5906
|
+
"type": "option"
|
|
5907
|
+
},
|
|
5908
|
+
"skipauth": {
|
|
5909
|
+
"description": "Skip authentication check when a default username is required",
|
|
5910
|
+
"name": "skipauth",
|
|
5911
|
+
"allowNo": false,
|
|
5912
|
+
"type": "boolean"
|
|
5913
|
+
},
|
|
5914
|
+
"target-org": {
|
|
5915
|
+
"aliases": [
|
|
5916
|
+
"targetusername",
|
|
5917
|
+
"u"
|
|
5918
|
+
],
|
|
5919
|
+
"char": "o",
|
|
5920
|
+
"deprecateAliases": true,
|
|
5921
|
+
"name": "target-org",
|
|
5922
|
+
"noCacheDefault": true,
|
|
5923
|
+
"required": true,
|
|
5924
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5925
|
+
"hasDynamicHelp": true,
|
|
5926
|
+
"multiple": false,
|
|
5927
|
+
"type": "option"
|
|
5928
|
+
}
|
|
5929
|
+
},
|
|
5930
|
+
"hasDynamicHelp": true,
|
|
5931
|
+
"hiddenAliases": [],
|
|
5932
|
+
"id": "hardis:org:generate:packagexmlfull",
|
|
5933
|
+
"pluginAlias": "sfdx-hardis",
|
|
5934
|
+
"pluginName": "sfdx-hardis",
|
|
5935
|
+
"pluginType": "core",
|
|
5936
|
+
"strict": true,
|
|
5937
|
+
"enableJsonFlag": true,
|
|
5938
|
+
"title": "Generate Full Org package.xml",
|
|
5939
|
+
"requiresProject": false,
|
|
5940
|
+
"isESM": true,
|
|
5941
|
+
"relativePath": [
|
|
5942
|
+
"lib",
|
|
5943
|
+
"commands",
|
|
5944
|
+
"hardis",
|
|
5945
|
+
"org",
|
|
5946
|
+
"generate",
|
|
5947
|
+
"packagexmlfull.js"
|
|
5948
|
+
],
|
|
5949
|
+
"aliasPermutations": [],
|
|
5950
|
+
"permutations": [
|
|
5951
|
+
"hardis:org:generate:packagexmlfull",
|
|
5952
|
+
"org:hardis:generate:packagexmlfull",
|
|
5953
|
+
"org:generate:hardis:packagexmlfull",
|
|
5954
|
+
"org:generate:packagexmlfull:hardis",
|
|
5955
|
+
"hardis:generate:org:packagexmlfull",
|
|
5956
|
+
"generate:hardis:org:packagexmlfull",
|
|
5957
|
+
"generate:org:hardis:packagexmlfull",
|
|
5958
|
+
"generate:org:packagexmlfull:hardis",
|
|
5959
|
+
"hardis:generate:packagexmlfull:org",
|
|
5960
|
+
"generate:hardis:packagexmlfull:org",
|
|
5961
|
+
"generate:packagexmlfull:hardis:org",
|
|
5962
|
+
"generate:packagexmlfull:org:hardis",
|
|
5963
|
+
"hardis:org:packagexmlfull:generate",
|
|
5964
|
+
"org:hardis:packagexmlfull:generate",
|
|
5965
|
+
"org:packagexmlfull:hardis:generate",
|
|
5966
|
+
"org:packagexmlfull:generate:hardis",
|
|
5967
|
+
"hardis:packagexmlfull:org:generate",
|
|
5968
|
+
"packagexmlfull:hardis:org:generate",
|
|
5969
|
+
"packagexmlfull:org:hardis:generate",
|
|
5970
|
+
"packagexmlfull:org:generate:hardis",
|
|
5971
|
+
"hardis:packagexmlfull:generate:org",
|
|
5972
|
+
"packagexmlfull:hardis:generate:org",
|
|
5973
|
+
"packagexmlfull:generate:hardis:org",
|
|
5974
|
+
"packagexmlfull:generate:org:hardis"
|
|
5975
|
+
]
|
|
5976
|
+
},
|
|
5747
5977
|
"hardis:org:diagnose:audittrail": {
|
|
5748
5978
|
"aliases": [],
|
|
5749
5979
|
"args": {},
|
|
@@ -6893,14 +7123,12 @@
|
|
|
6893
7123
|
"unusedusers:diagnose:org:hardis"
|
|
6894
7124
|
]
|
|
6895
7125
|
},
|
|
6896
|
-
"hardis:org:
|
|
7126
|
+
"hardis:org:monitor:all": {
|
|
6897
7127
|
"aliases": [],
|
|
6898
7128
|
"args": {},
|
|
6899
|
-
"description": "
|
|
7129
|
+
"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| [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",
|
|
6900
7130
|
"examples": [
|
|
6901
|
-
"$ sf hardis:org:
|
|
6902
|
-
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
6903
|
-
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
7131
|
+
"$ sf hardis:org:monitor:all"
|
|
6904
7132
|
],
|
|
6905
7133
|
"flags": {
|
|
6906
7134
|
"json": {
|
|
@@ -6918,13 +7146,6 @@
|
|
|
6918
7146
|
"multiple": false,
|
|
6919
7147
|
"type": "option"
|
|
6920
7148
|
},
|
|
6921
|
-
"outputfile": {
|
|
6922
|
-
"description": "Output package.xml file",
|
|
6923
|
-
"name": "outputfile",
|
|
6924
|
-
"hasDynamicHelp": false,
|
|
6925
|
-
"multiple": false,
|
|
6926
|
-
"type": "option"
|
|
6927
|
-
},
|
|
6928
7149
|
"debug": {
|
|
6929
7150
|
"char": "d",
|
|
6930
7151
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6963,228 +7184,7 @@
|
|
|
6963
7184
|
},
|
|
6964
7185
|
"hasDynamicHelp": true,
|
|
6965
7186
|
"hiddenAliases": [],
|
|
6966
|
-
"id": "hardis:org:
|
|
6967
|
-
"pluginAlias": "sfdx-hardis",
|
|
6968
|
-
"pluginName": "sfdx-hardis",
|
|
6969
|
-
"pluginType": "core",
|
|
6970
|
-
"strict": true,
|
|
6971
|
-
"enableJsonFlag": true,
|
|
6972
|
-
"title": "Generate Full Org package.xml",
|
|
6973
|
-
"requiresProject": false,
|
|
6974
|
-
"isESM": true,
|
|
6975
|
-
"relativePath": [
|
|
6976
|
-
"lib",
|
|
6977
|
-
"commands",
|
|
6978
|
-
"hardis",
|
|
6979
|
-
"org",
|
|
6980
|
-
"generate",
|
|
6981
|
-
"packagexmlfull.js"
|
|
6982
|
-
],
|
|
6983
|
-
"aliasPermutations": [],
|
|
6984
|
-
"permutations": [
|
|
6985
|
-
"hardis:org:generate:packagexmlfull",
|
|
6986
|
-
"org:hardis:generate:packagexmlfull",
|
|
6987
|
-
"org:generate:hardis:packagexmlfull",
|
|
6988
|
-
"org:generate:packagexmlfull:hardis",
|
|
6989
|
-
"hardis:generate:org:packagexmlfull",
|
|
6990
|
-
"generate:hardis:org:packagexmlfull",
|
|
6991
|
-
"generate:org:hardis:packagexmlfull",
|
|
6992
|
-
"generate:org:packagexmlfull:hardis",
|
|
6993
|
-
"hardis:generate:packagexmlfull:org",
|
|
6994
|
-
"generate:hardis:packagexmlfull:org",
|
|
6995
|
-
"generate:packagexmlfull:hardis:org",
|
|
6996
|
-
"generate:packagexmlfull:org:hardis",
|
|
6997
|
-
"hardis:org:packagexmlfull:generate",
|
|
6998
|
-
"org:hardis:packagexmlfull:generate",
|
|
6999
|
-
"org:packagexmlfull:hardis:generate",
|
|
7000
|
-
"org:packagexmlfull:generate:hardis",
|
|
7001
|
-
"hardis:packagexmlfull:org:generate",
|
|
7002
|
-
"packagexmlfull:hardis:org:generate",
|
|
7003
|
-
"packagexmlfull:org:hardis:generate",
|
|
7004
|
-
"packagexmlfull:org:generate:hardis",
|
|
7005
|
-
"hardis:packagexmlfull:generate:org",
|
|
7006
|
-
"packagexmlfull:hardis:generate:org",
|
|
7007
|
-
"packagexmlfull:generate:hardis:org",
|
|
7008
|
-
"packagexmlfull:generate:org:hardis"
|
|
7009
|
-
]
|
|
7010
|
-
},
|
|
7011
|
-
"hardis:org:fix:listviewmine": {
|
|
7012
|
-
"aliases": [],
|
|
7013
|
-
"args": {},
|
|
7014
|
-
"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",
|
|
7015
|
-
"examples": [
|
|
7016
|
-
"$ sf hardis:org:fix:listviewmine",
|
|
7017
|
-
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
7018
|
-
],
|
|
7019
|
-
"flags": {
|
|
7020
|
-
"json": {
|
|
7021
|
-
"description": "Format output as json.",
|
|
7022
|
-
"helpGroup": "GLOBAL",
|
|
7023
|
-
"name": "json",
|
|
7024
|
-
"allowNo": false,
|
|
7025
|
-
"type": "boolean"
|
|
7026
|
-
},
|
|
7027
|
-
"flags-dir": {
|
|
7028
|
-
"helpGroup": "GLOBAL",
|
|
7029
|
-
"name": "flags-dir",
|
|
7030
|
-
"summary": "Import flag values from a directory.",
|
|
7031
|
-
"hasDynamicHelp": false,
|
|
7032
|
-
"multiple": false,
|
|
7033
|
-
"type": "option"
|
|
7034
|
-
},
|
|
7035
|
-
"listviews": {
|
|
7036
|
-
"char": "l",
|
|
7037
|
-
"description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
|
|
7038
|
-
"name": "listviews",
|
|
7039
|
-
"hasDynamicHelp": false,
|
|
7040
|
-
"multiple": false,
|
|
7041
|
-
"type": "option"
|
|
7042
|
-
},
|
|
7043
|
-
"debug": {
|
|
7044
|
-
"char": "d",
|
|
7045
|
-
"description": "Activate debug mode (more logs)",
|
|
7046
|
-
"name": "debug",
|
|
7047
|
-
"allowNo": false,
|
|
7048
|
-
"type": "boolean"
|
|
7049
|
-
},
|
|
7050
|
-
"websocket": {
|
|
7051
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
7052
|
-
"name": "websocket",
|
|
7053
|
-
"hasDynamicHelp": false,
|
|
7054
|
-
"multiple": false,
|
|
7055
|
-
"type": "option"
|
|
7056
|
-
},
|
|
7057
|
-
"skipauth": {
|
|
7058
|
-
"description": "Skip authentication check when a default username is required",
|
|
7059
|
-
"name": "skipauth",
|
|
7060
|
-
"allowNo": false,
|
|
7061
|
-
"type": "boolean"
|
|
7062
|
-
},
|
|
7063
|
-
"target-org": {
|
|
7064
|
-
"aliases": [
|
|
7065
|
-
"targetusername",
|
|
7066
|
-
"u"
|
|
7067
|
-
],
|
|
7068
|
-
"char": "o",
|
|
7069
|
-
"deprecateAliases": true,
|
|
7070
|
-
"name": "target-org",
|
|
7071
|
-
"noCacheDefault": true,
|
|
7072
|
-
"required": true,
|
|
7073
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
7074
|
-
"hasDynamicHelp": true,
|
|
7075
|
-
"multiple": false,
|
|
7076
|
-
"type": "option"
|
|
7077
|
-
}
|
|
7078
|
-
},
|
|
7079
|
-
"hasDynamicHelp": true,
|
|
7080
|
-
"hiddenAliases": [],
|
|
7081
|
-
"id": "hardis:org:fix:listviewmine",
|
|
7082
|
-
"pluginAlias": "sfdx-hardis",
|
|
7083
|
-
"pluginName": "sfdx-hardis",
|
|
7084
|
-
"pluginType": "core",
|
|
7085
|
-
"strict": true,
|
|
7086
|
-
"enableJsonFlag": true,
|
|
7087
|
-
"title": "Fix listviews with ",
|
|
7088
|
-
"requiresProject": true,
|
|
7089
|
-
"isESM": true,
|
|
7090
|
-
"relativePath": [
|
|
7091
|
-
"lib",
|
|
7092
|
-
"commands",
|
|
7093
|
-
"hardis",
|
|
7094
|
-
"org",
|
|
7095
|
-
"fix",
|
|
7096
|
-
"listviewmine.js"
|
|
7097
|
-
],
|
|
7098
|
-
"aliasPermutations": [],
|
|
7099
|
-
"permutations": [
|
|
7100
|
-
"hardis:org:fix:listviewmine",
|
|
7101
|
-
"org:hardis:fix:listviewmine",
|
|
7102
|
-
"org:fix:hardis:listviewmine",
|
|
7103
|
-
"org:fix:listviewmine:hardis",
|
|
7104
|
-
"hardis:fix:org:listviewmine",
|
|
7105
|
-
"fix:hardis:org:listviewmine",
|
|
7106
|
-
"fix:org:hardis:listviewmine",
|
|
7107
|
-
"fix:org:listviewmine:hardis",
|
|
7108
|
-
"hardis:fix:listviewmine:org",
|
|
7109
|
-
"fix:hardis:listviewmine:org",
|
|
7110
|
-
"fix:listviewmine:hardis:org",
|
|
7111
|
-
"fix:listviewmine:org:hardis",
|
|
7112
|
-
"hardis:org:listviewmine:fix",
|
|
7113
|
-
"org:hardis:listviewmine:fix",
|
|
7114
|
-
"org:listviewmine:hardis:fix",
|
|
7115
|
-
"org:listviewmine:fix:hardis",
|
|
7116
|
-
"hardis:listviewmine:org:fix",
|
|
7117
|
-
"listviewmine:hardis:org:fix",
|
|
7118
|
-
"listviewmine:org:hardis:fix",
|
|
7119
|
-
"listviewmine:org:fix:hardis",
|
|
7120
|
-
"hardis:listviewmine:fix:org",
|
|
7121
|
-
"listviewmine:hardis:fix:org",
|
|
7122
|
-
"listviewmine:fix:hardis:org",
|
|
7123
|
-
"listviewmine:fix:org:hardis"
|
|
7124
|
-
]
|
|
7125
|
-
},
|
|
7126
|
-
"hardis:org:monitor:all": {
|
|
7127
|
-
"aliases": [],
|
|
7128
|
-
"args": {},
|
|
7129
|
-
"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| [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",
|
|
7130
|
-
"examples": [
|
|
7131
|
-
"$ sf hardis:org:monitor:all"
|
|
7132
|
-
],
|
|
7133
|
-
"flags": {
|
|
7134
|
-
"json": {
|
|
7135
|
-
"description": "Format output as json.",
|
|
7136
|
-
"helpGroup": "GLOBAL",
|
|
7137
|
-
"name": "json",
|
|
7138
|
-
"allowNo": false,
|
|
7139
|
-
"type": "boolean"
|
|
7140
|
-
},
|
|
7141
|
-
"flags-dir": {
|
|
7142
|
-
"helpGroup": "GLOBAL",
|
|
7143
|
-
"name": "flags-dir",
|
|
7144
|
-
"summary": "Import flag values from a directory.",
|
|
7145
|
-
"hasDynamicHelp": false,
|
|
7146
|
-
"multiple": false,
|
|
7147
|
-
"type": "option"
|
|
7148
|
-
},
|
|
7149
|
-
"debug": {
|
|
7150
|
-
"char": "d",
|
|
7151
|
-
"description": "Activate debug mode (more logs)",
|
|
7152
|
-
"name": "debug",
|
|
7153
|
-
"allowNo": false,
|
|
7154
|
-
"type": "boolean"
|
|
7155
|
-
},
|
|
7156
|
-
"websocket": {
|
|
7157
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
7158
|
-
"name": "websocket",
|
|
7159
|
-
"hasDynamicHelp": false,
|
|
7160
|
-
"multiple": false,
|
|
7161
|
-
"type": "option"
|
|
7162
|
-
},
|
|
7163
|
-
"skipauth": {
|
|
7164
|
-
"description": "Skip authentication check when a default username is required",
|
|
7165
|
-
"name": "skipauth",
|
|
7166
|
-
"allowNo": false,
|
|
7167
|
-
"type": "boolean"
|
|
7168
|
-
},
|
|
7169
|
-
"target-org": {
|
|
7170
|
-
"aliases": [
|
|
7171
|
-
"targetusername",
|
|
7172
|
-
"u"
|
|
7173
|
-
],
|
|
7174
|
-
"char": "o",
|
|
7175
|
-
"deprecateAliases": true,
|
|
7176
|
-
"name": "target-org",
|
|
7177
|
-
"noCacheDefault": true,
|
|
7178
|
-
"required": true,
|
|
7179
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
7180
|
-
"hasDynamicHelp": true,
|
|
7181
|
-
"multiple": false,
|
|
7182
|
-
"type": "option"
|
|
7183
|
-
}
|
|
7184
|
-
},
|
|
7185
|
-
"hasDynamicHelp": true,
|
|
7186
|
-
"hiddenAliases": [],
|
|
7187
|
-
"id": "hardis:org:monitor:all",
|
|
7187
|
+
"id": "hardis:org:monitor:all",
|
|
7188
7188
|
"pluginAlias": "sfdx-hardis",
|
|
7189
7189
|
"pluginName": "sfdx-hardis",
|
|
7190
7190
|
"pluginType": "core",
|
|
@@ -9260,12 +9260,12 @@
|
|
|
9260
9260
|
"remotesites:audit:project:hardis"
|
|
9261
9261
|
]
|
|
9262
9262
|
},
|
|
9263
|
-
"hardis:project:
|
|
9263
|
+
"hardis:project:convert:profilestopermsets": {
|
|
9264
9264
|
"aliases": [],
|
|
9265
9265
|
"args": {},
|
|
9266
|
-
"description": "\n## Command Behavior\n\n**
|
|
9266
|
+
"description": "\n## Command Behavior\n\n**Converts existing Salesforce Profiles into Permission Sets, facilitating a more granular and recommended security model.**\n\nThis command helps in migrating permissions from Profiles to Permission Sets, which is a best practice for managing user access in Salesforce. It creates a new Permission Set for each specified Profile, adopting a naming convention of `PS_PROFILENAME`.\n\nKey functionalities:\n\n- **Profile to Permission Set Conversion:** Automatically extracts permissions from a Profile and creates a corresponding Permission Set.\n- **Naming Convention:** New Permission Sets are named with a `PS_` prefix followed by the Profile name (e.g., `PS_Standard_User`).\n- **Exclusion Filter:** Allows you to exclude specific Profiles from the conversion process using the `--except` flag.\n\n## Technical explanations\n\nThe command's technical implementation involves:\n\n- **External Plugin Integration:** It relies on the `shane-sfdx-plugins` (specifically the `sf shane:profile:convert` command) to perform the actual conversion.\n- **File System Scan:** It reads the contents of the `force-app/main/default/profiles` directory to identify all available Profile metadata files.\n- **Command Execution:** For each identified Profile (that is not excluded), it constructs and executes the `sf shane:profile:convert` command with the appropriate Profile name and desired Permission Set name.\n- **Error Handling:** Includes basic error handling for the external command execution.\n",
|
|
9267
9267
|
"examples": [
|
|
9268
|
-
"$ sf hardis:project:
|
|
9268
|
+
"$ sf hardis:project:convert:profilestopermsets"
|
|
9269
9269
|
],
|
|
9270
9270
|
"flags": {
|
|
9271
9271
|
"json": {
|
|
@@ -9283,12 +9283,14 @@
|
|
|
9283
9283
|
"multiple": false,
|
|
9284
9284
|
"type": "option"
|
|
9285
9285
|
},
|
|
9286
|
-
"
|
|
9287
|
-
"char": "
|
|
9288
|
-
"description": "
|
|
9289
|
-
"name": "
|
|
9290
|
-
"
|
|
9291
|
-
"
|
|
9286
|
+
"except": {
|
|
9287
|
+
"char": "e",
|
|
9288
|
+
"description": "List of filters",
|
|
9289
|
+
"name": "except",
|
|
9290
|
+
"default": [],
|
|
9291
|
+
"hasDynamicHelp": false,
|
|
9292
|
+
"multiple": true,
|
|
9293
|
+
"type": "option"
|
|
9292
9294
|
},
|
|
9293
9295
|
"debug": {
|
|
9294
9296
|
"char": "d",
|
|
@@ -9309,48 +9311,20 @@
|
|
|
9309
9311
|
"name": "skipauth",
|
|
9310
9312
|
"allowNo": false,
|
|
9311
9313
|
"type": "boolean"
|
|
9312
|
-
},
|
|
9313
|
-
"target-org": {
|
|
9314
|
-
"aliases": [
|
|
9315
|
-
"targetusername",
|
|
9316
|
-
"u"
|
|
9317
|
-
],
|
|
9318
|
-
"char": "o",
|
|
9319
|
-
"deprecateAliases": true,
|
|
9320
|
-
"name": "target-org",
|
|
9321
|
-
"noCacheDefault": true,
|
|
9322
|
-
"summary": "Username or alias of the target org.",
|
|
9323
|
-
"hasDynamicHelp": true,
|
|
9324
|
-
"multiple": false,
|
|
9325
|
-
"type": "option"
|
|
9326
|
-
},
|
|
9327
|
-
"target-dev-hub": {
|
|
9328
|
-
"aliases": [
|
|
9329
|
-
"targetdevhubusername"
|
|
9330
|
-
],
|
|
9331
|
-
"char": "v",
|
|
9332
|
-
"deprecateAliases": true,
|
|
9333
|
-
"name": "target-dev-hub",
|
|
9334
|
-
"noCacheDefault": true,
|
|
9335
|
-
"required": false,
|
|
9336
|
-
"summary": "Username or alias of the Dev Hub org.",
|
|
9337
|
-
"hasDynamicHelp": true,
|
|
9338
|
-
"multiple": false,
|
|
9339
|
-
"type": "option"
|
|
9340
9314
|
}
|
|
9341
9315
|
},
|
|
9342
|
-
"hasDynamicHelp":
|
|
9316
|
+
"hasDynamicHelp": false,
|
|
9343
9317
|
"hiddenAliases": [],
|
|
9344
|
-
"id": "hardis:project:
|
|
9318
|
+
"id": "hardis:project:convert:profilestopermsets",
|
|
9345
9319
|
"pluginAlias": "sfdx-hardis",
|
|
9346
9320
|
"pluginName": "sfdx-hardis",
|
|
9347
9321
|
"pluginType": "core",
|
|
9348
9322
|
"strict": true,
|
|
9349
9323
|
"enableJsonFlag": true,
|
|
9350
|
-
"title": "
|
|
9351
|
-
"requiresProject":
|
|
9352
|
-
"
|
|
9353
|
-
"
|
|
9324
|
+
"title": "Convert Profiles into Permission Sets",
|
|
9325
|
+
"requiresProject": true,
|
|
9326
|
+
"requiresSfdxPlugins": [
|
|
9327
|
+
"shane-sfdx-plugins"
|
|
9354
9328
|
],
|
|
9355
9329
|
"isESM": true,
|
|
9356
9330
|
"relativePath": [
|
|
@@ -9358,43 +9332,43 @@
|
|
|
9358
9332
|
"commands",
|
|
9359
9333
|
"hardis",
|
|
9360
9334
|
"project",
|
|
9361
|
-
"
|
|
9362
|
-
"
|
|
9335
|
+
"convert",
|
|
9336
|
+
"profilestopermsets.js"
|
|
9363
9337
|
],
|
|
9364
9338
|
"aliasPermutations": [],
|
|
9365
9339
|
"permutations": [
|
|
9366
|
-
"hardis:project:
|
|
9367
|
-
"project:hardis:
|
|
9368
|
-
"project:
|
|
9369
|
-
"project:
|
|
9370
|
-
"hardis:
|
|
9371
|
-
"
|
|
9372
|
-
"
|
|
9373
|
-
"
|
|
9374
|
-
"hardis:
|
|
9375
|
-
"
|
|
9376
|
-
"
|
|
9377
|
-
"
|
|
9378
|
-
"hardis:project:
|
|
9379
|
-
"project:hardis:
|
|
9380
|
-
"project:
|
|
9381
|
-
"project:
|
|
9382
|
-
"hardis:
|
|
9383
|
-
"
|
|
9384
|
-
"
|
|
9385
|
-
"
|
|
9386
|
-
"hardis:
|
|
9387
|
-
"
|
|
9388
|
-
"
|
|
9389
|
-
"
|
|
9340
|
+
"hardis:project:convert:profilestopermsets",
|
|
9341
|
+
"project:hardis:convert:profilestopermsets",
|
|
9342
|
+
"project:convert:hardis:profilestopermsets",
|
|
9343
|
+
"project:convert:profilestopermsets:hardis",
|
|
9344
|
+
"hardis:convert:project:profilestopermsets",
|
|
9345
|
+
"convert:hardis:project:profilestopermsets",
|
|
9346
|
+
"convert:project:hardis:profilestopermsets",
|
|
9347
|
+
"convert:project:profilestopermsets:hardis",
|
|
9348
|
+
"hardis:convert:profilestopermsets:project",
|
|
9349
|
+
"convert:hardis:profilestopermsets:project",
|
|
9350
|
+
"convert:profilestopermsets:hardis:project",
|
|
9351
|
+
"convert:profilestopermsets:project:hardis",
|
|
9352
|
+
"hardis:project:profilestopermsets:convert",
|
|
9353
|
+
"project:hardis:profilestopermsets:convert",
|
|
9354
|
+
"project:profilestopermsets:hardis:convert",
|
|
9355
|
+
"project:profilestopermsets:convert:hardis",
|
|
9356
|
+
"hardis:profilestopermsets:project:convert",
|
|
9357
|
+
"profilestopermsets:hardis:project:convert",
|
|
9358
|
+
"profilestopermsets:project:hardis:convert",
|
|
9359
|
+
"profilestopermsets:project:convert:hardis",
|
|
9360
|
+
"hardis:profilestopermsets:convert:project",
|
|
9361
|
+
"profilestopermsets:hardis:convert:project",
|
|
9362
|
+
"profilestopermsets:convert:hardis:project",
|
|
9363
|
+
"profilestopermsets:convert:project:hardis"
|
|
9390
9364
|
]
|
|
9391
9365
|
},
|
|
9392
|
-
"hardis:project:
|
|
9366
|
+
"hardis:project:configure:auth": {
|
|
9393
9367
|
"aliases": [],
|
|
9394
9368
|
"args": {},
|
|
9395
|
-
"description": "\n## Command Behavior\n\n**
|
|
9369
|
+
"description": "\n## Command Behavior\n\n**Configures authentication between a Git branch and a target Salesforce org for CI/CD deployments.**\n\nThis command facilitates the setup of automated CI/CD pipelines, enabling seamless deployments from specific Git branches to designated Salesforce orgs. It supports both standard Salesforce orgs and Dev Hub configurations, catering to various enterprise deployment workflows.\n\nKey functionalities include:\n\n- **Org Selection/Login:** Guides the user to select an existing Salesforce org or log in to a new one.\n- **Git Branch Association:** Allows associating a specific Git branch with the chosen Salesforce org.\n- **Merge Target Definition:** Enables defining target Git branches into which the configured branch can merge, ensuring controlled deployment flows.\n- **Salesforce Username Configuration:** Prompts for the Salesforce username to be used by the CI server for deployments.\n- **SSL Certificate Generation:** Automatically generates an SSL certificate for secure authentication.\n\n## Technical explanations\n\nThe command's implementation involves several key technical aspects:\n\n- **SF CLI Integration:** Utilizes \n@salesforce/sf-plugins-core\n for command structure and flag parsing.\n- **Interactive Prompts:** Employs the \nprompts\n library for interactive user input, guiding the configuration process.\n- **Git Integration:** Interacts with Git to retrieve branch information using \n`git().branch([\"--list\", \"-r\"])`\n.\n- **Configuration Management:** Leverages internal utilities (`checkConfig`, `getConfig`, `setConfig`, `setInConfigFile`) to read from and write to project-specific configuration files (e.g., `.sfdx-hardis.<branchName>.yml`).\n- **Salesforce CLI Execution:** Executes Salesforce CLI commands programmatically via `execSfdxJson` for org interactions.\n- **SSL Certificate Generation:** Calls `generateSSLCertificate` to create necessary SSL certificates for JWT-based authentication.\n- **WebSocket Communication:** Uses `WebSocketClient` for potential communication with external tools or processes, such as restarting the command in VS Code.\n- **Dependency Check:** Ensures the presence of `openssl` on the system, which is required for SSL certificate generation.\n",
|
|
9396
9370
|
"examples": [
|
|
9397
|
-
"$ sf hardis:project:
|
|
9371
|
+
"$ sf hardis:project:configure:auth"
|
|
9398
9372
|
],
|
|
9399
9373
|
"flags": {
|
|
9400
9374
|
"json": {
|
|
@@ -9412,14 +9386,12 @@
|
|
|
9412
9386
|
"multiple": false,
|
|
9413
9387
|
"type": "option"
|
|
9414
9388
|
},
|
|
9415
|
-
"
|
|
9416
|
-
"char": "
|
|
9417
|
-
"description": "
|
|
9418
|
-
"name": "
|
|
9419
|
-
"
|
|
9420
|
-
"
|
|
9421
|
-
"multiple": true,
|
|
9422
|
-
"type": "option"
|
|
9389
|
+
"devhub": {
|
|
9390
|
+
"char": "b",
|
|
9391
|
+
"description": "Configure project DevHub",
|
|
9392
|
+
"name": "devhub",
|
|
9393
|
+
"allowNo": false,
|
|
9394
|
+
"type": "boolean"
|
|
9423
9395
|
},
|
|
9424
9396
|
"debug": {
|
|
9425
9397
|
"char": "d",
|
|
@@ -9440,20 +9412,48 @@
|
|
|
9440
9412
|
"name": "skipauth",
|
|
9441
9413
|
"allowNo": false,
|
|
9442
9414
|
"type": "boolean"
|
|
9415
|
+
},
|
|
9416
|
+
"target-org": {
|
|
9417
|
+
"aliases": [
|
|
9418
|
+
"targetusername",
|
|
9419
|
+
"u"
|
|
9420
|
+
],
|
|
9421
|
+
"char": "o",
|
|
9422
|
+
"deprecateAliases": true,
|
|
9423
|
+
"name": "target-org",
|
|
9424
|
+
"noCacheDefault": true,
|
|
9425
|
+
"summary": "Username or alias of the target org.",
|
|
9426
|
+
"hasDynamicHelp": true,
|
|
9427
|
+
"multiple": false,
|
|
9428
|
+
"type": "option"
|
|
9429
|
+
},
|
|
9430
|
+
"target-dev-hub": {
|
|
9431
|
+
"aliases": [
|
|
9432
|
+
"targetdevhubusername"
|
|
9433
|
+
],
|
|
9434
|
+
"char": "v",
|
|
9435
|
+
"deprecateAliases": true,
|
|
9436
|
+
"name": "target-dev-hub",
|
|
9437
|
+
"noCacheDefault": true,
|
|
9438
|
+
"required": false,
|
|
9439
|
+
"summary": "Username or alias of the Dev Hub org.",
|
|
9440
|
+
"hasDynamicHelp": true,
|
|
9441
|
+
"multiple": false,
|
|
9442
|
+
"type": "option"
|
|
9443
9443
|
}
|
|
9444
9444
|
},
|
|
9445
|
-
"hasDynamicHelp":
|
|
9445
|
+
"hasDynamicHelp": true,
|
|
9446
9446
|
"hiddenAliases": [],
|
|
9447
|
-
"id": "hardis:project:
|
|
9447
|
+
"id": "hardis:project:configure:auth",
|
|
9448
9448
|
"pluginAlias": "sfdx-hardis",
|
|
9449
9449
|
"pluginName": "sfdx-hardis",
|
|
9450
9450
|
"pluginType": "core",
|
|
9451
9451
|
"strict": true,
|
|
9452
9452
|
"enableJsonFlag": true,
|
|
9453
|
-
"title": "
|
|
9454
|
-
"requiresProject":
|
|
9455
|
-
"
|
|
9456
|
-
"
|
|
9453
|
+
"title": "Configure authentication",
|
|
9454
|
+
"requiresProject": false,
|
|
9455
|
+
"requiresDependencies": [
|
|
9456
|
+
"openssl"
|
|
9457
9457
|
],
|
|
9458
9458
|
"isESM": true,
|
|
9459
9459
|
"relativePath": [
|
|
@@ -9461,35 +9461,35 @@
|
|
|
9461
9461
|
"commands",
|
|
9462
9462
|
"hardis",
|
|
9463
9463
|
"project",
|
|
9464
|
-
"
|
|
9465
|
-
"
|
|
9464
|
+
"configure",
|
|
9465
|
+
"auth.js"
|
|
9466
9466
|
],
|
|
9467
9467
|
"aliasPermutations": [],
|
|
9468
9468
|
"permutations": [
|
|
9469
|
-
"hardis:project:
|
|
9470
|
-
"project:hardis:
|
|
9471
|
-
"project:
|
|
9472
|
-
"project:
|
|
9473
|
-
"hardis:
|
|
9474
|
-
"
|
|
9475
|
-
"
|
|
9476
|
-
"
|
|
9477
|
-
"hardis:
|
|
9478
|
-
"
|
|
9479
|
-
"
|
|
9480
|
-
"
|
|
9481
|
-
"hardis:project:
|
|
9482
|
-
"project:hardis:
|
|
9483
|
-
"project:
|
|
9484
|
-
"project:
|
|
9485
|
-
"hardis:
|
|
9486
|
-
"
|
|
9487
|
-
"
|
|
9488
|
-
"
|
|
9489
|
-
"hardis:
|
|
9490
|
-
"
|
|
9491
|
-
"
|
|
9492
|
-
"
|
|
9469
|
+
"hardis:project:configure:auth",
|
|
9470
|
+
"project:hardis:configure:auth",
|
|
9471
|
+
"project:configure:hardis:auth",
|
|
9472
|
+
"project:configure:auth:hardis",
|
|
9473
|
+
"hardis:configure:project:auth",
|
|
9474
|
+
"configure:hardis:project:auth",
|
|
9475
|
+
"configure:project:hardis:auth",
|
|
9476
|
+
"configure:project:auth:hardis",
|
|
9477
|
+
"hardis:configure:auth:project",
|
|
9478
|
+
"configure:hardis:auth:project",
|
|
9479
|
+
"configure:auth:hardis:project",
|
|
9480
|
+
"configure:auth:project:hardis",
|
|
9481
|
+
"hardis:project:auth:configure",
|
|
9482
|
+
"project:hardis:auth:configure",
|
|
9483
|
+
"project:auth:hardis:configure",
|
|
9484
|
+
"project:auth:configure:hardis",
|
|
9485
|
+
"hardis:auth:project:configure",
|
|
9486
|
+
"auth:hardis:project:configure",
|
|
9487
|
+
"auth:project:hardis:configure",
|
|
9488
|
+
"auth:project:configure:hardis",
|
|
9489
|
+
"hardis:auth:configure:project",
|
|
9490
|
+
"auth:hardis:configure:project",
|
|
9491
|
+
"auth:configure:hardis:project",
|
|
9492
|
+
"auth:configure:project:hardis"
|
|
9493
9493
|
]
|
|
9494
9494
|
},
|
|
9495
9495
|
"hardis:project:clean:emptyitems": {
|
|
@@ -10977,12 +10977,14 @@
|
|
|
10977
10977
|
"xml:clean:project:hardis"
|
|
10978
10978
|
]
|
|
10979
10979
|
},
|
|
10980
|
-
"hardis:project:
|
|
10980
|
+
"hardis:project:deploy:notify": {
|
|
10981
10981
|
"aliases": [],
|
|
10982
10982
|
"args": {},
|
|
10983
|
-
"description": "
|
|
10983
|
+
"description": "Post notifications related to:\n\n- **Deployment simulation** _(use with --check-only)_\n\n- **Deployment process** _(to call only if your deployment is successful)_\n\n### Integrations\n\nAccording to the [integrations you configured](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integrations-home/), notifications can contain deployment information and [Flow Visual Git Diff](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-home/#flow-visual-git-diff)\n\n - GitHub, Gitlab, Azure DevOps, Bitbucket comments on Pull Requests (including Flows Visual Git Diff)\n\n - Slack, Microsoft Teams, Email deployment summary after a successful deployment\n\n - JIRA tags and comments on tickets that just has been deployed\n\n\n\n\n\n### Flows Visual Git Diff\n\n- Visually show you the differences on a diagram\n\n- Display the update details without having to open any XML !\n\n🟩 = added\n\n🟥 = removed\n\n🟧 = updated\n\n\n\n\n\n### In custom CI/CD workflow\n\nExample of usage in a custom CI/CD pipeline:\n\n```bash\n# Disable exit-on-error temporarily\nset +e\n\n# Run the deploy command\nsf project deploy start [....]\nRET_CODE=$?\n\n# Re-enable exit-on-error\nset -e\n\n# Determine MYSTATUS based on return code\nif [ $RET_CODE -eq 0 ]; then\n MYSTATUS=\"valid\"\nelse\n MYSTATUS=\"invalid\"\nfi\n\n# Run the notify command with MYSTATUS\nsf hardis:project:deploy:notify --check-only --deploy-status \"$MYSTATUS\"\n```\n\n### Other usages\n\nThis command is for custom SF Cli pipelines, if you are a sfdx-hardis user, it is already embedded in sf hardis:deploy:smart.\n\nYou can also use [sfdx-hardis wrapper commands of SF deployment commands](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-setup/#using-custom-cicd-pipeline)\n",
|
|
10984
10984
|
"examples": [
|
|
10985
|
-
"$ sf hardis:project:
|
|
10985
|
+
"$ sf hardis:project:deploy:notify --check-only --deploy-status valid --message \"This deployment check is valid\\n\\nYahooo !!\"",
|
|
10986
|
+
"$ sf hardis:project:deploy:notify --check-only --deploy-status invalid --message \"This deployment check has failed !\\n\\Oh no !!\"",
|
|
10987
|
+
"$ sf hardis:project:deploy:notify --deploy-status valid --message \"This deployment has been processed !\\n\\nYahooo !!\""
|
|
10986
10988
|
],
|
|
10987
10989
|
"flags": {
|
|
10988
10990
|
"json": {
|
|
@@ -11000,11 +11002,32 @@
|
|
|
11000
11002
|
"multiple": false,
|
|
11001
11003
|
"type": "option"
|
|
11002
11004
|
},
|
|
11003
|
-
"
|
|
11004
|
-
"char": "
|
|
11005
|
-
"description": "
|
|
11006
|
-
"name": "
|
|
11007
|
-
"
|
|
11005
|
+
"check-only": {
|
|
11006
|
+
"char": "c",
|
|
11007
|
+
"description": "Use this option to send notifications from a Deployment simulation job",
|
|
11008
|
+
"name": "check-only",
|
|
11009
|
+
"allowNo": false,
|
|
11010
|
+
"type": "boolean"
|
|
11011
|
+
},
|
|
11012
|
+
"deploy-status": {
|
|
11013
|
+
"char": "s",
|
|
11014
|
+
"description": "Send success, failure or unknown (default) to indicate if the deployment or deployment simulation is in success or not",
|
|
11015
|
+
"name": "deploy-status",
|
|
11016
|
+
"default": "unknown",
|
|
11017
|
+
"hasDynamicHelp": false,
|
|
11018
|
+
"multiple": false,
|
|
11019
|
+
"options": [
|
|
11020
|
+
"valid",
|
|
11021
|
+
"invalid",
|
|
11022
|
+
"unknown"
|
|
11023
|
+
],
|
|
11024
|
+
"type": "option"
|
|
11025
|
+
},
|
|
11026
|
+
"message": {
|
|
11027
|
+
"char": "m",
|
|
11028
|
+
"description": "Custom message that you want to be added in notifications (string or markdown format)",
|
|
11029
|
+
"name": "message",
|
|
11030
|
+
"default": "",
|
|
11008
11031
|
"hasDynamicHelp": false,
|
|
11009
11032
|
"multiple": false,
|
|
11010
11033
|
"type": "option"
|
|
@@ -11047,13 +11070,13 @@
|
|
|
11047
11070
|
},
|
|
11048
11071
|
"hasDynamicHelp": true,
|
|
11049
11072
|
"hiddenAliases": [],
|
|
11050
|
-
"id": "hardis:project:
|
|
11073
|
+
"id": "hardis:project:deploy:notify",
|
|
11051
11074
|
"pluginAlias": "sfdx-hardis",
|
|
11052
11075
|
"pluginName": "sfdx-hardis",
|
|
11053
11076
|
"pluginType": "core",
|
|
11054
11077
|
"strict": true,
|
|
11055
11078
|
"enableJsonFlag": true,
|
|
11056
|
-
"title": "
|
|
11079
|
+
"title": "Deployment Notifications",
|
|
11057
11080
|
"requiresProject": true,
|
|
11058
11081
|
"isESM": true,
|
|
11059
11082
|
"relativePath": [
|
|
@@ -11061,246 +11084,8 @@
|
|
|
11061
11084
|
"commands",
|
|
11062
11085
|
"hardis",
|
|
11063
11086
|
"project",
|
|
11064
|
-
"
|
|
11065
|
-
"
|
|
11066
|
-
],
|
|
11067
|
-
"aliasPermutations": [],
|
|
11068
|
-
"permutations": [
|
|
11069
|
-
"hardis:project:fix:profiletabs",
|
|
11070
|
-
"project:hardis:fix:profiletabs",
|
|
11071
|
-
"project:fix:hardis:profiletabs",
|
|
11072
|
-
"project:fix:profiletabs:hardis",
|
|
11073
|
-
"hardis:fix:project:profiletabs",
|
|
11074
|
-
"fix:hardis:project:profiletabs",
|
|
11075
|
-
"fix:project:hardis:profiletabs",
|
|
11076
|
-
"fix:project:profiletabs:hardis",
|
|
11077
|
-
"hardis:fix:profiletabs:project",
|
|
11078
|
-
"fix:hardis:profiletabs:project",
|
|
11079
|
-
"fix:profiletabs:hardis:project",
|
|
11080
|
-
"fix:profiletabs:project:hardis",
|
|
11081
|
-
"hardis:project:profiletabs:fix",
|
|
11082
|
-
"project:hardis:profiletabs:fix",
|
|
11083
|
-
"project:profiletabs:hardis:fix",
|
|
11084
|
-
"project:profiletabs:fix:hardis",
|
|
11085
|
-
"hardis:profiletabs:project:fix",
|
|
11086
|
-
"profiletabs:hardis:project:fix",
|
|
11087
|
-
"profiletabs:project:hardis:fix",
|
|
11088
|
-
"profiletabs:project:fix:hardis",
|
|
11089
|
-
"hardis:profiletabs:fix:project",
|
|
11090
|
-
"profiletabs:hardis:fix:project",
|
|
11091
|
-
"profiletabs:fix:hardis:project",
|
|
11092
|
-
"profiletabs:fix:project:hardis"
|
|
11093
|
-
]
|
|
11094
|
-
},
|
|
11095
|
-
"hardis:project:fix:v53flexipages": {
|
|
11096
|
-
"aliases": [],
|
|
11097
|
-
"args": {},
|
|
11098
|
-
"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## Technical explanations\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",
|
|
11099
|
-
"examples": [
|
|
11100
|
-
"$ sf hardis:project:fix:v53flexipages"
|
|
11101
|
-
],
|
|
11102
|
-
"flags": {
|
|
11103
|
-
"json": {
|
|
11104
|
-
"description": "Format output as json.",
|
|
11105
|
-
"helpGroup": "GLOBAL",
|
|
11106
|
-
"name": "json",
|
|
11107
|
-
"allowNo": false,
|
|
11108
|
-
"type": "boolean"
|
|
11109
|
-
},
|
|
11110
|
-
"flags-dir": {
|
|
11111
|
-
"helpGroup": "GLOBAL",
|
|
11112
|
-
"name": "flags-dir",
|
|
11113
|
-
"summary": "Import flag values from a directory.",
|
|
11114
|
-
"hasDynamicHelp": false,
|
|
11115
|
-
"multiple": false,
|
|
11116
|
-
"type": "option"
|
|
11117
|
-
},
|
|
11118
|
-
"path": {
|
|
11119
|
-
"char": "p",
|
|
11120
|
-
"description": "Root folder",
|
|
11121
|
-
"name": "path",
|
|
11122
|
-
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
11123
|
-
"hasDynamicHelp": false,
|
|
11124
|
-
"multiple": false,
|
|
11125
|
-
"type": "option"
|
|
11126
|
-
},
|
|
11127
|
-
"debug": {
|
|
11128
|
-
"char": "d",
|
|
11129
|
-
"description": "Activate debug mode (more logs)",
|
|
11130
|
-
"name": "debug",
|
|
11131
|
-
"allowNo": false,
|
|
11132
|
-
"type": "boolean"
|
|
11133
|
-
},
|
|
11134
|
-
"websocket": {
|
|
11135
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11136
|
-
"name": "websocket",
|
|
11137
|
-
"hasDynamicHelp": false,
|
|
11138
|
-
"multiple": false,
|
|
11139
|
-
"type": "option"
|
|
11140
|
-
},
|
|
11141
|
-
"skipauth": {
|
|
11142
|
-
"description": "Skip authentication check when a default username is required",
|
|
11143
|
-
"name": "skipauth",
|
|
11144
|
-
"allowNo": false,
|
|
11145
|
-
"type": "boolean"
|
|
11146
|
-
}
|
|
11147
|
-
},
|
|
11148
|
-
"hasDynamicHelp": false,
|
|
11149
|
-
"hiddenAliases": [],
|
|
11150
|
-
"id": "hardis:project:fix:v53flexipages",
|
|
11151
|
-
"pluginAlias": "sfdx-hardis",
|
|
11152
|
-
"pluginName": "sfdx-hardis",
|
|
11153
|
-
"pluginType": "core",
|
|
11154
|
-
"strict": true,
|
|
11155
|
-
"enableJsonFlag": true,
|
|
11156
|
-
"title": "Fix flexipages for v53",
|
|
11157
|
-
"requiresProject": true,
|
|
11158
|
-
"isESM": true,
|
|
11159
|
-
"relativePath": [
|
|
11160
|
-
"lib",
|
|
11161
|
-
"commands",
|
|
11162
|
-
"hardis",
|
|
11163
|
-
"project",
|
|
11164
|
-
"fix",
|
|
11165
|
-
"v53flexipages.js"
|
|
11166
|
-
],
|
|
11167
|
-
"aliasPermutations": [],
|
|
11168
|
-
"permutations": [
|
|
11169
|
-
"hardis:project:fix:v53flexipages",
|
|
11170
|
-
"project:hardis:fix:v53flexipages",
|
|
11171
|
-
"project:fix:hardis:v53flexipages",
|
|
11172
|
-
"project:fix:v53flexipages:hardis",
|
|
11173
|
-
"hardis:fix:project:v53flexipages",
|
|
11174
|
-
"fix:hardis:project:v53flexipages",
|
|
11175
|
-
"fix:project:hardis:v53flexipages",
|
|
11176
|
-
"fix:project:v53flexipages:hardis",
|
|
11177
|
-
"hardis:fix:v53flexipages:project",
|
|
11178
|
-
"fix:hardis:v53flexipages:project",
|
|
11179
|
-
"fix:v53flexipages:hardis:project",
|
|
11180
|
-
"fix:v53flexipages:project:hardis",
|
|
11181
|
-
"hardis:project:v53flexipages:fix",
|
|
11182
|
-
"project:hardis:v53flexipages:fix",
|
|
11183
|
-
"project:v53flexipages:hardis:fix",
|
|
11184
|
-
"project:v53flexipages:fix:hardis",
|
|
11185
|
-
"hardis:v53flexipages:project:fix",
|
|
11186
|
-
"v53flexipages:hardis:project:fix",
|
|
11187
|
-
"v53flexipages:project:hardis:fix",
|
|
11188
|
-
"v53flexipages:project:fix:hardis",
|
|
11189
|
-
"hardis:v53flexipages:fix:project",
|
|
11190
|
-
"v53flexipages:hardis:fix:project",
|
|
11191
|
-
"v53flexipages:fix:hardis:project",
|
|
11192
|
-
"v53flexipages:fix:project:hardis"
|
|
11193
|
-
]
|
|
11194
|
-
},
|
|
11195
|
-
"hardis:project:deploy:notify": {
|
|
11196
|
-
"aliases": [],
|
|
11197
|
-
"args": {},
|
|
11198
|
-
"description": "Post notifications related to:\n\n- **Deployment simulation** _(use with --check-only)_\n\n- **Deployment process** _(to call only if your deployment is successful)_\n\n### Integrations\n\nAccording to the [integrations you configured](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integrations-home/), notifications can contain deployment information and [Flow Visual Git Diff](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-home/#flow-visual-git-diff)\n\n - GitHub, Gitlab, Azure DevOps, Bitbucket comments on Pull Requests (including Flows Visual Git Diff)\n\n - Slack, Microsoft Teams, Email deployment summary after a successful deployment\n\n - JIRA tags and comments on tickets that just has been deployed\n\n\n\n\n\n### Flows Visual Git Diff\n\n- Visually show you the differences on a diagram\n\n- Display the update details without having to open any XML !\n\n🟩 = added\n\n🟥 = removed\n\n🟧 = updated\n\n\n\n\n\n### In custom CI/CD workflow\n\nExample of usage in a custom CI/CD pipeline:\n\n```bash\n# Disable exit-on-error temporarily\nset +e\n\n# Run the deploy command\nsf project deploy start [....]\nRET_CODE=$?\n\n# Re-enable exit-on-error\nset -e\n\n# Determine MYSTATUS based on return code\nif [ $RET_CODE -eq 0 ]; then\n MYSTATUS=\"valid\"\nelse\n MYSTATUS=\"invalid\"\nfi\n\n# Run the notify command with MYSTATUS\nsf hardis:project:deploy:notify --check-only --deploy-status \"$MYSTATUS\"\n```\n\n### Other usages\n\nThis command is for custom SF Cli pipelines, if you are a sfdx-hardis user, it is already embedded in sf hardis:deploy:smart.\n\nYou can also use [sfdx-hardis wrapper commands of SF deployment commands](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-setup/#using-custom-cicd-pipeline)\n",
|
|
11199
|
-
"examples": [
|
|
11200
|
-
"$ sf hardis:project:deploy:notify --check-only --deploy-status valid --message \"This deployment check is valid\\n\\nYahooo !!\"",
|
|
11201
|
-
"$ sf hardis:project:deploy:notify --check-only --deploy-status invalid --message \"This deployment check has failed !\\n\\Oh no !!\"",
|
|
11202
|
-
"$ sf hardis:project:deploy:notify --deploy-status valid --message \"This deployment has been processed !\\n\\nYahooo !!\""
|
|
11203
|
-
],
|
|
11204
|
-
"flags": {
|
|
11205
|
-
"json": {
|
|
11206
|
-
"description": "Format output as json.",
|
|
11207
|
-
"helpGroup": "GLOBAL",
|
|
11208
|
-
"name": "json",
|
|
11209
|
-
"allowNo": false,
|
|
11210
|
-
"type": "boolean"
|
|
11211
|
-
},
|
|
11212
|
-
"flags-dir": {
|
|
11213
|
-
"helpGroup": "GLOBAL",
|
|
11214
|
-
"name": "flags-dir",
|
|
11215
|
-
"summary": "Import flag values from a directory.",
|
|
11216
|
-
"hasDynamicHelp": false,
|
|
11217
|
-
"multiple": false,
|
|
11218
|
-
"type": "option"
|
|
11219
|
-
},
|
|
11220
|
-
"check-only": {
|
|
11221
|
-
"char": "c",
|
|
11222
|
-
"description": "Use this option to send notifications from a Deployment simulation job",
|
|
11223
|
-
"name": "check-only",
|
|
11224
|
-
"allowNo": false,
|
|
11225
|
-
"type": "boolean"
|
|
11226
|
-
},
|
|
11227
|
-
"deploy-status": {
|
|
11228
|
-
"char": "s",
|
|
11229
|
-
"description": "Send success, failure or unknown (default) to indicate if the deployment or deployment simulation is in success or not",
|
|
11230
|
-
"name": "deploy-status",
|
|
11231
|
-
"default": "unknown",
|
|
11232
|
-
"hasDynamicHelp": false,
|
|
11233
|
-
"multiple": false,
|
|
11234
|
-
"options": [
|
|
11235
|
-
"valid",
|
|
11236
|
-
"invalid",
|
|
11237
|
-
"unknown"
|
|
11238
|
-
],
|
|
11239
|
-
"type": "option"
|
|
11240
|
-
},
|
|
11241
|
-
"message": {
|
|
11242
|
-
"char": "m",
|
|
11243
|
-
"description": "Custom message that you want to be added in notifications (string or markdown format)",
|
|
11244
|
-
"name": "message",
|
|
11245
|
-
"default": "",
|
|
11246
|
-
"hasDynamicHelp": false,
|
|
11247
|
-
"multiple": false,
|
|
11248
|
-
"type": "option"
|
|
11249
|
-
},
|
|
11250
|
-
"debug": {
|
|
11251
|
-
"char": "d",
|
|
11252
|
-
"description": "Activate debug mode (more logs)",
|
|
11253
|
-
"name": "debug",
|
|
11254
|
-
"allowNo": false,
|
|
11255
|
-
"type": "boolean"
|
|
11256
|
-
},
|
|
11257
|
-
"websocket": {
|
|
11258
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11259
|
-
"name": "websocket",
|
|
11260
|
-
"hasDynamicHelp": false,
|
|
11261
|
-
"multiple": false,
|
|
11262
|
-
"type": "option"
|
|
11263
|
-
},
|
|
11264
|
-
"skipauth": {
|
|
11265
|
-
"description": "Skip authentication check when a default username is required",
|
|
11266
|
-
"name": "skipauth",
|
|
11267
|
-
"allowNo": false,
|
|
11268
|
-
"type": "boolean"
|
|
11269
|
-
},
|
|
11270
|
-
"target-org": {
|
|
11271
|
-
"aliases": [
|
|
11272
|
-
"targetusername",
|
|
11273
|
-
"u"
|
|
11274
|
-
],
|
|
11275
|
-
"char": "o",
|
|
11276
|
-
"deprecateAliases": true,
|
|
11277
|
-
"name": "target-org",
|
|
11278
|
-
"noCacheDefault": true,
|
|
11279
|
-
"required": true,
|
|
11280
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
11281
|
-
"hasDynamicHelp": true,
|
|
11282
|
-
"multiple": false,
|
|
11283
|
-
"type": "option"
|
|
11284
|
-
}
|
|
11285
|
-
},
|
|
11286
|
-
"hasDynamicHelp": true,
|
|
11287
|
-
"hiddenAliases": [],
|
|
11288
|
-
"id": "hardis:project:deploy:notify",
|
|
11289
|
-
"pluginAlias": "sfdx-hardis",
|
|
11290
|
-
"pluginName": "sfdx-hardis",
|
|
11291
|
-
"pluginType": "core",
|
|
11292
|
-
"strict": true,
|
|
11293
|
-
"enableJsonFlag": true,
|
|
11294
|
-
"title": "Deployment Notifications",
|
|
11295
|
-
"requiresProject": true,
|
|
11296
|
-
"isESM": true,
|
|
11297
|
-
"relativePath": [
|
|
11298
|
-
"lib",
|
|
11299
|
-
"commands",
|
|
11300
|
-
"hardis",
|
|
11301
|
-
"project",
|
|
11302
|
-
"deploy",
|
|
11303
|
-
"notify.js"
|
|
11087
|
+
"deploy",
|
|
11088
|
+
"notify.js"
|
|
11304
11089
|
],
|
|
11305
11090
|
"aliasPermutations": [],
|
|
11306
11091
|
"permutations": [
|
|
@@ -12367,6 +12152,221 @@
|
|
|
12367
12152
|
"validate:deploy:project:hardis"
|
|
12368
12153
|
]
|
|
12369
12154
|
},
|
|
12155
|
+
"hardis:project:fix:profiletabs": {
|
|
12156
|
+
"aliases": [],
|
|
12157
|
+
"args": {},
|
|
12158
|
+
"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## Technical explanations\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",
|
|
12159
|
+
"examples": [
|
|
12160
|
+
"$ sf hardis:project:fix:profiletabs"
|
|
12161
|
+
],
|
|
12162
|
+
"flags": {
|
|
12163
|
+
"json": {
|
|
12164
|
+
"description": "Format output as json.",
|
|
12165
|
+
"helpGroup": "GLOBAL",
|
|
12166
|
+
"name": "json",
|
|
12167
|
+
"allowNo": false,
|
|
12168
|
+
"type": "boolean"
|
|
12169
|
+
},
|
|
12170
|
+
"flags-dir": {
|
|
12171
|
+
"helpGroup": "GLOBAL",
|
|
12172
|
+
"name": "flags-dir",
|
|
12173
|
+
"summary": "Import flag values from a directory.",
|
|
12174
|
+
"hasDynamicHelp": false,
|
|
12175
|
+
"multiple": false,
|
|
12176
|
+
"type": "option"
|
|
12177
|
+
},
|
|
12178
|
+
"path": {
|
|
12179
|
+
"char": "p",
|
|
12180
|
+
"description": "Root folder",
|
|
12181
|
+
"name": "path",
|
|
12182
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
12183
|
+
"hasDynamicHelp": false,
|
|
12184
|
+
"multiple": false,
|
|
12185
|
+
"type": "option"
|
|
12186
|
+
},
|
|
12187
|
+
"debug": {
|
|
12188
|
+
"char": "d",
|
|
12189
|
+
"description": "Activate debug mode (more logs)",
|
|
12190
|
+
"name": "debug",
|
|
12191
|
+
"allowNo": false,
|
|
12192
|
+
"type": "boolean"
|
|
12193
|
+
},
|
|
12194
|
+
"websocket": {
|
|
12195
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12196
|
+
"name": "websocket",
|
|
12197
|
+
"hasDynamicHelp": false,
|
|
12198
|
+
"multiple": false,
|
|
12199
|
+
"type": "option"
|
|
12200
|
+
},
|
|
12201
|
+
"skipauth": {
|
|
12202
|
+
"description": "Skip authentication check when a default username is required",
|
|
12203
|
+
"name": "skipauth",
|
|
12204
|
+
"allowNo": false,
|
|
12205
|
+
"type": "boolean"
|
|
12206
|
+
},
|
|
12207
|
+
"target-org": {
|
|
12208
|
+
"aliases": [
|
|
12209
|
+
"targetusername",
|
|
12210
|
+
"u"
|
|
12211
|
+
],
|
|
12212
|
+
"char": "o",
|
|
12213
|
+
"deprecateAliases": true,
|
|
12214
|
+
"name": "target-org",
|
|
12215
|
+
"noCacheDefault": true,
|
|
12216
|
+
"required": true,
|
|
12217
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
12218
|
+
"hasDynamicHelp": true,
|
|
12219
|
+
"multiple": false,
|
|
12220
|
+
"type": "option"
|
|
12221
|
+
}
|
|
12222
|
+
},
|
|
12223
|
+
"hasDynamicHelp": true,
|
|
12224
|
+
"hiddenAliases": [],
|
|
12225
|
+
"id": "hardis:project:fix:profiletabs",
|
|
12226
|
+
"pluginAlias": "sfdx-hardis",
|
|
12227
|
+
"pluginName": "sfdx-hardis",
|
|
12228
|
+
"pluginType": "core",
|
|
12229
|
+
"strict": true,
|
|
12230
|
+
"enableJsonFlag": true,
|
|
12231
|
+
"title": "Fix profiles to add tabs that are not retrieved by SF CLI",
|
|
12232
|
+
"requiresProject": true,
|
|
12233
|
+
"isESM": true,
|
|
12234
|
+
"relativePath": [
|
|
12235
|
+
"lib",
|
|
12236
|
+
"commands",
|
|
12237
|
+
"hardis",
|
|
12238
|
+
"project",
|
|
12239
|
+
"fix",
|
|
12240
|
+
"profiletabs.js"
|
|
12241
|
+
],
|
|
12242
|
+
"aliasPermutations": [],
|
|
12243
|
+
"permutations": [
|
|
12244
|
+
"hardis:project:fix:profiletabs",
|
|
12245
|
+
"project:hardis:fix:profiletabs",
|
|
12246
|
+
"project:fix:hardis:profiletabs",
|
|
12247
|
+
"project:fix:profiletabs:hardis",
|
|
12248
|
+
"hardis:fix:project:profiletabs",
|
|
12249
|
+
"fix:hardis:project:profiletabs",
|
|
12250
|
+
"fix:project:hardis:profiletabs",
|
|
12251
|
+
"fix:project:profiletabs:hardis",
|
|
12252
|
+
"hardis:fix:profiletabs:project",
|
|
12253
|
+
"fix:hardis:profiletabs:project",
|
|
12254
|
+
"fix:profiletabs:hardis:project",
|
|
12255
|
+
"fix:profiletabs:project:hardis",
|
|
12256
|
+
"hardis:project:profiletabs:fix",
|
|
12257
|
+
"project:hardis:profiletabs:fix",
|
|
12258
|
+
"project:profiletabs:hardis:fix",
|
|
12259
|
+
"project:profiletabs:fix:hardis",
|
|
12260
|
+
"hardis:profiletabs:project:fix",
|
|
12261
|
+
"profiletabs:hardis:project:fix",
|
|
12262
|
+
"profiletabs:project:hardis:fix",
|
|
12263
|
+
"profiletabs:project:fix:hardis",
|
|
12264
|
+
"hardis:profiletabs:fix:project",
|
|
12265
|
+
"profiletabs:hardis:fix:project",
|
|
12266
|
+
"profiletabs:fix:hardis:project",
|
|
12267
|
+
"profiletabs:fix:project:hardis"
|
|
12268
|
+
]
|
|
12269
|
+
},
|
|
12270
|
+
"hardis:project:fix:v53flexipages": {
|
|
12271
|
+
"aliases": [],
|
|
12272
|
+
"args": {},
|
|
12273
|
+
"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## Technical explanations\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",
|
|
12274
|
+
"examples": [
|
|
12275
|
+
"$ sf hardis:project:fix:v53flexipages"
|
|
12276
|
+
],
|
|
12277
|
+
"flags": {
|
|
12278
|
+
"json": {
|
|
12279
|
+
"description": "Format output as json.",
|
|
12280
|
+
"helpGroup": "GLOBAL",
|
|
12281
|
+
"name": "json",
|
|
12282
|
+
"allowNo": false,
|
|
12283
|
+
"type": "boolean"
|
|
12284
|
+
},
|
|
12285
|
+
"flags-dir": {
|
|
12286
|
+
"helpGroup": "GLOBAL",
|
|
12287
|
+
"name": "flags-dir",
|
|
12288
|
+
"summary": "Import flag values from a directory.",
|
|
12289
|
+
"hasDynamicHelp": false,
|
|
12290
|
+
"multiple": false,
|
|
12291
|
+
"type": "option"
|
|
12292
|
+
},
|
|
12293
|
+
"path": {
|
|
12294
|
+
"char": "p",
|
|
12295
|
+
"description": "Root folder",
|
|
12296
|
+
"name": "path",
|
|
12297
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
12298
|
+
"hasDynamicHelp": false,
|
|
12299
|
+
"multiple": false,
|
|
12300
|
+
"type": "option"
|
|
12301
|
+
},
|
|
12302
|
+
"debug": {
|
|
12303
|
+
"char": "d",
|
|
12304
|
+
"description": "Activate debug mode (more logs)",
|
|
12305
|
+
"name": "debug",
|
|
12306
|
+
"allowNo": false,
|
|
12307
|
+
"type": "boolean"
|
|
12308
|
+
},
|
|
12309
|
+
"websocket": {
|
|
12310
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12311
|
+
"name": "websocket",
|
|
12312
|
+
"hasDynamicHelp": false,
|
|
12313
|
+
"multiple": false,
|
|
12314
|
+
"type": "option"
|
|
12315
|
+
},
|
|
12316
|
+
"skipauth": {
|
|
12317
|
+
"description": "Skip authentication check when a default username is required",
|
|
12318
|
+
"name": "skipauth",
|
|
12319
|
+
"allowNo": false,
|
|
12320
|
+
"type": "boolean"
|
|
12321
|
+
}
|
|
12322
|
+
},
|
|
12323
|
+
"hasDynamicHelp": false,
|
|
12324
|
+
"hiddenAliases": [],
|
|
12325
|
+
"id": "hardis:project:fix:v53flexipages",
|
|
12326
|
+
"pluginAlias": "sfdx-hardis",
|
|
12327
|
+
"pluginName": "sfdx-hardis",
|
|
12328
|
+
"pluginType": "core",
|
|
12329
|
+
"strict": true,
|
|
12330
|
+
"enableJsonFlag": true,
|
|
12331
|
+
"title": "Fix flexipages for v53",
|
|
12332
|
+
"requiresProject": true,
|
|
12333
|
+
"isESM": true,
|
|
12334
|
+
"relativePath": [
|
|
12335
|
+
"lib",
|
|
12336
|
+
"commands",
|
|
12337
|
+
"hardis",
|
|
12338
|
+
"project",
|
|
12339
|
+
"fix",
|
|
12340
|
+
"v53flexipages.js"
|
|
12341
|
+
],
|
|
12342
|
+
"aliasPermutations": [],
|
|
12343
|
+
"permutations": [
|
|
12344
|
+
"hardis:project:fix:v53flexipages",
|
|
12345
|
+
"project:hardis:fix:v53flexipages",
|
|
12346
|
+
"project:fix:hardis:v53flexipages",
|
|
12347
|
+
"project:fix:v53flexipages:hardis",
|
|
12348
|
+
"hardis:fix:project:v53flexipages",
|
|
12349
|
+
"fix:hardis:project:v53flexipages",
|
|
12350
|
+
"fix:project:hardis:v53flexipages",
|
|
12351
|
+
"fix:project:v53flexipages:hardis",
|
|
12352
|
+
"hardis:fix:v53flexipages:project",
|
|
12353
|
+
"fix:hardis:v53flexipages:project",
|
|
12354
|
+
"fix:v53flexipages:hardis:project",
|
|
12355
|
+
"fix:v53flexipages:project:hardis",
|
|
12356
|
+
"hardis:project:v53flexipages:fix",
|
|
12357
|
+
"project:hardis:v53flexipages:fix",
|
|
12358
|
+
"project:v53flexipages:hardis:fix",
|
|
12359
|
+
"project:v53flexipages:fix:hardis",
|
|
12360
|
+
"hardis:v53flexipages:project:fix",
|
|
12361
|
+
"v53flexipages:hardis:project:fix",
|
|
12362
|
+
"v53flexipages:project:hardis:fix",
|
|
12363
|
+
"v53flexipages:project:fix:hardis",
|
|
12364
|
+
"hardis:v53flexipages:fix:project",
|
|
12365
|
+
"v53flexipages:hardis:fix:project",
|
|
12366
|
+
"v53flexipages:fix:hardis:project",
|
|
12367
|
+
"v53flexipages:fix:project:hardis"
|
|
12368
|
+
]
|
|
12369
|
+
},
|
|
12370
12370
|
"hardis:project:generate:bypass": {
|
|
12371
12371
|
"aliases": [],
|
|
12372
12372
|
"args": {},
|
|
@@ -14849,5 +14849,5 @@
|
|
|
14849
14849
|
]
|
|
14850
14850
|
}
|
|
14851
14851
|
},
|
|
14852
|
-
"version": "
|
|
14852
|
+
"version": "6.0.1-beta202508101506.0"
|
|
14853
14853
|
}
|