sfdx-hardis 5.40.0 → 5.41.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/lib/commands/hardis/doc/override-prompts.d.ts +11 -0
  3. package/lib/commands/hardis/doc/override-prompts.js +164 -0
  4. package/lib/commands/hardis/doc/override-prompts.js.map +1 -0
  5. package/lib/common/aiProvider/promptTemplates/PROMPT_COMPLETE_OBJECT_ATTRIBUTES_MD.js +1 -1
  6. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APEX.js +4 -10
  7. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APEX.js.map +1 -1
  8. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APPROVAL_PROCESS.js +4 -10
  9. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APPROVAL_PROCESS.js.map +1 -1
  10. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ASSIGNMENT_RULES.js +4 -11
  11. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ASSIGNMENT_RULES.js.map +1 -1
  12. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_AUTORESPONSE_RULES.js +6 -12
  13. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_AUTORESPONSE_RULES.js.map +1 -1
  14. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ESCALATION_RULES.js +4 -10
  15. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ESCALATION_RULES.js.map +1 -1
  16. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW.js +4 -10
  17. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW.js.map +1 -1
  18. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW_DIFF.js +3 -8
  19. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW_DIFF.js.map +1 -1
  20. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_LWC.js +3 -7
  21. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_LWC.js.map +1 -1
  22. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_OBJECT.js +3 -8
  23. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_OBJECT.js.map +1 -1
  24. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PACKAGE.js +3 -8
  25. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PACKAGE.js.map +1 -1
  26. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PAGE.js +3 -8
  27. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PAGE.js.map +1 -1
  28. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET.js +4 -10
  29. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET.js.map +1 -1
  30. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET_GROUP.js +4 -10
  31. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET_GROUP.js.map +1 -1
  32. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PROFILE.js +3 -8
  33. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PROFILE.js.map +1 -1
  34. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ROLES.js +3 -8
  35. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ROLES.js.map +1 -1
  36. package/lib/common/aiProvider/promptTemplates/PROMPT_SOLVE_DEPLOYMENT_ERROR.js +3 -9
  37. package/lib/common/aiProvider/promptTemplates/PROMPT_SOLVE_DEPLOYMENT_ERROR.js.map +1 -1
  38. package/lib/common/aiProvider/promptTemplates/VARIABLE_ADDITIONAL_INSTRUCTIONS.d.ts +3 -0
  39. package/lib/common/aiProvider/promptTemplates/VARIABLE_ADDITIONAL_INSTRUCTIONS.js +11 -0
  40. package/lib/common/aiProvider/promptTemplates/VARIABLE_ADDITIONAL_INSTRUCTIONS.js.map +1 -0
  41. package/lib/common/aiProvider/promptTemplates/VARIABLE_FORMATTING_REQUIREMENTS.d.ts +3 -0
  42. package/lib/common/aiProvider/promptTemplates/VARIABLE_FORMATTING_REQUIREMENTS.js +13 -0
  43. package/lib/common/aiProvider/promptTemplates/VARIABLE_FORMATTING_REQUIREMENTS.js.map +1 -0
  44. package/lib/common/aiProvider/promptTemplates/VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC.d.ts +3 -0
  45. package/lib/common/aiProvider/promptTemplates/VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC.js +8 -0
  46. package/lib/common/aiProvider/promptTemplates/VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC.js.map +1 -0
  47. package/lib/common/aiProvider/promptTemplates/variablesIndex.d.ts +3 -0
  48. package/lib/common/aiProvider/promptTemplates/variablesIndex.js +9 -0
  49. package/lib/common/aiProvider/promptTemplates/variablesIndex.js.map +1 -0
  50. package/lib/common/aiProvider/promptTemplates.js +43 -2
  51. package/lib/common/aiProvider/promptTemplates.js.map +1 -1
  52. package/oclif.manifest.json +621 -542
  53. package/package.json +1 -1
@@ -675,6 +675,85 @@
675
675
  "mkdocs-to-salesforce:doc:hardis"
676
676
  ]
677
677
  },
678
+ "hardis:doc:override-prompts": {
679
+ "aliases": [],
680
+ "args": {},
681
+ "description": "Create local override files for AI prompt templates and variables\n\nThis command creates a folder config/prompt-templates/ and copies all the default AI prompt templates and variables as .txt files that can be customized.\n\nThe templates are used by sfdx-hardis for:\n- Generating documentation with AI\n- Solving deployment errors\n- Describing Salesforce metadata\n\nThe variables contain common instruction patterns that are reused across multiple templates, such as:\n- Role definitions (business analyst, developer, etc.)\n- Formatting requirements for markdown output\n- Security caution instructions\n- Output format specifications\n\nYou can customize these prompts and variables to match your organization's specific needs and terminology.\n\nAfter running this command, you can modify any of the .txt files in config/prompt-templates/ to override the default prompts and variables.\n\n**Important**: Once created, existing template and variable files will never be overwritten with newer versions from sfdx-hardis updates, unless you explicitly use the --overwrite flag. This ensures your customizations are preserved.\n\nAvailable templates:\n- PROMPT_SOLVE_DEPLOYMENT_ERROR\n- PROMPT_DESCRIBE_FLOW\n- PROMPT_DESCRIBE_FLOW_DIFF\n- PROMPT_DESCRIBE_OBJECT\n- PROMPT_COMPLETE_OBJECT_ATTRIBUTES_MD\n- PROMPT_DESCRIBE_APEX\n- PROMPT_DESCRIBE_PAGE\n- PROMPT_DESCRIBE_PACKAGE\n- PROMPT_DESCRIBE_PROFILE\n- PROMPT_DESCRIBE_PERMISSION_SET\n- PROMPT_DESCRIBE_PERMISSION_SET_GROUP\n- PROMPT_DESCRIBE_ASSIGNMENT_RULES\n- PROMPT_DESCRIBE_APPROVAL_PROCESS\n- PROMPT_DESCRIBE_LWC\n- PROMPT_DESCRIBE_AUTORESPONSE_RULES\n- PROMPT_DESCRIBE_ESCALATION_RULES\n- PROMPT_DESCRIBE_ROLES\n\nAvailable variables:\n- VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC\n- VARIABLE_FORMATTING_REQUIREMENTS\n- VARIABLE_ADDITIONAL_INSTRUCTIONS\n\nMore info on [AI Prompts documentation](https://sfdx-hardis.cloudity.com/salesforce-ai-prompts/)\n",
682
+ "examples": [
683
+ "$ sf hardis:doc:override-prompts",
684
+ "$ sf hardis:doc:override-prompts --overwrite"
685
+ ],
686
+ "flags": {
687
+ "json": {
688
+ "description": "Format output as json.",
689
+ "helpGroup": "GLOBAL",
690
+ "name": "json",
691
+ "allowNo": false,
692
+ "type": "boolean"
693
+ },
694
+ "flags-dir": {
695
+ "helpGroup": "GLOBAL",
696
+ "name": "flags-dir",
697
+ "summary": "Import flag values from a directory.",
698
+ "hasDynamicHelp": false,
699
+ "multiple": false,
700
+ "type": "option"
701
+ },
702
+ "overwrite": {
703
+ "description": "Overwrite existing template files if they already exist",
704
+ "name": "overwrite",
705
+ "allowNo": false,
706
+ "type": "boolean"
707
+ },
708
+ "debug": {
709
+ "char": "d",
710
+ "description": "Activate debug mode (more logs)",
711
+ "name": "debug",
712
+ "allowNo": false,
713
+ "type": "boolean"
714
+ },
715
+ "websocket": {
716
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
717
+ "name": "websocket",
718
+ "hasDynamicHelp": false,
719
+ "multiple": false,
720
+ "type": "option"
721
+ },
722
+ "skipauth": {
723
+ "description": "Skip authentication check when a default username is required",
724
+ "name": "skipauth",
725
+ "allowNo": false,
726
+ "type": "boolean"
727
+ }
728
+ },
729
+ "hasDynamicHelp": false,
730
+ "hiddenAliases": [],
731
+ "id": "hardis:doc:override-prompts",
732
+ "pluginAlias": "sfdx-hardis",
733
+ "pluginName": "sfdx-hardis",
734
+ "pluginType": "core",
735
+ "strict": true,
736
+ "enableJsonFlag": true,
737
+ "title": "Override AI Prompt Templates",
738
+ "requiresProject": false,
739
+ "isESM": true,
740
+ "relativePath": [
741
+ "lib",
742
+ "commands",
743
+ "hardis",
744
+ "doc",
745
+ "override-prompts.js"
746
+ ],
747
+ "aliasPermutations": [],
748
+ "permutations": [
749
+ "hardis:doc:override-prompts",
750
+ "doc:hardis:override-prompts",
751
+ "doc:override-prompts:hardis",
752
+ "hardis:override-prompts:doc",
753
+ "override-prompts:hardis:doc",
754
+ "override-prompts:doc:hardis"
755
+ ]
756
+ },
678
757
  "hardis:doc:packagexml2markdown": {
679
758
  "aliases": [],
680
759
  "args": {},
@@ -5659,121 +5738,6 @@
5659
5738
  "import:files:org:hardis"
5660
5739
  ]
