sfdx-hardis 6.7.2-beta202510122255.0 → 6.7.3
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 +7 -0
- package/lib/commands/hardis/work/save.js +2 -2
- package/lib/commands/hardis/work/save.js.map +1 -1
- package/lib/common/gitProvider/azureDevops.js +18 -7
- package/lib/common/gitProvider/azureDevops.js.map +1 -1
- package/lib/common/gitProvider/index.js +16 -5
- package/lib/common/gitProvider/index.js.map +1 -1
- package/lib/common/utils/gitUtils.js +2 -2
- package/lib/common/utils/gitUtils.js.map +1 -1
- package/lib/common/utils/index.js +20 -2
- package/lib/common/utils/index.js.map +1 -1
- package/oclif.manifest.json +238 -238
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -5807,243 +5807,6 @@
|
|
|
5807
5807
|
"import:files:org:hardis"
|
|
5808
5808
|
]
|
|
5809
5809
|
},
|
|
5810
|
-
"hardis:org:generate:packagexmlfull": {
|
|
5811
|
-
"aliases": [],
|
|
5812
|
-
"args": {},
|
|
5813
|
-
"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",
|
|
5814
|
-
"examples": [
|
|
5815
|
-
"$ sf hardis:org:generate:packagexmlfull",
|
|
5816
|
-
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
5817
|
-
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
5818
|
-
],
|
|
5819
|
-
"flags": {
|
|
5820
|
-
"json": {
|
|
5821
|
-
"description": "Format output as json.",
|
|
5822
|
-
"helpGroup": "GLOBAL",
|
|
5823
|
-
"name": "json",
|
|
5824
|
-
"allowNo": false,
|
|
5825
|
-
"type": "boolean"
|
|
5826
|
-
},
|
|
5827
|
-
"flags-dir": {
|
|
5828
|
-
"helpGroup": "GLOBAL",
|
|
5829
|
-
"name": "flags-dir",
|
|
5830
|
-
"summary": "Import flag values from a directory.",
|
|
5831
|
-
"hasDynamicHelp": false,
|
|
5832
|
-
"multiple": false,
|
|
5833
|
-
"type": "option"
|
|
5834
|
-
},
|
|
5835
|
-
"outputfile": {
|
|
5836
|
-
"description": "Output package.xml file",
|
|
5837
|
-
"name": "outputfile",
|
|
5838
|
-
"hasDynamicHelp": false,
|
|
5839
|
-
"multiple": false,
|
|
5840
|
-
"type": "option"
|
|
5841
|
-
},
|
|
5842
|
-
"debug": {
|
|
5843
|
-
"char": "d",
|
|
5844
|
-
"description": "Activate debug mode (more logs)",
|
|
5845
|
-
"name": "debug",
|
|
5846
|
-
"allowNo": false,
|
|
5847
|
-
"type": "boolean"
|
|
5848
|
-
},
|
|
5849
|
-
"no-prompt": {
|
|
5850
|
-
"char": "n",
|
|
5851
|
-
"description": "Do not prompt for org username, use the default one",
|
|
5852
|
-
"name": "no-prompt",
|
|
5853
|
-
"allowNo": false,
|
|
5854
|
-
"type": "boolean"
|
|
5855
|
-
},
|
|
5856
|
-
"websocket": {
|
|
5857
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5858
|
-
"name": "websocket",
|
|
5859
|
-
"hasDynamicHelp": false,
|
|
5860
|
-
"multiple": false,
|
|
5861
|
-
"type": "option"
|
|
5862
|
-
},
|
|
5863
|
-
"skipauth": {
|
|
5864
|
-
"description": "Skip authentication check when a default username is required",
|
|
5865
|
-
"name": "skipauth",
|
|
5866
|
-
"allowNo": false,
|
|
5867
|
-
"type": "boolean"
|
|
5868
|
-
},
|
|
5869
|
-
"target-org": {
|
|
5870
|
-
"aliases": [
|
|
5871
|
-
"targetusername",
|
|
5872
|
-
"u"
|
|
5873
|
-
],
|
|
5874
|
-
"char": "o",
|
|
5875
|
-
"deprecateAliases": true,
|
|
5876
|
-
"name": "target-org",
|
|
5877
|
-
"noCacheDefault": true,
|
|
5878
|
-
"required": true,
|
|
5879
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5880
|
-
"hasDynamicHelp": true,
|
|
5881
|
-
"multiple": false,
|
|
5882
|
-
"type": "option"
|
|
5883
|
-
}
|
|
5884
|
-
},
|
|
5885
|
-
"hasDynamicHelp": true,
|
|
5886
|
-
"hiddenAliases": [],
|
|
5887
|
-
"id": "hardis:org:generate:packagexmlfull",
|
|
5888
|
-
"pluginAlias": "sfdx-hardis",
|
|
5889
|
-
"pluginName": "sfdx-hardis",
|
|
5890
|
-
"pluginType": "core",
|
|
5891
|
-
"strict": true,
|
|
5892
|
-
"enableJsonFlag": true,
|
|
5893
|
-
"title": "Generate Full Org package.xml",
|
|
5894
|
-
"requiresProject": false,
|
|
5895
|
-
"isESM": true,
|
|
5896
|
-
"relativePath": [
|
|
5897
|
-
"lib",
|
|
5898
|
-
"commands",
|
|
5899
|
-
"hardis",
|
|
5900
|
-
"org",
|
|
5901
|
-
"generate",
|
|
5902
|
-
"packagexmlfull.js"
|
|
5903
|
-
],
|
|
5904
|
-
"aliasPermutations": [],
|
|
5905
|
-
"permutations": [
|
|
5906
|
-
"hardis:org:generate:packagexmlfull",
|
|
5907
|
-
"org:hardis:generate:packagexmlfull",
|
|
5908
|
-
"org:generate:hardis:packagexmlfull",
|
|
5909
|
-
"org:generate:packagexmlfull:hardis",
|
|
5910
|
-
"hardis:generate:org:packagexmlfull",
|
|
5911
|
-
"generate:hardis:org:packagexmlfull",
|
|
5912
|
-
"generate:org:hardis:packagexmlfull",
|
|
5913
|
-
"generate:org:packagexmlfull:hardis",
|
|
5914
|
-
"hardis:generate:packagexmlfull:org",
|
|
5915
|
-
"generate:hardis:packagexmlfull:org",
|
|
5916
|
-
"generate:packagexmlfull:hardis:org",
|
|
5917
|
-
"generate:packagexmlfull:org:hardis",
|
|
5918
|
-
"hardis:org:packagexmlfull:generate",
|
|
5919
|
-
"org:hardis:packagexmlfull:generate",
|
|
5920
|
-
"org:packagexmlfull:hardis:generate",
|
|
5921
|
-
"org:packagexmlfull:generate:hardis",
|
|
5922
|
-
"hardis:packagexmlfull:org:generate",
|
|
5923
|
-
"packagexmlfull:hardis:org:generate",
|
|
5924
|
-
"packagexmlfull:org:hardis:generate",
|
|
5925
|
-
"packagexmlfull:org:generate:hardis",
|
|
5926
|
-
"hardis:packagexmlfull:generate:org",
|
|
5927
|
-
"packagexmlfull:hardis:generate:org",
|
|
5928
|
-
"packagexmlfull:generate:hardis:org",
|
|
5929
|
-
"packagexmlfull:generate:org:hardis"
|
|
5930
|
-
]
|
|
5931
|
-
},
|
|
5932
|
-
"hardis:org:fix:listviewmine": {
|
|
5933
|
-
"aliases": [],
|
|
5934
|
-
"args": {},
|
|
5935
|
-
"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",
|
|
5936
|
-
"examples": [
|
|
5937
|
-
"$ sf hardis:org:fix:listviewmine",
|
|
5938
|
-
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
5939
|
-
],
|
|
5940
|
-
"flags": {
|
|
5941
|
-
"json": {
|
|
5942
|
-
"description": "Format output as json.",
|
|
5943
|
-
"helpGroup": "GLOBAL",
|
|
5944
|
-
"name": "json",
|
|
5945
|
-
"allowNo": false,
|
|
5946
|
-
"type": "boolean"
|
|
5947
|
-
},
|
|
5948
|
-
"flags-dir": {
|
|
5949
|
-
"helpGroup": "GLOBAL",
|
|
5950
|
-
"name": "flags-dir",
|
|
5951
|
-
"summary": "Import flag values from a directory.",
|
|
5952
|
-
"hasDynamicHelp": false,
|
|
5953
|
-
"multiple": false,
|
|
5954
|
-
"type": "option"
|
|
5955
|
-
},
|
|
5956
|
-
"listviews": {
|
|
5957
|
-
"char": "l",
|
|
5958
|
-
"description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
|
|
5959
|
-
"name": "listviews",
|
|
5960
|
-
"hasDynamicHelp": false,
|
|
5961
|
-
"multiple": false,
|
|
5962
|
-
"type": "option"
|
|
5963
|
-
},
|
|
5964
|
-
"debug": {
|
|
5965
|
-
"char": "d",
|
|
5966
|
-
"description": "Activate debug mode (more logs)",
|
|
5967
|
-
"name": "debug",
|
|
5968
|
-
"allowNo": false,
|
|
5969
|
-
"type": "boolean"
|
|
5970
|
-
},
|
|
5971
|
-
"websocket": {
|
|
5972
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5973
|
-
"name": "websocket",
|
|
5974
|
-
"hasDynamicHelp": false,
|
|
5975
|
-
"multiple": false,
|
|
5976
|
-
"type": "option"
|
|
5977
|
-
},
|
|
5978
|
-
"skipauth": {
|
|
5979
|
-
"description": "Skip authentication check when a default username is required",
|
|
5980
|
-
"name": "skipauth",
|
|
5981
|
-
"allowNo": false,
|
|
5982
|
-
"type": "boolean"
|
|
5983
|
-
},
|
|
5984
|
-
"target-org": {
|
|
5985
|
-
"aliases": [
|
|
5986
|
-
"targetusername",
|
|
5987
|
-
"u"
|
|
5988
|
-
],
|
|
5989
|
-
"char": "o",
|
|
5990
|
-
"deprecateAliases": true,
|
|
5991
|
-
"name": "target-org",
|
|
5992
|
-
"noCacheDefault": true,
|
|
5993
|
-
"required": true,
|
|
5994
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5995
|
-
"hasDynamicHelp": true,
|
|
5996
|
-
"multiple": false,
|
|
5997
|
-
"type": "option"
|
|
5998
|
-
}
|
|
5999
|
-
},
|
|
6000
|
-
"hasDynamicHelp": true,
|
|
6001
|
-
"hiddenAliases": [],
|
|
6002
|
-
"id": "hardis:org:fix:listviewmine",
|
|
6003
|
-
"pluginAlias": "sfdx-hardis",
|
|
6004
|
-
"pluginName": "sfdx-hardis",
|
|
6005
|
-
"pluginType": "core",
|
|
6006
|
-
"strict": true,
|
|
6007
|
-
"enableJsonFlag": true,
|
|
6008
|
-
"title": "Fix listviews with ",
|
|
6009
|
-
"requiresProject": true,
|
|
6010
|
-
"isESM": true,
|
|
6011
|
-
"relativePath": [
|
|
6012
|
-
"lib",
|
|
6013
|
-
"commands",
|
|
6014
|
-
"hardis",
|
|
6015
|
-
"org",
|
|
6016
|
-
"fix",
|
|
6017
|
-
"listviewmine.js"
|
|
6018
|
-
],
|
|
6019
|
-
"aliasPermutations": [],
|
|
6020
|
-
"permutations": [
|
|
6021
|
-
"hardis:org:fix:listviewmine",
|
|
6022
|
-
"org:hardis:fix:listviewmine",
|
|
6023
|
-
"org:fix:hardis:listviewmine",
|
|
6024
|
-
"org:fix:listviewmine:hardis",
|
|
6025
|
-
"hardis:fix:org:listviewmine",
|
|
6026
|
-
"fix:hardis:org:listviewmine",
|
|
6027
|
-
"fix:org:hardis:listviewmine",
|
|
6028
|
-
"fix:org:listviewmine:hardis",
|
|
6029
|
-
"hardis:fix:listviewmine:org",
|
|
6030
|
-
"fix:hardis:listviewmine:org",
|
|
6031
|
-
"fix:listviewmine:hardis:org",
|
|
6032
|
-
"fix:listviewmine:org:hardis",
|
|
6033
|
-
"hardis:org:listviewmine:fix",
|
|
6034
|
-
"org:hardis:listviewmine:fix",
|
|
6035
|
-
"org:listviewmine:hardis:fix",
|
|
6036
|
-
"org:listviewmine:fix:hardis",
|
|
6037
|
-
"hardis:listviewmine:org:fix",
|
|
6038
|
-
"listviewmine:hardis:org:fix",
|
|
6039
|
-
"listviewmine:org:hardis:fix",
|
|
6040
|
-
"listviewmine:org:fix:hardis",
|
|
6041
|
-
"hardis:listviewmine:fix:org",
|
|
6042
|
-
"listviewmine:hardis:fix:org",
|
|
6043
|
-
"listviewmine:fix:hardis:org",
|
|
6044
|
-
"listviewmine:fix:org:hardis"
|
|
6045
|
-
]
|
|
6046
|
-
},
|
|
6047
5810
|
"hardis:org:diagnose:audittrail": {
|
|
6048
5811
|
"aliases": [],
|
|
6049
5812
|
"args": {},
|
|
@@ -7307,6 +7070,243 @@
|
|
|
7307
7070
|
"unusedusers:diagnose:org:hardis"
|
|
7308
7071
|
]
|
|
7309
7072
|
},
|
|
7073
|
+
"hardis:org:fix:listviewmine": {
|
|
7074
|
+
"aliases": [],
|
|
7075
|
+
"args": {},
|
|
7076
|
+
"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",
|
|
7077
|
+
"examples": [
|
|
7078
|
+
"$ sf hardis:org:fix:listviewmine",
|
|
7079
|
+
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
7080
|
+
],
|
|
7081
|
+
"flags": {
|
|
7082
|
+
"json": {
|
|
7083
|
+
"description": "Format output as json.",
|
|
7084
|
+
"helpGroup": "GLOBAL",
|
|
7085
|
+
"name": "json",
|
|
7086
|
+
"allowNo": false,
|
|
7087
|
+
"type": "boolean"
|
|
7088
|
+
},
|
|
7089
|
+
"flags-dir": {
|
|
7090
|
+
"helpGroup": "GLOBAL",
|
|
7091
|
+
"name": "flags-dir",
|
|
7092
|
+
"summary": "Import flag values from a directory.",
|
|
7093
|
+
"hasDynamicHelp": false,
|
|
7094
|
+
"multiple": false,
|
|
7095
|
+
"type": "option"
|
|
7096
|
+
},
|
|
7097
|
+
"listviews": {
|
|
7098
|
+
"char": "l",
|
|
7099
|
+
"description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
|
|
7100
|
+
"name": "listviews",
|
|
7101
|
+
"hasDynamicHelp": false,
|
|
7102
|
+
"multiple": false,
|
|
7103
|
+
"type": "option"
|
|
7104
|
+
},
|
|
7105
|
+
"debug": {
|
|
7106
|
+
"char": "d",
|
|
7107
|
+
"description": "Activate debug mode (more logs)",
|
|
7108
|
+
"name": "debug",
|
|
7109
|
+
"allowNo": false,
|
|
7110
|
+
"type": "boolean"
|
|
7111
|
+
},
|
|
7112
|
+
"websocket": {
|
|
7113
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
7114
|
+
"name": "websocket",
|
|
7115
|
+
"hasDynamicHelp": false,
|
|
7116
|
+
"multiple": false,
|
|
7117
|
+
"type": "option"
|
|
7118
|
+
},
|
|
7119
|
+
"skipauth": {
|
|
7120
|
+
"description": "Skip authentication check when a default username is required",
|
|
7121
|
+
"name": "skipauth",
|
|
7122
|
+
"allowNo": false,
|
|
7123
|
+
"type": "boolean"
|
|
7124
|
+
},
|
|
7125
|
+
"target-org": {
|
|
7126
|
+
"aliases": [
|
|
7127
|
+
"targetusername",
|
|
7128
|
+
"u"
|
|
7129
|
+
],
|
|
7130
|
+
"char": "o",
|
|
7131
|
+
"deprecateAliases": true,
|
|
7132
|
+
"name": "target-org",
|
|
7133
|
+
"noCacheDefault": true,
|
|
7134
|
+
"required": true,
|
|
7135
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
7136
|
+
"hasDynamicHelp": true,
|
|
7137
|
+
"multiple": false,
|
|
7138
|
+
"type": "option"
|
|
7139
|
+
}
|
|
7140
|
+
},
|
|
7141
|
+
"hasDynamicHelp": true,
|
|
7142
|
+
"hiddenAliases": [],
|
|
7143
|
+
"id": "hardis:org:fix:listviewmine",
|
|
7144
|
+
"pluginAlias": "sfdx-hardis",
|
|
7145
|
+
"pluginName": "sfdx-hardis",
|
|
7146
|
+
"pluginType": "core",
|
|
7147
|
+
"strict": true,
|
|
7148
|
+
"enableJsonFlag": true,
|
|
7149
|
+
"title": "Fix listviews with ",
|
|
7150
|
+
"requiresProject": true,
|
|
7151
|
+
"isESM": true,
|
|
7152
|
+
"relativePath": [
|
|
7153
|
+
"lib",
|
|
7154
|
+
"commands",
|
|
7155
|
+
"hardis",
|
|
7156
|
+
"org",
|
|
7157
|
+
"fix",
|
|
7158
|
+
"listviewmine.js"
|
|
7159
|
+
],
|
|
7160
|
+
"aliasPermutations": [],
|
|
7161
|
+
"permutations": [
|
|
7162
|
+
"hardis:org:fix:listviewmine",
|
|
7163
|
+
"org:hardis:fix:listviewmine",
|
|
7164
|
+
"org:fix:hardis:listviewmine",
|
|
7165
|
+
"org:fix:listviewmine:hardis",
|
|
7166
|
+
"hardis:fix:org:listviewmine",
|
|
7167
|
+
"fix:hardis:org:listviewmine",
|
|
7168
|
+
"fix:org:hardis:listviewmine",
|
|
7169
|
+
"fix:org:listviewmine:hardis",
|
|
7170
|
+
"hardis:fix:listviewmine:org",
|
|
7171
|
+
"fix:hardis:listviewmine:org",
|
|
7172
|
+
"fix:listviewmine:hardis:org",
|
|
7173
|
+
"fix:listviewmine:org:hardis",
|
|
7174
|
+
"hardis:org:listviewmine:fix",
|
|
7175
|
+
"org:hardis:listviewmine:fix",
|
|
7176
|
+
"org:listviewmine:hardis:fix",
|
|
7177
|
+
"org:listviewmine:fix:hardis",
|
|
7178
|
+
"hardis:listviewmine:org:fix",
|
|
7179
|
+
"listviewmine:hardis:org:fix",
|
|
7180
|
+
"listviewmine:org:hardis:fix",
|
|
7181
|
+
"listviewmine:org:fix:hardis",
|
|
7182
|
+
"hardis:listviewmine:fix:org",
|
|
7183
|
+
"listviewmine:hardis:fix:org",
|
|
7184
|
+
"listviewmine:fix:hardis:org",
|
|
7185
|
+
"listviewmine:fix:org:hardis"
|
|
7186
|
+
]
|
|
7187
|
+
},
|
|
7188
|
+
"hardis:org:generate:packagexmlfull": {
|
|
7189
|
+
"aliases": [],
|
|
7190
|
+
"args": {},
|
|
7191
|
+
"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",
|
|
7192
|
+
"examples": [
|
|
7193
|
+
"$ sf hardis:org:generate:packagexmlfull",
|
|
7194
|
+
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
7195
|
+
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
7196
|
+
],
|
|
7197
|
+
"flags": {
|
|
7198
|
+
"json": {
|
|
7199
|
+
"description": "Format output as json.",
|
|
7200
|
+
"helpGroup": "GLOBAL",
|
|
7201
|
+
"name": "json",
|
|
7202
|
+
"allowNo": false,
|
|
7203
|
+
"type": "boolean"
|
|
7204
|
+
},
|
|
7205
|
+
"flags-dir": {
|
|
7206
|
+
"helpGroup": "GLOBAL",
|
|
7207
|
+
"name": "flags-dir",
|
|
7208
|
+
"summary": "Import flag values from a directory.",
|
|
7209
|
+
"hasDynamicHelp": false,
|
|
7210
|
+
"multiple": false,
|
|
7211
|
+
"type": "option"
|
|
7212
|
+
},
|
|
7213
|
+
"outputfile": {
|
|
7214
|
+
"description": "Output package.xml file",
|
|
7215
|
+
"name": "outputfile",
|
|
7216
|
+
"hasDynamicHelp": false,
|
|
7217
|
+
"multiple": false,
|
|
7218
|
+
"type": "option"
|
|
7219
|
+
},
|
|
7220
|
+
"debug": {
|
|
7221
|
+
"char": "d",
|
|
7222
|
+
"description": "Activate debug mode (more logs)",
|
|
7223
|
+
"name": "debug",
|
|
7224
|
+
"allowNo": false,
|
|
7225
|
+
"type": "boolean"
|
|
7226
|
+
},
|
|
7227
|
+
"no-prompt": {
|
|
7228
|
+
"char": "n",
|
|
7229
|
+
"description": "Do not prompt for org username, use the default one",
|
|
7230
|
+
"name": "no-prompt",
|
|
7231
|
+
"allowNo": false,
|
|
7232
|
+
"type": "boolean"
|
|
7233
|
+
},
|
|
7234
|
+
"websocket": {
|
|
7235
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
7236
|
+
"name": "websocket",
|
|
7237
|
+
"hasDynamicHelp": false,
|
|
7238
|
+
"multiple": false,
|
|
7239
|
+
"type": "option"
|
|
7240
|
+
},
|
|
7241
|
+
"skipauth": {
|
|
7242
|
+
"description": "Skip authentication check when a default username is required",
|
|
7243
|
+
"name": "skipauth",
|
|
7244
|
+
"allowNo": false,
|
|
7245
|
+
"type": "boolean"
|
|
7246
|
+
},
|
|
7247
|
+
"target-org": {
|
|
7248
|
+
"aliases": [
|
|
7249
|
+
"targetusername",
|
|
7250
|
+
"u"
|
|
7251
|
+
],
|
|
7252
|
+
"char": "o",
|
|
7253
|
+
"deprecateAliases": true,
|
|
7254
|
+
"name": "target-org",
|
|
7255
|
+
"noCacheDefault": true,
|
|
7256
|
+
"required": true,
|
|
7257
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
7258
|
+
"hasDynamicHelp": true,
|
|
7259
|
+
"multiple": false,
|
|
7260
|
+
"type": "option"
|
|
7261
|
+
}
|
|
7262
|
+
},
|
|
7263
|
+
"hasDynamicHelp": true,
|
|
7264
|
+
"hiddenAliases": [],
|
|
7265
|
+
"id": "hardis:org:generate:packagexmlfull",
|
|
7266
|
+
"pluginAlias": "sfdx-hardis",
|
|
7267
|
+
"pluginName": "sfdx-hardis",
|
|
7268
|
+
"pluginType": "core",
|
|
7269
|
+
"strict": true,
|
|
7270
|
+
"enableJsonFlag": true,
|
|
7271
|
+
"title": "Generate Full Org package.xml",
|
|
7272
|
+
"requiresProject": false,
|
|
7273
|
+
"isESM": true,
|
|
7274
|
+
"relativePath": [
|
|
7275
|
+
"lib",
|
|
7276
|
+
"commands",
|
|
7277
|
+
"hardis",
|
|
7278
|
+
"org",
|
|
7279
|
+
"generate",
|
|
7280
|
+
"packagexmlfull.js"
|
|
7281
|
+
],
|
|
7282
|
+
"aliasPermutations": [],
|
|
7283
|
+
"permutations": [
|
|
7284
|
+
"hardis:org:generate:packagexmlfull",
|
|
7285
|
+
"org:hardis:generate:packagexmlfull",
|
|
7286
|
+
"org:generate:hardis:packagexmlfull",
|
|
7287
|
+
"org:generate:packagexmlfull:hardis",
|
|
7288
|
+
"hardis:generate:org:packagexmlfull",
|
|
7289
|
+
"generate:hardis:org:packagexmlfull",
|
|
7290
|
+
"generate:org:hardis:packagexmlfull",
|
|
7291
|
+
"generate:org:packagexmlfull:hardis",
|
|
7292
|
+
"hardis:generate:packagexmlfull:org",
|
|
7293
|
+
"generate:hardis:packagexmlfull:org",
|
|
7294
|
+
"generate:packagexmlfull:hardis:org",
|
|
7295
|
+
"generate:packagexmlfull:org:hardis",
|
|
7296
|
+
"hardis:org:packagexmlfull:generate",
|
|
7297
|
+
"org:hardis:packagexmlfull:generate",
|
|
7298
|
+
"org:packagexmlfull:hardis:generate",
|
|
7299
|
+
"org:packagexmlfull:generate:hardis",
|
|
7300
|
+
"hardis:packagexmlfull:org:generate",
|
|
7301
|
+
"packagexmlfull:hardis:org:generate",
|
|
7302
|
+
"packagexmlfull:org:hardis:generate",
|
|
7303
|
+
"packagexmlfull:org:generate:hardis",
|
|
7304
|
+
"hardis:packagexmlfull:generate:org",
|
|
7305
|
+
"packagexmlfull:hardis:generate:org",
|
|
7306
|
+
"packagexmlfull:generate:hardis:org",
|
|
7307
|
+
"packagexmlfull:generate:org:hardis"
|
|
7308
|
+
]
|
|
7309
|
+
},
|
|
7310
7310
|
"hardis:org:monitor:all": {
|
|
7311
7311
|
"aliases": [],
|
|
7312
7312
|
"args": {},
|
|
@@ -15369,5 +15369,5 @@
|
|
|
15369
15369
|
]
|
|
15370
15370
|
}
|
|
15371
15371
|
},
|
|
15372
|
-
"version": "6.7.
|
|
15372
|
+
"version": "6.7.3"
|
|
15373
15373
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Swiss-army-knife Toolbox for Salesforce.\n Allows you to define a complete CD/CD Pipeline.\n Orchestrate base commands and assist users with interactive wizards",
|
|
4
4
|
"author": "NicolasVuillamy @nvuillam",
|
|
5
5
|
"bugs": "https://github.com/hardisgroupcom/sfdx-hardis/issues",
|
|
6
|
-
"version": "6.7.
|
|
6
|
+
"version": "6.7.3",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@actions/github": "^6.0.1",
|
|
9
9
|
"@cparra/apexdocs": "^3.14.1",
|