5661
5740
  },
5662
- "hardis:org:fix:listviewmine": {
5663
- "aliases": [],
5664
- "args": {},
5665
- "description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[![Invalid scope:Mine, not allowed ? Deploy your ListViews anyway !](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-invalid-scope-mine.jpg)](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",
5666
- "examples": [
5667
- "$ sf hardis:org:fix:listviewmine",
5668
- "$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
5669
- ],
5670
- "flags": {
5671
- "json": {
5672
- "description": "Format output as json.",
5673
- "helpGroup": "GLOBAL",
5674
- "name": "json",
5675
- "allowNo": false,
5676
- "type": "boolean"
5677
- },
5678
- "flags-dir": {
5679
- "helpGroup": "GLOBAL",
5680
- "name": "flags-dir",
5681
- "summary": "Import flag values from a directory.",
5682
- "hasDynamicHelp": false,
5683
- "multiple": false,
5684
- "type": "option"
5685
- },
5686
- "listviews": {
5687
- "char": "l",
5688
- "description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
5689
- "name": "listviews",
5690
- "hasDynamicHelp": false,
5691
- "multiple": false,
5692
- "type": "option"
5693
- },
5694
- "debug": {
5695
- "char": "d",
5696
- "description": "Activate debug mode (more logs)",
5697
- "name": "debug",
5698
- "allowNo": false,
5699
- "type": "boolean"
5700
- },
5701
- "websocket": {
5702
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
5703
- "name": "websocket",
5704
- "hasDynamicHelp": false,
5705
- "multiple": false,
5706
- "type": "option"
5707
- },
5708
- "skipauth": {
5709
- "description": "Skip authentication check when a default username is required",
5710
- "name": "skipauth",
5711
- "allowNo": false,
5712
- "type": "boolean"
5713
- },
5714
- "target-org": {
5715
- "aliases": [
5716
- "targetusername",
5717
- "u"
5718
- ],
5719
- "char": "o",
5720
- "deprecateAliases": true,
5721
- "name": "target-org",
5722
- "noCacheDefault": true,
5723
- "required": true,
5724
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
5725
- "hasDynamicHelp": true,
5726
- "multiple": false,
5727
- "type": "option"
5728
- }
5729
- },
5730
- "hasDynamicHelp": true,
5731
- "hiddenAliases": [],
5732
- "id": "hardis:org:fix:listviewmine",
5733
- "pluginAlias": "sfdx-hardis",
5734
- "pluginName": "sfdx-hardis",
5735
- "pluginType": "core",
5736
- "strict": true,
5737
- "enableJsonFlag": true,
5738
- "title": "Fix listviews with ",
5739
- "requiresProject": true,
5740
- "isESM": true,
5741
- "relativePath": [
5742
- "lib",
5743
- "commands",
5744
- "hardis",
5745
- "org",
5746
- "fix",
5747
- "listviewmine.js"
5748
- ],
5749
- "aliasPermutations": [],
5750
- "permutations": [
5751
- "hardis:org:fix:listviewmine",
5752
- "org:hardis:fix:listviewmine",
5753
- "org:fix:hardis:listviewmine",
5754
- "org:fix:listviewmine:hardis",
5755
- "hardis:fix:org:listviewmine",
5756
- "fix:hardis:org:listviewmine",
5757
- "fix:org:hardis:listviewmine",
5758
- "fix:org:listviewmine:hardis",
5759
- "hardis:fix:listviewmine:org",
5760
- "fix:hardis:listviewmine:org",
5761
- "fix:listviewmine:hardis:org",
5762
- "fix:listviewmine:org:hardis",
5763
- "hardis:org:listviewmine:fix",
5764
- "org:hardis:listviewmine:fix",
5765
- "org:listviewmine:hardis:fix",
5766
- "org:listviewmine:fix:hardis",
5767
- "hardis:listviewmine:org:fix",
5768
- "listviewmine:hardis:org:fix",
5769
- "listviewmine:org:hardis:fix",
5770
- "listviewmine:org:fix:hardis",
5771
- "hardis:listviewmine:fix:org",
5772
- "listviewmine:hardis:fix:org",
5773
- "listviewmine:fix:hardis:org",
5774
- "listviewmine:fix:org:hardis"
5775
- ]
5776
- },
5777
5741
  "hardis:org:diagnose:audittrail": {
5778
5742
  "aliases": [],
5779
5743
  "args": {},
@@ -6923,14 +6887,13 @@
6923
6887
  "unusedusers:diagnose:org:hardis"
6924
6888
  ]
6925
6889
  },
6926
- "hardis:org:generate:packagexmlfull": {
6890
+ "hardis:org:fix:listviewmine": {
6927
6891
  "aliases": [],
6928
6892
  "args": {},
6929
- "description": "Generates full org package.xml, including managed items",
6893
+ "description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[![Invalid scope:Mine, not allowed ? Deploy your ListViews anyway !](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-invalid-scope-mine.jpg)](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",
6930
6894
  "examples": [
6931
- "$ sf hardis:org:generate:packagexmlfull",
6932
- "$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
6933
- "$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
6895
+ "$ sf hardis:org:fix:listviewmine",
6896
+ "$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
6934
6897
  ],
6935
6898
  "flags": {
6936
6899
  "json": {
@@ -6948,9 +6911,10 @@
6948
6911
  "multiple": false,
6949
6912
  "type": "option"
6950
6913
  },
6951
- "outputfile": {
6952
- "description": "Output package.xml file",
6953
- "name": "outputfile",
6914
+ "listviews": {
6915
+ "char": "l",
6916
+ "description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
6917
+ "name": "listviews",
6954
6918
  "hasDynamicHelp": false,
6955
6919
  "multiple": false,
6956
6920
  "type": "option"
@@ -6993,52 +6957,167 @@
6993
6957
  },
6994
6958
  "hasDynamicHelp": true,
6995
6959
  "hiddenAliases": [],
6996
- "id": "hardis:org:generate:packagexmlfull",
6960
+ "id": "hardis:org:fix:listviewmine",
6997
6961
  "pluginAlias": "sfdx-hardis",
6998
6962
  "pluginName": "sfdx-hardis",
6999
6963
  "pluginType": "core",
7000
6964
  "strict": true,
7001
6965
  "enableJsonFlag": true,
7002
- "title": "Generate Full Org package.xml",
7003
- "requiresProject": false,
6966
+ "title": "Fix listviews with ",
6967
+ "requiresProject": true,
7004
6968
  "isESM": true,
7005
6969
  "relativePath": [
7006
6970
  "lib",
7007
6971
  "commands",
7008
6972
  "hardis",
7009
6973
  "org",
7010
- "generate",
7011
- "packagexmlfull.js"
6974
+ "fix",
6975
+ "listviewmine.js"
7012
6976
  ],
7013
6977
  "aliasPermutations": [],
7014
6978
  "permutations": [
7015
- "hardis:org:generate:packagexmlfull",
7016
- "org:hardis:generate:packagexmlfull",
7017
- "org:generate:hardis:packagexmlfull",
7018
- "org:generate:packagexmlfull:hardis",
7019
- "hardis:generate:org:packagexmlfull",
7020
- "generate:hardis:org:packagexmlfull",
7021
- "generate:org:hardis:packagexmlfull",
7022
- "generate:org:packagexmlfull:hardis",
7023
- "hardis:generate:packagexmlfull:org",
7024
- "generate:hardis:packagexmlfull:org",
7025
- "generate:packagexmlfull:hardis:org",
7026
- "generate:packagexmlfull:org:hardis",
7027
- "hardis:org:packagexmlfull:generate",
7028
- "org:hardis:packagexmlfull:generate",
7029
- "org:packagexmlfull:hardis:generate",
7030
- "org:packagexmlfull:generate:hardis",
7031
- "hardis:packagexmlfull:org:generate",
7032
- "packagexmlfull:hardis:org:generate",
7033
- "packagexmlfull:org:hardis:generate",
7034
- "packagexmlfull:org:generate:hardis",
7035
- "hardis:packagexmlfull:generate:org",
7036
- "packagexmlfull:hardis:generate:org",
7037
- "packagexmlfull:generate:hardis:org",
7038
- "packagexmlfull:generate:org:hardis"
6979
+ "hardis:org:fix:listviewmine",
6980
+ "org:hardis:fix:listviewmine",
6981
+ "org:fix:hardis:listviewmine",
6982
+ "org:fix:listviewmine:hardis",
6983
+ "hardis:fix:org:listviewmine",
6984
+ "fix:hardis:org:listviewmine",
6985
+ "fix:org:hardis:listviewmine",
6986
+ "fix:org:listviewmine:hardis",
6987
+ "hardis:fix:listviewmine:org",
6988
+ "fix:hardis:listviewmine:org",
6989
+ "fix:listviewmine:hardis:org",
6990
+ "fix:listviewmine:org:hardis",
6991
+ "hardis:org:listviewmine:fix",
6992
+ "org:hardis:listviewmine:fix",
6993
+ "org:listviewmine:hardis:fix",
6994
+ "org:listviewmine:fix:hardis",
6995
+ "hardis:listviewmine:org:fix",
6996
+ "listviewmine:hardis:org:fix",
6997
+ "listviewmine:org:hardis:fix",
6998
+ "listviewmine:org:fix:hardis",
6999
+ "hardis:listviewmine:fix:org",
7000
+ "listviewmine:hardis:fix:org",
7001
+ "listviewmine:fix:hardis:org",
7002
+ "listviewmine:fix:org:hardis"
7039
7003
  ]
7040
7004
  },
7041
- "hardis:org:monitor:all": {
7005
+ "hardis:org:generate:packagexmlfull": {
7006
+ "aliases": [],
7007
+ "args": {},
7008
+ "description": "Generates full org package.xml, including managed items",
7009
+ "examples": [
7010
+ "$ sf hardis:org:generate:packagexmlfull",
7011
+ "$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
7012
+ "$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
7013
+ ],
7014
+ "flags": {
7015
+ "json": {
7016
+ "description": "Format output as json.",
7017
+ "helpGroup": "GLOBAL",
7018
+ "name": "json",
7019
+ "allowNo": false,
7020
+ "type": "boolean"
7021
+ },
7022
+ "flags-dir": {
7023
+ "helpGroup": "GLOBAL",
7024
+ "name": "flags-dir",
7025
+ "summary": "Import flag values from a directory.",
7026
+ "hasDynamicHelp": false,
7027
+ "multiple": false,
7028
+ "type": "option"
7029
+ },
7030
+ "outputfile": {
7031
+ "description": "Output package.xml file",
7032
+ "name": "outputfile",
7033
+ "hasDynamicHelp": false,
7034
+ "multiple": false,
7035
+ "type": "option"
7036
+ },
7037
+ "debug": {
7038
+ "char": "d",
7039
+ "description": "Activate debug mode (more logs)",
7040
+ "name": "debug",
7041
+ "allowNo": false,
7042
+ "type": "boolean"
7043
+ },
7044
+ "websocket": {
7045
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
7046
+ "name": "websocket",
7047
+ "hasDynamicHelp": false,
7048
+ "multiple": false,
7049
+ "type": "option"
7050
+ },
7051
+ "skipauth": {
7052
+ "description": "Skip authentication check when a default username is required",
7053
+ "name": "skipauth",
7054
+ "allowNo": false,
7055
+ "type": "boolean"
7056
+ },
7057
+ "target-org": {
7058
+ "aliases": [
7059
+ "targetusername",
7060
+ "u"
7061
+ ],
7062
+ "char": "o",
7063
+ "deprecateAliases": true,
7064
+ "name": "target-org",
7065
+ "noCacheDefault": true,
7066
+ "required": true,
7067
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
7068
+ "hasDynamicHelp": true,
7069
+ "multiple": false,
7070
+ "type": "option"
7071
+ }
7072
+ },
7073
+ "hasDynamicHelp": true,
7074
+ "hiddenAliases": [],
7075
+ "id": "hardis:org:generate:packagexmlfull",
7076
+ "pluginAlias": "sfdx-hardis",
7077
+ "pluginName": "sfdx-hardis",
7078
+ "pluginType": "core",
7079
+ "strict": true,
7080
+ "enableJsonFlag": true,
7081
+ "title": "Generate Full Org package.xml",
7082
+ "requiresProject": false,
7083
+ "isESM": true,
7084
+ "relativePath": [
7085
+ "lib",
7086
+ "commands",
7087
+ "hardis",
7088
+ "org",
7089
+ "generate",
7090
+ "packagexmlfull.js"
7091
+ ],
7092
+ "aliasPermutations": [],
7093
+ "permutations": [
7094
+ "hardis:org:generate:packagexmlfull",
7095
+ "org:hardis:generate:packagexmlfull",
7096
+ "org:generate:hardis:packagexmlfull",
7097
+ "org:generate:packagexmlfull:hardis",
7098
+ "hardis:generate:org:packagexmlfull",
7099
+ "generate:hardis:org:packagexmlfull",
7100
+ "generate:org:hardis:packagexmlfull",
7101
+ "generate:org:packagexmlfull:hardis",
7102
+ "hardis:generate:packagexmlfull:org",
7103
+ "generate:hardis:packagexmlfull:org",
7104
+ "generate:packagexmlfull:hardis:org",
7105
+ "generate:packagexmlfull:org:hardis",
7106
+ "hardis:org:packagexmlfull:generate",
7107
+ "org:hardis:packagexmlfull:generate",
7108
+ "org:packagexmlfull:hardis:generate",
7109
+ "org:packagexmlfull:generate:hardis",
7110
+ "hardis:packagexmlfull:org:generate",
7111
+ "packagexmlfull:hardis:org:generate",
7112
+ "packagexmlfull:org:hardis:generate",
7113
+ "packagexmlfull:org:generate:hardis",
7114
+ "hardis:packagexmlfull:generate:org",
7115
+ "packagexmlfull:hardis:generate:org",
7116
+ "packagexmlfull:generate:hardis:org",
7117
+ "packagexmlfull:generate:org:hardis"
7118
+ ]
7119
+ },
7120
+ "hardis:org:monitor:all": {
7042
7121
  "aliases": [],
7043
7122
  "args": {},
7044
7123
  "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",
@@ -9166,6 +9245,135 @@
9166
9245
  "remotesites:audit:project:hardis"
9167
9246
  ]
9168
9247
  },
9248
+ "hardis:project:configure:auth": {
9249
+ "aliases": [],
9250
+ "args": {},
9251
+ "description": "Configure authentication from git branch to target org",
9252
+ "examples": [
9253
+ "$ sf hardis:project:configure:auth"
9254
+ ],
9255
+ "flags": {
9256
+ "json": {
9257
+ "description": "Format output as json.",
9258
+ "helpGroup": "GLOBAL",
9259
+ "name": "json",
9260
+ "allowNo": false,
9261
+ "type": "boolean"
9262
+ },
9263
+ "flags-dir": {
9264
+ "helpGroup": "GLOBAL",
9265
+ "name": "flags-dir",
9266
+ "summary": "Import flag values from a directory.",
9267
+ "hasDynamicHelp": false,
9268
+ "multiple": false,
9269
+ "type": "option"
9270
+ },
9271
+ "devhub": {
9272
+ "char": "b",
9273
+ "description": "Configure project DevHub",
9274
+ "name": "devhub",
9275
+ "allowNo": false,
9276
+ "type": "boolean"
9277
+ },
9278
+ "debug": {
9279
+ "char": "d",
9280
+ "description": "Activate debug mode (more logs)",
9281
+ "name": "debug",
9282
+ "allowNo": false,
9283
+ "type": "boolean"
9284
+ },
9285
+ "websocket": {
9286
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9287
+ "name": "websocket",
9288
+ "hasDynamicHelp": false,
9289
+ "multiple": false,
9290
+ "type": "option"
9291
+ },
9292
+ "skipauth": {
9293
+ "description": "Skip authentication check when a default username is required",
9294
+ "name": "skipauth",
9295
+ "allowNo": false,
9296
+ "type": "boolean"
9297
+ },
9298
+ "target-org": {
9299
+ "aliases": [
9300
+ "targetusername",
9301
+ "u"
9302
+ ],
9303
+ "char": "o",
9304
+ "deprecateAliases": true,
9305
+ "name": "target-org",
9306
+ "noCacheDefault": true,
9307
+ "summary": "Username or alias of the target org.",
9308
+ "hasDynamicHelp": true,
9309
+ "multiple": false,
9310
+ "type": "option"
9311
+ },
9312
+ "target-dev-hub": {
9313
+ "aliases": [
9314
+ "targetdevhubusername"
9315
+ ],
9316
+ "char": "v",
9317
+ "deprecateAliases": true,
9318
+ "name": "target-dev-hub",
9319
+ "noCacheDefault": true,
9320
+ "required": false,
9321
+ "summary": "Username or alias of the Dev Hub org.",
9322
+ "hasDynamicHelp": true,
9323
+ "multiple": false,
9324
+ "type": "option"
9325
+ }
9326
+ },
9327
+ "hasDynamicHelp": true,
9328
+ "hiddenAliases": [],
9329
+ "id": "hardis:project:configure:auth",
9330
+ "pluginAlias": "sfdx-hardis",
9331
+ "pluginName": "sfdx-hardis",
9332
+ "pluginType": "core",
9333
+ "strict": true,
9334
+ "enableJsonFlag": true,
9335
+ "title": "Configure authentication",
9336
+ "requiresProject": false,
9337
+ "requiresDependencies": [
9338
+ "openssl"
9339
+ ],
9340
+ "isESM": true,
9341
+ "relativePath": [
9342
+ "lib",
9343
+ "commands",
9344
+ "hardis",
9345
+ "project",
9346
+ "configure",
9347
+ "auth.js"
9348
+ ],
9349
+ "aliasPermutations": [],
9350
+ "permutations": [
9351
+ "hardis:project:configure:auth",
9352
+ "project:hardis:configure:auth",
9353
+ "project:configure:hardis:auth",
9354
+ "project:configure:auth:hardis",
9355
+ "hardis:configure:project:auth",
9356
+ "configure:hardis:project:auth",
9357
+ "configure:project:hardis:auth",
9358
+ "configure:project:auth:hardis",
9359
+ "hardis:configure:auth:project",
9360
+ "configure:hardis:auth:project",
9361
+ "configure:auth:hardis:project",
9362
+ "configure:auth:project:hardis",
9363
+ "hardis:project:auth:configure",
9364
+ "project:hardis:auth:configure",
9365
+ "project:auth:hardis:configure",
9366
+ "project:auth:configure:hardis",
9367
+ "hardis:auth:project:configure",
9368
+ "auth:hardis:project:configure",
9369
+ "auth:project:hardis:configure",
9370
+ "auth:project:configure:hardis",
9371
+ "hardis:auth:configure:project",
9372
+ "auth:hardis:configure:project",
9373
+ "auth:configure:hardis:project",
9374
+ "auth:configure:project:hardis"
9375
+ ]
9376
+ },
9169
9377
  "hardis:project:clean:emptyitems": {
9170
9378
  "aliases": [],
9171
9379
  "args": {},
@@ -10651,141 +10859,12 @@
10651
10859
  "xml:clean:project:hardis"
10652
10860
  ]
10653
10861
  },
10654
- "hardis:project:configure:auth": {
10862
+ "hardis:project:convert:profilestopermsets": {
10655
10863
  "aliases": [],
10656
10864
  "args": {},
10657
- "description": "Configure authentication from git branch to target org",
10865
+ "description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
10658
10866
  "examples": [
10659
- "$ sf hardis:project:configure:auth"
10660
- ],
10661
- "flags": {
10662
- "json": {
10663
- "description": "Format output as json.",
10664
- "helpGroup": "GLOBAL",
10665
- "name": "json",
10666
- "allowNo": false,
10667
- "type": "boolean"
10668
- },
10669
- "flags-dir": {
10670
- "helpGroup": "GLOBAL",
10671
- "name": "flags-dir",
10672
- "summary": "Import flag values from a directory.",
10673
- "hasDynamicHelp": false,
10674
- "multiple": false,
10675
- "type": "option"
10676
- },
10677
- "devhub": {
10678
- "char": "b",
10679
- "description": "Configure project DevHub",
10680
- "name": "devhub",
10681
- "allowNo": false,
10682
- "type": "boolean"
10683
- },
10684
- "debug": {
10685
- "char": "d",
10686
- "description": "Activate debug mode (more logs)",
10687
- "name": "debug",
10688
- "allowNo": false,
10689
- "type": "boolean"
10690
- },
10691
- "websocket": {
10692
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
10693
- "name": "websocket",
10694
- "hasDynamicHelp": false,
10695
- "multiple": false,
10696
- "type": "option"
10697
- },
10698
- "skipauth": {
10699
- "description": "Skip authentication check when a default username is required",
10700
- "name": "skipauth",
10701
- "allowNo": false,
10702
- "type": "boolean"
10703
- },
10704
- "target-org": {
10705
- "aliases": [
10706
- "targetusername",
10707
- "u"
10708
- ],
10709
- "char": "o",
10710
- "deprecateAliases": true,
10711
- "name": "target-org",
10712
- "noCacheDefault": true,
10713
- "summary": "Username or alias of the target org.",
10714
- "hasDynamicHelp": true,
10715
- "multiple": false,
10716
- "type": "option"
10717
- },
10718
- "target-dev-hub": {
10719
- "aliases": [
10720
- "targetdevhubusername"
10721
- ],
10722
- "char": "v",
10723
- "deprecateAliases": true,
10724
- "name": "target-dev-hub",
10725
- "noCacheDefault": true,
10726
- "required": false,
10727
- "summary": "Username or alias of the Dev Hub org.",
10728
- "hasDynamicHelp": true,
10729
- "multiple": false,
10730
- "type": "option"
10731
- }
10732
- },
10733
- "hasDynamicHelp": true,
10734
- "hiddenAliases": [],
10735
- "id": "hardis:project:configure:auth",
10736
- "pluginAlias": "sfdx-hardis",
10737
- "pluginName": "sfdx-hardis",
10738
- "pluginType": "core",
10739
- "strict": true,
10740
- "enableJsonFlag": true,
10741
- "title": "Configure authentication",
10742
- "requiresProject": false,
10743
- "requiresDependencies": [
10744
- "openssl"
10745
- ],
10746
- "isESM": true,
10747
- "relativePath": [
10748
- "lib",
10749
- "commands",
10750
- "hardis",
10751
- "project",
10752
- "configure",
10753
- "auth.js"
10754
- ],
10755
- "aliasPermutations": [],
10756
- "permutations": [
10757
- "hardis:project:configure:auth",
10758
- "project:hardis:configure:auth",
10759
- "project:configure:hardis:auth",
10760
- "project:configure:auth:hardis",
10761
- "hardis:configure:project:auth",
10762
- "configure:hardis:project:auth",
10763
- "configure:project:hardis:auth",
10764
- "configure:project:auth:hardis",
10765
- "hardis:configure:auth:project",
10766
- "configure:hardis:auth:project",
10767
- "configure:auth:hardis:project",
10768
- "configure:auth:project:hardis",
10769
- "hardis:project:auth:configure",
10770
- "project:hardis:auth:configure",
10771
- "project:auth:hardis:configure",
10772
- "project:auth:configure:hardis",
10773
- "hardis:auth:project:configure",
10774
- "auth:hardis:project:configure",
10775
- "auth:project:hardis:configure",
10776
- "auth:project:configure:hardis",
10777
- "hardis:auth:configure:project",
10778
- "auth:hardis:configure:project",
10779
- "auth:configure:hardis:project",
10780
- "auth:configure:project:hardis"
10781
- ]
10782
- },
10783
- "hardis:project:convert:profilestopermsets": {
10784
- "aliases": [],
10785
- "args": {},
10786
- "description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
10787
- "examples": [
10788
- "$ sf hardis:project:convert:profilestopermsets"
10867
+ "$ sf hardis:project:convert:profilestopermsets"
10789
10868
  ],
10790
10869
  "flags": {
10791
10870
  "json": {
@@ -10840,262 +10919,47 @@
10840
10919
  "pluginName": "sfdx-hardis",
10841
10920
  "pluginType": "core",
10842
10921
  "strict": true,
10843
- "enableJsonFlag": true,
10844
- "title": "Convert Profiles into Permission Sets",
10845
- "requiresProject": true,
10846
- "requiresSfdxPlugins": [
10847
- "shane-sfdx-plugins"
10848
- ],
10849
- "isESM": true,
10850
- "relativePath": [
10851
- "lib",
10852
- "commands",
10853
- "hardis",
10854
- "project",
10855
- "convert",
10856
- "profilestopermsets.js"
10857
- ],
10858
- "aliasPermutations": [],
10859
- "permutations": [
10860
- "hardis:project:convert:profilestopermsets",
10861
- "project:hardis:convert:profilestopermsets",
10862
- "project:convert:hardis:profilestopermsets",
10863
- "project:convert:profilestopermsets:hardis",
10864
- "hardis:convert:project:profilestopermsets",
10865
- "convert:hardis:project:profilestopermsets",
10866
- "convert:project:hardis:profilestopermsets",
10867
- "convert:project:profilestopermsets:hardis",
10868
- "hardis:convert:profilestopermsets:project",
10869
- "convert:hardis:profilestopermsets:project",
10870
- "convert:profilestopermsets:hardis:project",
10871
- "convert:profilestopermsets:project:hardis",
10872
- "hardis:project:profilestopermsets:convert",
10873
- "project:hardis:profilestopermsets:convert",
10874
- "project:profilestopermsets:hardis:convert",
10875
- "project:profilestopermsets:convert:hardis",
10876
- "hardis:profilestopermsets:project:convert",
10877
- "profilestopermsets:hardis:project:convert",
10878
- "profilestopermsets:project:hardis:convert",
10879
- "profilestopermsets:project:convert:hardis",
10880
- "hardis:profilestopermsets:convert:project",
10881
- "profilestopermsets:hardis:convert:project",
10882
- "profilestopermsets:convert:hardis:project",
10883
- "profilestopermsets:convert:project:hardis"
10884
- ]
10885
- },
10886
- "hardis:project:fix:profiletabs": {
10887
- "aliases": [],
10888
- "args": {},
10889
- "description": "Interactive prompts to add tab visibilities that are not retrieved by project retrieve start",
10890
- "examples": [
10891
- "$ sf hardis:project:fix:profiletabs"
10892
- ],
10893
- "flags": {
10894
- "json": {
10895
- "description": "Format output as json.",
10896
- "helpGroup": "GLOBAL",
10897
- "name": "json",
10898
- "allowNo": false,
10899
- "type": "boolean"
10900
- },
10901
- "flags-dir": {
10902
- "helpGroup": "GLOBAL",
10903
- "name": "flags-dir",
10904
- "summary": "Import flag values from a directory.",
10905
- "hasDynamicHelp": false,
10906
- "multiple": false,
10907
- "type": "option"
10908
- },
10909
- "path": {
10910
- "char": "p",
10911
- "description": "Root folder",
10912
- "name": "path",
10913
- "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
10914
- "hasDynamicHelp": false,
10915
- "multiple": false,
10916
- "type": "option"
10917
- },
10918
- "debug": {
10919
- "char": "d",
10920
- "description": "Activate debug mode (more logs)",
10921
- "name": "debug",
10922
- "allowNo": false,
10923
- "type": "boolean"
10924
- },
10925
- "websocket": {
10926
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
10927
- "name": "websocket",
10928
- "hasDynamicHelp": false,
10929
- "multiple": false,
10930
- "type": "option"
10931
- },
10932
- "skipauth": {
10933
- "description": "Skip authentication check when a default username is required",
10934
- "name": "skipauth",
10935
- "allowNo": false,
10936
- "type": "boolean"
10937
- },
10938
- "target-org": {
10939
- "aliases": [
10940
- "targetusername",
10941
- "u"
10942
- ],
10943
- "char": "o",
10944
- "deprecateAliases": true,
10945
- "name": "target-org",
10946
- "noCacheDefault": true,
10947
- "required": true,
10948
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
10949
- "hasDynamicHelp": true,
10950
- "multiple": false,
10951
- "type": "option"
10952
- }
10953
- },
10954
- "hasDynamicHelp": true,
10955
- "hiddenAliases": [],
10956
- "id": "hardis:project:fix:profiletabs",
10957
- "pluginAlias": "sfdx-hardis",
10958
- "pluginName": "sfdx-hardis",
10959
- "pluginType": "core",
10960
- "strict": true,
10961
- "enableJsonFlag": true,
10962
- "title": "Fix profiles to add tabs that are not retrieved by SF CLI",
10963
- "requiresProject": true,
10964
- "isESM": true,
10965
- "relativePath": [
10966
- "lib",
10967
- "commands",
10968
- "hardis",
10969
- "project",
10970
- "fix",
10971
- "profiletabs.js"
10972
- ],
10973
- "aliasPermutations": [],
10974
- "permutations": [
10975
- "hardis:project:fix:profiletabs",
10976
- "project:hardis:fix:profiletabs",
10977
- "project:fix:hardis:profiletabs",
10978
- "project:fix:profiletabs:hardis",
10979
- "hardis:fix:project:profiletabs",
10980
- "fix:hardis:project:profiletabs",
10981
- "fix:project:hardis:profiletabs",
10982
- "fix:project:profiletabs:hardis",
10983
- "hardis:fix:profiletabs:project",
10984
- "fix:hardis:profiletabs:project",
10985
- "fix:profiletabs:hardis:project",
10986
- "fix:profiletabs:project:hardis",
10987
- "hardis:project:profiletabs:fix",
10988
- "project:hardis:profiletabs:fix",
10989
- "project:profiletabs:hardis:fix",
10990
- "project:profiletabs:fix:hardis",
10991
- "hardis:profiletabs:project:fix",
10992
- "profiletabs:hardis:project:fix",
10993
- "profiletabs:project:hardis:fix",
10994
- "profiletabs:project:fix:hardis",
10995
- "hardis:profiletabs:fix:project",
10996
- "profiletabs:hardis:fix:project",
10997
- "profiletabs:fix:hardis:project",
10998
- "profiletabs:fix:project:hardis"
10999
- ]
11000
- },
11001
- "hardis:project:fix:v53flexipages": {
11002
- "aliases": [],
11003
- "args": {},
11004
- "description": "Fix flexipages for apiVersion v53 (Winter22).\n\nNote: Update api version to 53.0 in package.xml and sfdx-project.json",
11005
- "examples": [
11006
- "$ sf hardis:project:fix:v53flexipages"
11007
- ],
11008
- "flags": {
11009
- "json": {
11010
- "description": "Format output as json.",
11011
- "helpGroup": "GLOBAL",
11012
- "name": "json",
11013
- "allowNo": false,
11014
- "type": "boolean"
11015
- },
11016
- "flags-dir": {
11017
- "helpGroup": "GLOBAL",
11018
- "name": "flags-dir",
11019
- "summary": "Import flag values from a directory.",
11020
- "hasDynamicHelp": false,
11021
- "multiple": false,
11022
- "type": "option"
11023
- },
11024
- "path": {
11025
- "char": "p",
11026
- "description": "Root folder",
11027
- "name": "path",
11028
- "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
11029
- "hasDynamicHelp": false,
11030
- "multiple": false,
11031
- "type": "option"
11032
- },
11033
- "debug": {
11034
- "char": "d",
11035
- "description": "Activate debug mode (more logs)",
11036
- "name": "debug",
11037
- "allowNo": false,
11038
- "type": "boolean"
11039
- },
11040
- "websocket": {
11041
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
11042
- "name": "websocket",
11043
- "hasDynamicHelp": false,
11044
- "multiple": false,
11045
- "type": "option"
11046
- },
11047
- "skipauth": {
11048
- "description": "Skip authentication check when a default username is required",
11049
- "name": "skipauth",
11050
- "allowNo": false,
11051
- "type": "boolean"
11052
- }
11053
- },
11054
- "hasDynamicHelp": false,
11055
- "hiddenAliases": [],
11056
- "id": "hardis:project:fix:v53flexipages",
11057
- "pluginAlias": "sfdx-hardis",
11058
- "pluginName": "sfdx-hardis",
11059
- "pluginType": "core",
11060
- "strict": true,
11061
- "enableJsonFlag": true,
11062
- "title": "Fix flexipages for v53",
11063
- "requiresProject": true,
11064
- "isESM": true,
11065
- "relativePath": [
11066
- "lib",
11067
- "commands",
11068
- "hardis",
11069
- "project",
11070
- "fix",
11071
- "v53flexipages.js"
11072
- ],
11073
- "aliasPermutations": [],
11074
- "permutations": [
11075
- "hardis:project:fix:v53flexipages",
11076
- "project:hardis:fix:v53flexipages",
11077
- "project:fix:hardis:v53flexipages",
11078
- "project:fix:v53flexipages:hardis",
11079
- "hardis:fix:project:v53flexipages",
11080
- "fix:hardis:project:v53flexipages",
11081
- "fix:project:hardis:v53flexipages",
11082
- "fix:project:v53flexipages:hardis",
11083
- "hardis:fix:v53flexipages:project",
11084
- "fix:hardis:v53flexipages:project",
11085
- "fix:v53flexipages:hardis:project",
11086
- "fix:v53flexipages:project:hardis",
11087
- "hardis:project:v53flexipages:fix",
11088
- "project:hardis:v53flexipages:fix",
11089
- "project:v53flexipages:hardis:fix",
11090
- "project:v53flexipages:fix:hardis",
11091
- "hardis:v53flexipages:project:fix",
11092
- "v53flexipages:hardis:project:fix",
11093
- "v53flexipages:project:hardis:fix",
11094
- "v53flexipages:project:fix:hardis",
11095
- "hardis:v53flexipages:fix:project",
11096
- "v53flexipages:hardis:fix:project",
11097
- "v53flexipages:fix:hardis:project",
11098
- "v53flexipages:fix:project:hardis"
10922
+ "enableJsonFlag": true,
10923
+ "title": "Convert Profiles into Permission Sets",
10924
+ "requiresProject": true,
10925
+ "requiresSfdxPlugins": [
10926
+ "shane-sfdx-plugins"
10927
+ ],
10928
+ "isESM": true,
10929
+ "relativePath": [
10930
+ "lib",
10931
+ "commands",
10932
+ "hardis",
10933
+ "project",
10934
+ "convert",
10935
+ "profilestopermsets.js"
10936
+ ],
10937
+ "aliasPermutations": [],
10938
+ "permutations": [
10939
+ "hardis:project:convert:profilestopermsets",
10940
+ "project:hardis:convert:profilestopermsets",
10941
+ "project:convert:hardis:profilestopermsets",
10942
+ "project:convert:profilestopermsets:hardis",
10943
+ "hardis:convert:project:profilestopermsets",
10944
+ "convert:hardis:project:profilestopermsets",
10945
+ "convert:project:hardis:profilestopermsets",
10946
+ "convert:project:profilestopermsets:hardis",
10947
+ "hardis:convert:profilestopermsets:project",
10948
+ "convert:hardis:profilestopermsets:project",
10949
+ "convert:profilestopermsets:hardis:project",
10950
+ "convert:profilestopermsets:project:hardis",
10951
+ "hardis:project:profilestopermsets:convert",
10952
+ "project:hardis:profilestopermsets:convert",
10953
+ "project:profilestopermsets:hardis:convert",
10954
+ "project:profilestopermsets:convert:hardis",
10955
+ "hardis:profilestopermsets:project:convert",
10956
+ "profilestopermsets:hardis:project:convert",
10957
+ "profilestopermsets:project:hardis:convert",
10958
+ "profilestopermsets:project:convert:hardis",
10959
+ "hardis:profilestopermsets:convert:project",
10960
+ "profilestopermsets:hardis:convert:project",
10961
+ "profilestopermsets:convert:hardis:project",
10962
+ "profilestopermsets:convert:project:hardis"
11099
10963
  ]
11100
10964
  },
11101
10965
  "hardis:project:deploy:notify": {
@@ -12273,6 +12137,221 @@
12273
12137
  "validate:deploy:project:hardis"
12274
12138
  ]
12275
12139
  },
12140
+ "hardis:project:fix:profiletabs": {
12141
+ "aliases": [],
12142
+ "args": {},
12143
+ "description": "Interactive prompts to add tab visibilities that are not retrieved by project retrieve start",
12144
+ "examples": [
12145
+ "$ sf hardis:project:fix:profiletabs"
12146
+ ],
12147
+ "flags": {
12148
+ "json": {
12149
+ "description": "Format output as json.",
12150
+ "helpGroup": "GLOBAL",
12151
+ "name": "json",
12152
+ "allowNo": false,
12153
+ "type": "boolean"
12154
+ },
12155
+ "flags-dir": {
12156
+ "helpGroup": "GLOBAL",
12157
+ "name": "flags-dir",
12158
+ "summary": "Import flag values from a directory.",
12159
+ "hasDynamicHelp": false,
12160
+ "multiple": false,
12161
+ "type": "option"
12162
+ },
12163
+ "path": {
12164
+ "char": "p",
12165
+ "description": "Root folder",
12166
+ "name": "path",
12167
+ "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
12168
+ "hasDynamicHelp": false,
12169
+ "multiple": false,
12170
+ "type": "option"
12171
+ },
12172
+ "debug": {
12173
+ "char": "d",
12174
+ "description": "Activate debug mode (more logs)",
12175
+ "name": "debug",
12176
+ "allowNo": false,
12177
+ "type": "boolean"
12178
+ },
12179
+ "websocket": {
12180
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
12181
+ "name": "websocket",
12182
+ "hasDynamicHelp": false,
12183
+ "multiple": false,
12184
+ "type": "option"
12185
+ },
12186
+ "skipauth": {
12187
+ "description": "Skip authentication check when a default username is required",
12188
+ "name": "skipauth",
12189
+ "allowNo": false,
12190
+ "type": "boolean"
12191
+ },
12192
+ "target-org": {
12193
+ "aliases": [
12194
+ "targetusername",
12195
+ "u"
12196
+ ],
12197
+ "char": "o",
12198
+ "deprecateAliases": true,
12199
+ "name": "target-org",
12200
+ "noCacheDefault": true,
12201
+ "required": true,
12202
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
12203
+ "hasDynamicHelp": true,
12204
+ "multiple": false,
12205
+ "type": "option"
12206
+ }
12207
+ },
12208
+ "hasDynamicHelp": true,
12209
+ "hiddenAliases": [],
12210
+ "id": "hardis:project:fix:profiletabs",
12211
+ "pluginAlias": "sfdx-hardis",
12212
+ "pluginName": "sfdx-hardis",
12213
+ "pluginType": "core",
12214
+ "strict": true,
12215
+ "enableJsonFlag": true,
12216
+ "title": "Fix profiles to add tabs that are not retrieved by SF CLI",
12217
+ "requiresProject": true,
12218
+ "isESM": true,
12219
+ "relativePath": [
12220
+ "lib",
12221
+ "commands",
12222
+ "hardis",
12223
+ "project",
12224
+ "fix",
12225
+ "profiletabs.js"
12226
+ ],
12227
+ "aliasPermutations": [],
12228
+ "permutations": [
12229
+ "hardis:project:fix:profiletabs",
12230
+ "project:hardis:fix:profiletabs",
12231
+ "project:fix:hardis:profiletabs",
12232
+ "project:fix:profiletabs:hardis",
12233
+ "hardis:fix:project:profiletabs",
12234
+ "fix:hardis:project:profiletabs",
12235
+ "fix:project:hardis:profiletabs",
12236
+ "fix:project:profiletabs:hardis",
12237
+ "hardis:fix:profiletabs:project",
12238
+ "fix:hardis:profiletabs:project",
12239
+ "fix:profiletabs:hardis:project",
12240
+ "fix:profiletabs:project:hardis",
12241
+ "hardis:project:profiletabs:fix",
12242
+ "project:hardis:profiletabs:fix",
12243
+ "project:profiletabs:hardis:fix",
12244
+ "project:profiletabs:fix:hardis",
12245
+ "hardis:profiletabs:project:fix",
12246
+ "profiletabs:hardis:project:fix",
12247
+ "profiletabs:project:hardis:fix",
12248
+ "profiletabs:project:fix:hardis",
12249
+ "hardis:profiletabs:fix:project",
12250
+ "profiletabs:hardis:fix:project",
12251
+ "profiletabs:fix:hardis:project",
12252
+ "profiletabs:fix:project:hardis"
12253
+ ]
12254
+ },
12255
+ "hardis:project:fix:v53flexipages": {
12256
+ "aliases": [],
12257
+ "args": {},
12258
+ "description": "Fix flexipages for apiVersion v53 (Winter22).\n\nNote: Update api version to 53.0 in package.xml and sfdx-project.json",
12259
+ "examples": [
12260
+ "$ sf hardis:project:fix:v53flexipages"
12261
+ ],
12262
+ "flags": {
12263
+ "json": {
12264
+ "description": "Format output as json.",
12265
+ "helpGroup": "GLOBAL",
12266
+ "name": "json",
12267
+ "allowNo": false,
12268
+ "type": "boolean"
12269
+ },
12270
+ "flags-dir": {
12271
+ "helpGroup": "GLOBAL",
12272
+ "name": "flags-dir",
12273
+ "summary": "Import flag values from a directory.",
12274
+ "hasDynamicHelp": false,
12275
+ "multiple": false,
12276
+ "type": "option"
12277
+ },
12278
+ "path": {
12279
+ "char": "p",
12280
+ "description": "Root folder",
12281
+ "name": "path",
12282
+ "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
12283
+ "hasDynamicHelp": false,
12284
+ "multiple": false,
12285
+ "type": "option"
12286
+ },
12287
+ "debug": {
12288
+ "char": "d",
12289
+ "description": "Activate debug mode (more logs)",
12290
+ "name": "debug",
12291
+ "allowNo": false,
12292
+ "type": "boolean"
12293
+ },
12294
+ "websocket": {
12295
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
12296
+ "name": "websocket",
12297
+ "hasDynamicHelp": false,
12298
+ "multiple": false,
12299
+ "type": "option"
12300
+ },
12301
+ "skipauth": {
12302
+ "description": "Skip authentication check when a default username is required",
12303
+ "name": "skipauth",
12304
+ "allowNo": false,
12305
+ "type": "boolean"
12306
+ }
12307
+ },
12308
+ "hasDynamicHelp": false,
12309
+ "hiddenAliases": [],
12310
+ "id": "hardis:project:fix:v53flexipages",
12311
+ "pluginAlias": "sfdx-hardis",
12312
+ "pluginName": "sfdx-hardis",
12313
+ "pluginType": "core",
12314
+ "strict": true,
12315
+ "enableJsonFlag": true,
12316
+ "title": "Fix flexipages for v53",
12317
+ "requiresProject": true,
12318
+ "isESM": true,
12319
+ "relativePath": [
12320
+ "lib",
12321
+ "commands",
12322
+ "hardis",
12323
+ "project",
12324
+ "fix",
12325
+ "v53flexipages.js"
12326
+ ],
12327
+ "aliasPermutations": [],
12328
+ "permutations": [
12329
+ "hardis:project:fix:v53flexipages",
12330
+ "project:hardis:fix:v53flexipages",
12331
+ "project:fix:hardis:v53flexipages",
12332
+ "project:fix:v53flexipages:hardis",
12333
+ "hardis:fix:project:v53flexipages",
12334
+ "fix:hardis:project:v53flexipages",
12335
+ "fix:project:hardis:v53flexipages",
12336
+ "fix:project:v53flexipages:hardis",
12337
+ "hardis:fix:v53flexipages:project",
12338
+ "fix:hardis:v53flexipages:project",
12339
+ "fix:v53flexipages:hardis:project",
12340
+ "fix:v53flexipages:project:hardis",
12341
+ "hardis:project:v53flexipages:fix",
12342
+ "project:hardis:v53flexipages:fix",
12343
+ "project:v53flexipages:hardis:fix",
12344
+ "project:v53flexipages:fix:hardis",
12345
+ "hardis:v53flexipages:project:fix",
12346
+ "v53flexipages:hardis:project:fix",
12347
+ "v53flexipages:project:hardis:fix",
12348
+ "v53flexipages:project:fix:hardis",
12349
+ "hardis:v53flexipages:fix:project",
12350
+ "v53flexipages:hardis:fix:project",
12351
+ "v53flexipages:fix:hardis:project",
12352
+ "v53flexipages:fix:project:hardis"
12353
+ ]
12354
+ },
12276
12355
  "hardis:project:generate:bypass": {
12277
12356
  "aliases": [],
12278
12357
  "args": {},
@@ -14726,5 +14805,5 @@
14726
14805
  ]
14727
14806
  }
14728
14807
  },
14729
- "version": "5.40.0"
14808
+ "version": "5.41.0"
14730
14809
  }