sfdx-hardis 6.0.4-beta202508131002.0 → 6.0.5-beta202508132214.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 (336) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/lib/commands/hardis/cache/clear.js +2 -1
  3. package/lib/commands/hardis/cache/clear.js.map +1 -1
  4. package/lib/commands/hardis/config/get.js +1 -1
  5. package/lib/commands/hardis/config/get.js.map +1 -1
  6. package/lib/commands/hardis/doc/extract/permsetgroups.js +5 -5
  7. package/lib/commands/hardis/doc/extract/permsetgroups.js.map +1 -1
  8. package/lib/commands/hardis/doc/fieldusage.js +5 -5
  9. package/lib/commands/hardis/doc/fieldusage.js.map +1 -1
  10. package/lib/commands/hardis/doc/flow2markdown.js +2 -2
  11. package/lib/commands/hardis/doc/flow2markdown.js.map +1 -1
  12. package/lib/commands/hardis/doc/mkdocs-to-cf.js +19 -19
  13. package/lib/commands/hardis/doc/mkdocs-to-cf.js.map +1 -1
  14. package/lib/commands/hardis/doc/mkdocs-to-salesforce.js +12 -12
  15. package/lib/commands/hardis/doc/mkdocs-to-salesforce.js.map +1 -1
  16. package/lib/commands/hardis/doc/override-prompts.js +14 -14
  17. package/lib/commands/hardis/doc/override-prompts.js.map +1 -1
  18. package/lib/commands/hardis/doc/plugin/generate.js +4 -4
  19. package/lib/commands/hardis/doc/plugin/generate.js.map +1 -1
  20. package/lib/commands/hardis/doc/project2markdown.js +40 -40
  21. package/lib/commands/hardis/doc/project2markdown.js.map +1 -1
  22. package/lib/commands/hardis/git/pull-requests/extract.js +1 -1
  23. package/lib/commands/hardis/git/pull-requests/extract.js.map +1 -1
  24. package/lib/commands/hardis/lint/access.js +7 -7
  25. package/lib/commands/hardis/lint/access.js.map +1 -1
  26. package/lib/commands/hardis/lint/metadatastatus.js +1 -1
  27. package/lib/commands/hardis/lint/metadatastatus.js.map +1 -1
  28. package/lib/commands/hardis/lint/missingattributes.js +1 -1
  29. package/lib/commands/hardis/lint/missingattributes.js.map +1 -1
  30. package/lib/commands/hardis/lint/unusedmetadatas.js +13 -13
  31. package/lib/commands/hardis/lint/unusedmetadatas.js.map +1 -1
  32. package/lib/commands/hardis/mdapi/deploy.js +3 -3
  33. package/lib/commands/hardis/mdapi/deploy.js.map +1 -1
  34. package/lib/commands/hardis/misc/custom-label-translations.js +18 -18
  35. package/lib/commands/hardis/misc/custom-label-translations.js.map +1 -1
  36. package/lib/commands/hardis/misc/purge-references.js +2 -2
  37. package/lib/commands/hardis/misc/purge-references.js.map +1 -1
  38. package/lib/commands/hardis/misc/servicenow-report.js +8 -8
  39. package/lib/commands/hardis/misc/servicenow-report.js.map +1 -1
  40. package/lib/commands/hardis/misc/toml2csv.js +16 -16
  41. package/lib/commands/hardis/misc/toml2csv.js.map +1 -1
  42. package/lib/commands/hardis/org/community/update.js +5 -5
  43. package/lib/commands/hardis/org/community/update.js.map +1 -1
  44. package/lib/commands/hardis/org/configure/data.js +5 -5
  45. package/lib/commands/hardis/org/configure/data.js.map +1 -1
  46. package/lib/commands/hardis/org/configure/files.js +1 -1
  47. package/lib/commands/hardis/org/configure/files.js.map +1 -1
  48. package/lib/commands/hardis/org/configure/monitoring.js +11 -11
  49. package/lib/commands/hardis/org/configure/monitoring.js.map +1 -1
  50. package/lib/commands/hardis/org/create.js +7 -7
  51. package/lib/commands/hardis/org/create.js.map +1 -1
  52. package/lib/commands/hardis/org/data/delete.js +1 -1
  53. package/lib/commands/hardis/org/data/delete.js.map +1 -1
  54. package/lib/commands/hardis/org/data/export.js +1 -1
  55. package/lib/commands/hardis/org/data/export.js.map +1 -1
  56. package/lib/commands/hardis/org/data/import.js +1 -1
  57. package/lib/commands/hardis/org/data/import.js.map +1 -1
  58. package/lib/commands/hardis/org/diagnose/audittrail.js +14 -14
  59. package/lib/commands/hardis/org/diagnose/audittrail.js.map +1 -1
  60. package/lib/commands/hardis/org/diagnose/instanceupgrade.js +3 -3
  61. package/lib/commands/hardis/org/diagnose/instanceupgrade.js.map +1 -1
  62. package/lib/commands/hardis/org/diagnose/legacyapi.js +17 -17
  63. package/lib/commands/hardis/org/diagnose/legacyapi.js.map +1 -1
  64. package/lib/commands/hardis/org/diagnose/licenses.js +2 -2
  65. package/lib/commands/hardis/org/diagnose/licenses.js.map +1 -1
  66. package/lib/commands/hardis/org/diagnose/releaseupdates.js +3 -3
  67. package/lib/commands/hardis/org/diagnose/releaseupdates.js.map +1 -1
  68. package/lib/commands/hardis/org/diagnose/unused-apex-classes.js +7 -7
  69. package/lib/commands/hardis/org/diagnose/unused-apex-classes.js.map +1 -1
  70. package/lib/commands/hardis/org/diagnose/unused-connected-apps.js +7 -7
  71. package/lib/commands/hardis/org/diagnose/unused-connected-apps.js.map +1 -1
  72. package/lib/commands/hardis/org/diagnose/unusedlicenses.js +10 -10
  73. package/lib/commands/hardis/org/diagnose/unusedlicenses.js.map +1 -1
  74. package/lib/commands/hardis/org/diagnose/unusedusers.js +3 -3
  75. package/lib/commands/hardis/org/diagnose/unusedusers.js.map +1 -1
  76. package/lib/commands/hardis/org/files/export.js +1 -1
  77. package/lib/commands/hardis/org/files/export.js.map +1 -1
  78. package/lib/commands/hardis/org/files/import.js +1 -1
  79. package/lib/commands/hardis/org/files/import.js.map +1 -1
  80. package/lib/commands/hardis/org/fix/listviewmine.js +1 -1
  81. package/lib/commands/hardis/org/fix/listviewmine.js.map +1 -1
  82. package/lib/commands/hardis/org/generate/packagexmlfull.js +3 -3
  83. package/lib/commands/hardis/org/generate/packagexmlfull.js.map +1 -1
  84. package/lib/commands/hardis/org/monitor/all.js +10 -10
  85. package/lib/commands/hardis/org/monitor/all.js.map +1 -1
  86. package/lib/commands/hardis/org/monitor/backup.js +22 -22
  87. package/lib/commands/hardis/org/monitor/backup.js.map +1 -1
  88. package/lib/commands/hardis/org/monitor/limits.js +4 -4
  89. package/lib/commands/hardis/org/monitor/limits.js.map +1 -1
  90. package/lib/commands/hardis/org/multi-org-query.js +8 -8
  91. package/lib/commands/hardis/org/multi-org-query.js.map +1 -1
  92. package/lib/commands/hardis/org/purge/apexlog.js +2 -2
  93. package/lib/commands/hardis/org/purge/apexlog.js.map +1 -1
  94. package/lib/commands/hardis/org/purge/flow.js +14 -14
  95. package/lib/commands/hardis/org/purge/flow.js.map +1 -1
  96. package/lib/commands/hardis/org/retrieve/packageconfig.js +3 -3
  97. package/lib/commands/hardis/org/retrieve/packageconfig.js.map +1 -1
  98. package/lib/commands/hardis/org/retrieve/sources/analytics.js +3 -3
  99. package/lib/commands/hardis/org/retrieve/sources/analytics.js.map +1 -1
  100. package/lib/commands/hardis/org/retrieve/sources/dx.js +11 -11
  101. package/lib/commands/hardis/org/retrieve/sources/dx.js.map +1 -1
  102. package/lib/commands/hardis/org/retrieve/sources/dx2.js +2 -2
  103. package/lib/commands/hardis/org/retrieve/sources/dx2.js.map +1 -1
  104. package/lib/commands/hardis/org/retrieve/sources/metadata.js +16 -16
  105. package/lib/commands/hardis/org/retrieve/sources/metadata.js.map +1 -1
  106. package/lib/commands/hardis/org/retrieve/sources/retrofit.js +11 -11
  107. package/lib/commands/hardis/org/retrieve/sources/retrofit.js.map +1 -1
  108. package/lib/commands/hardis/org/select.js +2 -2
  109. package/lib/commands/hardis/org/select.js.map +1 -1
  110. package/lib/commands/hardis/org/test/apex.js +8 -8
  111. package/lib/commands/hardis/org/test/apex.js.map +1 -1
  112. package/lib/commands/hardis/org/user/activateinvalid.js +7 -7
  113. package/lib/commands/hardis/org/user/activateinvalid.js.map +1 -1
  114. package/lib/commands/hardis/org/user/freeze.js +10 -10
  115. package/lib/commands/hardis/org/user/freeze.js.map +1 -1
  116. package/lib/commands/hardis/org/user/unfreeze.js +10 -10
  117. package/lib/commands/hardis/org/user/unfreeze.js.map +1 -1
  118. package/lib/commands/hardis/package/create.js +1 -1
  119. package/lib/commands/hardis/package/create.js.map +1 -1
  120. package/lib/commands/hardis/package/install.js +1 -1
  121. package/lib/commands/hardis/package/install.js.map +1 -1
  122. package/lib/commands/hardis/package/mergexml.js +1 -1
  123. package/lib/commands/hardis/package/mergexml.js.map +1 -1
  124. package/lib/commands/hardis/package/version/create.js +2 -2
  125. package/lib/commands/hardis/package/version/create.js.map +1 -1
  126. package/lib/commands/hardis/package/version/promote.js +3 -3
  127. package/lib/commands/hardis/package/version/promote.js.map +1 -1
  128. package/lib/commands/hardis/project/audit/apiversion.js +8 -8
  129. package/lib/commands/hardis/project/audit/apiversion.js.map +1 -1
  130. package/lib/commands/hardis/project/audit/callincallout.js +2 -2
  131. package/lib/commands/hardis/project/audit/callincallout.js.map +1 -1
  132. package/lib/commands/hardis/project/audit/duplicatefiles.js +4 -4
  133. package/lib/commands/hardis/project/audit/duplicatefiles.js.map +1 -1
  134. package/lib/commands/hardis/project/audit/remotesites.js +2 -2
  135. package/lib/commands/hardis/project/audit/remotesites.js.map +1 -1
  136. package/lib/commands/hardis/project/clean/emptyitems.js +3 -3
  137. package/lib/commands/hardis/project/clean/emptyitems.js.map +1 -1
  138. package/lib/commands/hardis/project/clean/filter-xml-content.js +14 -14
  139. package/lib/commands/hardis/project/clean/filter-xml-content.js.map +1 -1
  140. package/lib/commands/hardis/project/clean/flowpositions.js +3 -3
  141. package/lib/commands/hardis/project/clean/flowpositions.js.map +1 -1
  142. package/lib/commands/hardis/project/clean/hiddenitems.js +3 -3
  143. package/lib/commands/hardis/project/clean/hiddenitems.js.map +1 -1
  144. package/lib/commands/hardis/project/clean/listviews.js +3 -3
  145. package/lib/commands/hardis/project/clean/listviews.js.map +1 -1
  146. package/lib/commands/hardis/project/clean/manageditems.js +2 -2
  147. package/lib/commands/hardis/project/clean/manageditems.js.map +1 -1
  148. package/lib/commands/hardis/project/clean/minimizeprofiles.js +4 -4
  149. package/lib/commands/hardis/project/clean/minimizeprofiles.js.map +1 -1
  150. package/lib/commands/hardis/project/clean/orgmissingitems.js +5 -5
  151. package/lib/commands/hardis/project/clean/orgmissingitems.js.map +1 -1
  152. package/lib/commands/hardis/project/clean/references.js +8 -8
  153. package/lib/commands/hardis/project/clean/references.js.map +1 -1
  154. package/lib/commands/hardis/project/clean/retrievefolders.js +1 -1
  155. package/lib/commands/hardis/project/clean/retrievefolders.js.map +1 -1
  156. package/lib/commands/hardis/project/clean/sensitive-metadatas.js +3 -3
  157. package/lib/commands/hardis/project/clean/sensitive-metadatas.js.map +1 -1
  158. package/lib/commands/hardis/project/clean/standarditems.js +5 -5
  159. package/lib/commands/hardis/project/clean/standarditems.js.map +1 -1
  160. package/lib/commands/hardis/project/clean/systemdebug.js +2 -2
  161. package/lib/commands/hardis/project/clean/systemdebug.js.map +1 -1
  162. package/lib/commands/hardis/project/clean/xml.js +5 -5
  163. package/lib/commands/hardis/project/clean/xml.js.map +1 -1
  164. package/lib/commands/hardis/project/configure/auth.js +3 -3
  165. package/lib/commands/hardis/project/configure/auth.js.map +1 -1
  166. package/lib/commands/hardis/project/convert/profilestopermsets.js +2 -2
  167. package/lib/commands/hardis/project/convert/profilestopermsets.js.map +1 -1
  168. package/lib/commands/hardis/project/create.js +4 -4
  169. package/lib/commands/hardis/project/create.js.map +1 -1
  170. package/lib/commands/hardis/project/deploy/notify.js +4 -4
  171. package/lib/commands/hardis/project/deploy/notify.js.map +1 -1
  172. package/lib/commands/hardis/project/deploy/smart.js +25 -25
  173. package/lib/commands/hardis/project/deploy/smart.js.map +1 -1
  174. package/lib/commands/hardis/project/deploy/sources/metadata.js +7 -7
  175. package/lib/commands/hardis/project/deploy/sources/metadata.js.map +1 -1
  176. package/lib/commands/hardis/project/fix/profiletabs.js +2 -2
  177. package/lib/commands/hardis/project/fix/profiletabs.js.map +1 -1
  178. package/lib/commands/hardis/project/fix/v53flexipages.js +4 -4
  179. package/lib/commands/hardis/project/fix/v53flexipages.js.map +1 -1
  180. package/lib/commands/hardis/project/generate/bypass.js +20 -20
  181. package/lib/commands/hardis/project/generate/bypass.js.map +1 -1
  182. package/lib/commands/hardis/project/generate/flow-git-diff.js +2 -2
  183. package/lib/commands/hardis/project/generate/flow-git-diff.js.map +1 -1
  184. package/lib/commands/hardis/project/generate/gitdelta.js +3 -3
  185. package/lib/commands/hardis/project/generate/gitdelta.js.map +1 -1
  186. package/lib/commands/hardis/project/lint.js +3 -3
  187. package/lib/commands/hardis/project/lint.js.map +1 -1
  188. package/lib/commands/hardis/project/metadata/findduplicates.js +7 -7
  189. package/lib/commands/hardis/project/metadata/findduplicates.js.map +1 -1
  190. package/lib/commands/hardis/scratch/create.js +14 -14
  191. package/lib/commands/hardis/scratch/create.js.map +1 -1
  192. package/lib/commands/hardis/scratch/delete.js +1 -1
  193. package/lib/commands/hardis/scratch/delete.js.map +1 -1
  194. package/lib/commands/hardis/scratch/pool/create.js +3 -3
  195. package/lib/commands/hardis/scratch/pool/create.js.map +1 -1
  196. package/lib/commands/hardis/scratch/pool/localauth.js +1 -1
  197. package/lib/commands/hardis/scratch/pool/localauth.js.map +1 -1
  198. package/lib/commands/hardis/scratch/pool/refresh.js +13 -13
  199. package/lib/commands/hardis/scratch/pool/refresh.js.map +1 -1
  200. package/lib/commands/hardis/scratch/pool/reset.js +4 -4
  201. package/lib/commands/hardis/scratch/pool/reset.js.map +1 -1
  202. package/lib/commands/hardis/scratch/pool/view.js +4 -4
  203. package/lib/commands/hardis/scratch/pool/view.js.map +1 -1
  204. package/lib/commands/hardis/scratch/pull.js +3 -2
  205. package/lib/commands/hardis/scratch/pull.js.map +1 -1
  206. package/lib/commands/hardis/source/deploy.js +3 -3
  207. package/lib/commands/hardis/source/deploy.js.map +1 -1
  208. package/lib/commands/hardis/source/push.js +3 -3
  209. package/lib/commands/hardis/source/push.js.map +1 -1
  210. package/lib/commands/hardis/source/retrieve.js +3 -3
  211. package/lib/commands/hardis/source/retrieve.js.map +1 -1
  212. package/lib/commands/hardis/work/new.js +16 -16
  213. package/lib/commands/hardis/work/new.js.map +1 -1
  214. package/lib/commands/hardis/work/refresh.js +12 -12
  215. package/lib/commands/hardis/work/refresh.js.map +1 -1
  216. package/lib/commands/hardis/work/resetselection.js +3 -3
  217. package/lib/commands/hardis/work/resetselection.js.map +1 -1
  218. package/lib/commands/hardis/work/save.js +35 -29
  219. package/lib/commands/hardis/work/save.js.map +1 -1
  220. package/lib/common/aiProvider/agentforceProvider.js +5 -5
  221. package/lib/common/aiProvider/agentforceProvider.js.map +1 -1
  222. package/lib/common/aiProvider/index.js +6 -6
  223. package/lib/common/aiProvider/index.js.map +1 -1
  224. package/lib/common/aiProvider/langchainProvider.js +7 -7
  225. package/lib/common/aiProvider/langchainProvider.js.map +1 -1
  226. package/lib/common/aiProvider/openaiProvider.js +5 -5
  227. package/lib/common/aiProvider/openaiProvider.js.map +1 -1
  228. package/lib/common/aiProvider/promptTemplates.js +4 -4
  229. package/lib/common/aiProvider/promptTemplates.js.map +1 -1
  230. package/lib/common/docBuilder/docBuilderPackageXml.js +3 -3
  231. package/lib/common/docBuilder/docBuilderPackageXml.js.map +1 -1
  232. package/lib/common/docBuilder/docBuilderRoles.js +2 -2
  233. package/lib/common/docBuilder/docBuilderRoles.js.map +1 -1
  234. package/lib/common/docBuilder/docBuilderRoot.js +4 -4
  235. package/lib/common/docBuilder/docBuilderRoot.js.map +1 -1
  236. package/lib/common/docBuilder/docUtils.js +7 -7
  237. package/lib/common/docBuilder/docUtils.js.map +1 -1
  238. package/lib/common/docBuilder/objectModelBuilder.js +1 -1
  239. package/lib/common/docBuilder/objectModelBuilder.js.map +1 -1
  240. package/lib/common/gitProvider/azureDevops.js +31 -31
  241. package/lib/common/gitProvider/azureDevops.js.map +1 -1
  242. package/lib/common/gitProvider/bitbucket.js +16 -16
  243. package/lib/common/gitProvider/bitbucket.js.map +1 -1
  244. package/lib/common/gitProvider/gitProviderRoot.js +10 -10
  245. package/lib/common/gitProvider/gitProviderRoot.js.map +1 -1
  246. package/lib/common/gitProvider/github.js +11 -11
  247. package/lib/common/gitProvider/github.js.map +1 -1
  248. package/lib/common/gitProvider/gitlab.js +6 -6
  249. package/lib/common/gitProvider/gitlab.js.map +1 -1
  250. package/lib/common/gitProvider/index.js +14 -14
  251. package/lib/common/gitProvider/index.js.map +1 -1
  252. package/lib/common/gitProvider/utilsMarkdown.js +2 -2
  253. package/lib/common/gitProvider/utilsMarkdown.js.map +1 -1
  254. package/lib/common/keyValueProviders/localtest.js +1 -1
  255. package/lib/common/keyValueProviders/localtest.js.map +1 -1
  256. package/lib/common/keyValueProviders/salesforce.js +4 -4
  257. package/lib/common/keyValueProviders/salesforce.js.map +1 -1
  258. package/lib/common/metadata-utils/index.js +18 -18
  259. package/lib/common/metadata-utils/index.js.map +1 -1
  260. package/lib/common/notifProvider/apiProvider.js +12 -12
  261. package/lib/common/notifProvider/apiProvider.js.map +1 -1
  262. package/lib/common/notifProvider/emailProvider.js +3 -3
  263. package/lib/common/notifProvider/emailProvider.js.map +1 -1
  264. package/lib/common/notifProvider/index.js +6 -6
  265. package/lib/common/notifProvider/index.js.map +1 -1
  266. package/lib/common/notifProvider/notifProviderRoot.js +1 -1
  267. package/lib/common/notifProvider/notifProviderRoot.js.map +1 -1
  268. package/lib/common/notifProvider/slackProvider.js +3 -3
  269. package/lib/common/notifProvider/slackProvider.js.map +1 -1
  270. package/lib/common/notifProvider/teamsProvider.js +2 -2
  271. package/lib/common/notifProvider/teamsProvider.js.map +1 -1
  272. package/lib/common/ticketProvider/azureBoardsProvider.js +8 -8
  273. package/lib/common/ticketProvider/azureBoardsProvider.js.map +1 -1
  274. package/lib/common/ticketProvider/index.js +1 -1
  275. package/lib/common/ticketProvider/index.js.map +1 -1
  276. package/lib/common/ticketProvider/jiraProvider.js +12 -12
  277. package/lib/common/ticketProvider/jiraProvider.js.map +1 -1
  278. package/lib/common/ticketProvider/ticketProviderRoot.js +2 -2
  279. package/lib/common/ticketProvider/ticketProviderRoot.js.map +1 -1
  280. package/lib/common/utils/apiUtils.js +37 -19
  281. package/lib/common/utils/apiUtils.js.map +1 -1
  282. package/lib/common/utils/authUtils.js +9 -9
  283. package/lib/common/utils/authUtils.js.map +1 -1
  284. package/lib/common/utils/classUtils.js +4 -4
  285. package/lib/common/utils/classUtils.js.map +1 -1
  286. package/lib/common/utils/dataUtils.js +8 -8
  287. package/lib/common/utils/dataUtils.js.map +1 -1
  288. package/lib/common/utils/deployTipJson.js +2 -2
  289. package/lib/common/utils/deployTipJson.js.map +1 -1
  290. package/lib/common/utils/deployTips.js +2 -2
  291. package/lib/common/utils/deployTips.js.map +1 -1
  292. package/lib/common/utils/deployUtils.js +89 -89
  293. package/lib/common/utils/deployUtils.js.map +1 -1
  294. package/lib/common/utils/emailUtils.js +3 -3
  295. package/lib/common/utils/emailUtils.js.map +1 -1
  296. package/lib/common/utils/filesUtils.d.ts +5 -1
  297. package/lib/common/utils/filesUtils.js +48 -48
  298. package/lib/common/utils/filesUtils.js.map +1 -1
  299. package/lib/common/utils/gitUtils.js +12 -12
  300. package/lib/common/utils/gitUtils.js.map +1 -1
  301. package/lib/common/utils/index.d.ts +2 -1
  302. package/lib/common/utils/index.js +60 -79
  303. package/lib/common/utils/index.js.map +1 -1
  304. package/lib/common/utils/markdownUtils.js +2 -2
  305. package/lib/common/utils/markdownUtils.js.map +1 -1
  306. package/lib/common/utils/mermaidUtils.js +19 -19
  307. package/lib/common/utils/mermaidUtils.js.map +1 -1
  308. package/lib/common/utils/orgConfigUtils.js +8 -8
  309. package/lib/common/utils/orgConfigUtils.js.map +1 -1
  310. package/lib/common/utils/orgUtils.js +21 -21
  311. package/lib/common/utils/orgUtils.js.map +1 -1
  312. package/lib/common/utils/poolUtils.js +13 -13
  313. package/lib/common/utils/poolUtils.js.map +1 -1
  314. package/lib/common/utils/profileUtils.js +1 -1
  315. package/lib/common/utils/profileUtils.js.map +1 -1
  316. package/lib/common/utils/projectUtils.js +9 -9
  317. package/lib/common/utils/projectUtils.js.map +1 -1
  318. package/lib/common/utils/prompts.js +62 -12
  319. package/lib/common/utils/prompts.js.map +1 -1
  320. package/lib/common/utils/workaroundUtils.js +2 -2
  321. package/lib/common/utils/workaroundUtils.js.map +1 -1
  322. package/lib/common/utils/wrapUtils.js +3 -3
  323. package/lib/common/utils/wrapUtils.js.map +1 -1
  324. package/lib/common/utils/xmlUtils.js +10 -10
  325. package/lib/common/utils/xmlUtils.js.map +1 -1
  326. package/lib/common/websocketClient.d.ts +1 -1
  327. package/lib/common/websocketClient.js +7 -6
  328. package/lib/common/websocketClient.js.map +1 -1
  329. package/lib/config/index.js +3 -3
  330. package/lib/config/index.js.map +1 -1
  331. package/lib/hooks/finally/notify.js +2 -2
  332. package/lib/hooks/finally/notify.js.map +1 -1
  333. package/lib/hooks/prerun/check-dependencies.js +7 -7
  334. package/lib/hooks/prerun/check-dependencies.js.map +1 -1
  335. package/oclif.manifest.json +607 -607
  336. package/package.json +1 -1
@@ -5751,243 +5751,6 @@
5751
5751
  "import:files:org:hardis"
5752
5752
  ]
5753
5753
  },
5754
- "hardis:org:fix:listviewmine": {
5755
- "aliases": [],
5756
- "args": {},
5757
- "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",
5758
- "examples": [
5759
- "$ sf hardis:org:fix:listviewmine",
5760
- "$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
5761
- ],
5762
- "flags": {
5763
- "json": {
5764
- "description": "Format output as json.",
5765
- "helpGroup": "GLOBAL",
5766
- "name": "json",
5767
- "allowNo": false,
5768
- "type": "boolean"
5769
- },
5770
- "flags-dir": {
5771
- "helpGroup": "GLOBAL",
5772
- "name": "flags-dir",
5773
- "summary": "Import flag values from a directory.",
5774
- "hasDynamicHelp": false,
5775
- "multiple": false,
5776
- "type": "option"
5777
- },
5778
- "listviews": {
5779
- "char": "l",
5780
- "description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
5781
- "name": "listviews",
5782
- "hasDynamicHelp": false,
5783
- "multiple": false,
5784
- "type": "option"
5785
- },
5786
- "debug": {
5787
- "char": "d",
5788
- "description": "Activate debug mode (more logs)",
5789
- "name": "debug",
5790
- "allowNo": false,
5791
- "type": "boolean"
5792
- },
5793
- "websocket": {
5794
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
5795
- "name": "websocket",
5796
- "hasDynamicHelp": false,
5797
- "multiple": false,
5798
- "type": "option"
5799
- },
5800
- "skipauth": {
5801
- "description": "Skip authentication check when a default username is required",
5802
- "name": "skipauth",
5803
- "allowNo": false,
5804
- "type": "boolean"
5805
- },
5806
- "target-org": {
5807
- "aliases": [
5808
- "targetusername",
5809
- "u"
5810
- ],
5811
- "char": "o",
5812
- "deprecateAliases": true,
5813
- "name": "target-org",
5814
- "noCacheDefault": true,
5815
- "required": true,
5816
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
5817
- "hasDynamicHelp": true,
5818
- "multiple": false,
5819
- "type": "option"
5820
- }
5821
- },
5822
- "hasDynamicHelp": true,
5823
- "hiddenAliases": [],
5824
- "id": "hardis:org:fix:listviewmine",
5825
- "pluginAlias": "sfdx-hardis",
5826
- "pluginName": "sfdx-hardis",
5827
- "pluginType": "core",
5828
- "strict": true,
5829
- "enableJsonFlag": true,
5830
- "title": "Fix listviews with ",
5831
- "requiresProject": true,
5832
- "isESM": true,
5833
- "relativePath": [
5834
- "lib",
5835
- "commands",
5836
- "hardis",
5837
- "org",
5838
- "fix",
5839
- "listviewmine.js"
5840
- ],
5841
- "aliasPermutations": [],
5842
- "permutations": [
5843
- "hardis:org:fix:listviewmine",
5844
- "org:hardis:fix:listviewmine",
5845
- "org:fix:hardis:listviewmine",
5846
- "org:fix:listviewmine:hardis",
5847
- "hardis:fix:org:listviewmine",
5848
- "fix:hardis:org:listviewmine",
5849
- "fix:org:hardis:listviewmine",
5850
- "fix:org:listviewmine:hardis",
5851
- "hardis:fix:listviewmine:org",
5852
- "fix:hardis:listviewmine:org",
5853
- "fix:listviewmine:hardis:org",
5854
- "fix:listviewmine:org:hardis",
5855
- "hardis:org:listviewmine:fix",
5856
- "org:hardis:listviewmine:fix",
5857
- "org:listviewmine:hardis:fix",
5858
- "org:listviewmine:fix:hardis",
5859
- "hardis:listviewmine:org:fix",
5860
- "listviewmine:hardis:org:fix",
5861
- "listviewmine:org:hardis:fix",
5862
- "listviewmine:org:fix:hardis",
5863
- "hardis:listviewmine:fix:org",
5864
- "listviewmine:hardis:fix:org",
5865
- "listviewmine:fix:hardis:org",
5866
- "listviewmine:fix:org:hardis"
5867
- ]
5868
- },
5869
- "hardis:org:generate:packagexmlfull": {
5870
- "aliases": [],
5871
- "args": {},
5872
- "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## 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",
5873
- "examples": [
5874
- "$ sf hardis:org:generate:packagexmlfull",
5875
- "$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
5876
- "$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
5877
- ],
5878
- "flags": {
5879
- "json": {
5880
- "description": "Format output as json.",
5881
- "helpGroup": "GLOBAL",
5882
- "name": "json",
5883
- "allowNo": false,
5884
- "type": "boolean"
5885
- },
5886
- "flags-dir": {
5887
- "helpGroup": "GLOBAL",
5888
- "name": "flags-dir",
5889
- "summary": "Import flag values from a directory.",
5890
- "hasDynamicHelp": false,
5891
- "multiple": false,
5892
- "type": "option"
5893
- },
5894
- "outputfile": {
5895
- "description": "Output package.xml file",
5896
- "name": "outputfile",
5897
- "hasDynamicHelp": false,
5898
- "multiple": false,
5899
- "type": "option"
5900
- },
5901
- "debug": {
5902
- "char": "d",
5903
- "description": "Activate debug mode (more logs)",
5904
- "name": "debug",
5905
- "allowNo": false,
5906
- "type": "boolean"
5907
- },
5908
- "no-prompt": {
5909
- "char": "n",
5910
- "description": "Do not prompt for org username, use the default one",
5911
- "name": "no-prompt",
5912
- "allowNo": false,
5913
- "type": "boolean"
5914
- },
5915
- "websocket": {
5916
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
5917
- "name": "websocket",
5918
- "hasDynamicHelp": false,
5919
- "multiple": false,
5920
- "type": "option"
5921
- },
5922
- "skipauth": {
5923
- "description": "Skip authentication check when a default username is required",
5924
- "name": "skipauth",
5925
- "allowNo": false,
5926
- "type": "boolean"
5927
- },
5928
- "target-org": {
5929
- "aliases": [
5930
- "targetusername",
5931
- "u"
5932
- ],
5933
- "char": "o",
5934
- "deprecateAliases": true,
5935
- "name": "target-org",
5936
- "noCacheDefault": true,
5937
- "required": true,
5938
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
5939
- "hasDynamicHelp": true,
5940
- "multiple": false,
5941
- "type": "option"
5942
- }
5943
- },
5944
- "hasDynamicHelp": true,
5945
- "hiddenAliases": [],
5946
- "id": "hardis:org:generate:packagexmlfull",
5947
- "pluginAlias": "sfdx-hardis",
5948
- "pluginName": "sfdx-hardis",
5949
- "pluginType": "core",
5950
- "strict": true,
5951
- "enableJsonFlag": true,
5952
- "title": "Generate Full Org package.xml",
5953
- "requiresProject": false,
5954
- "isESM": true,
5955
- "relativePath": [
5956
- "lib",
5957
- "commands",
5958
- "hardis",
5959
- "org",
5960
- "generate",
5961
- "packagexmlfull.js"
5962
- ],
5963
- "aliasPermutations": [],
5964
- "permutations": [
5965
- "hardis:org:generate:packagexmlfull",
5966
- "org:hardis:generate:packagexmlfull",
5967
- "org:generate:hardis:packagexmlfull",
5968
- "org:generate:packagexmlfull:hardis",
5969
- "hardis:generate:org:packagexmlfull",
5970
- "generate:hardis:org:packagexmlfull",
5971
- "generate:org:hardis:packagexmlfull",
5972
- "generate:org:packagexmlfull:hardis",
5973
- "hardis:generate:packagexmlfull:org",
5974
- "generate:hardis:packagexmlfull:org",
5975
- "generate:packagexmlfull:hardis:org",
5976
- "generate:packagexmlfull:org:hardis",
5977
- "hardis:org:packagexmlfull:generate",
5978
- "org:hardis:packagexmlfull:generate",
5979
- "org:packagexmlfull:hardis:generate",
5980
- "org:packagexmlfull:generate:hardis",
5981
- "hardis:packagexmlfull:org:generate",
5982
- "packagexmlfull:hardis:org:generate",
5983
- "packagexmlfull:org:hardis:generate",
5984
- "packagexmlfull:org:generate:hardis",
5985
- "hardis:packagexmlfull:generate:org",
5986
- "packagexmlfull:hardis:generate:org",
5987
- "packagexmlfull:generate:hardis:org",
5988
- "packagexmlfull:generate:org:hardis"
5989
- ]
5990
- },
5991
5754
  "hardis:org:diagnose:audittrail": {
5992
5755
  "aliases": [],
5993
5756
  "args": {},
@@ -7137,12 +6900,13 @@
7137
6900
  "unusedusers:diagnose:org:hardis"
7138
6901
  ]
7139
6902
  },
7140
- "hardis:org:monitor:all": {
6903
+ "hardis:org:fix:listviewmine": {
7141
6904
  "aliases": [],
7142
6905
  "args": {},
7143
- "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",
6906
+ "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",
7144
6907
  "examples": [
7145
- "$ sf hardis:org:monitor:all"
6908
+ "$ sf hardis:org:fix:listviewmine",
6909
+ "$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
7146
6910
  ],
7147
6911
  "flags": {
7148
6912
  "json": {
@@ -7160,6 +6924,14 @@
7160
6924
  "multiple": false,
7161
6925
  "type": "option"
7162
6926
  },
6927
+ "listviews": {
6928
+ "char": "l",
6929
+ "description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
6930
+ "name": "listviews",
6931
+ "hasDynamicHelp": false,
6932
+ "multiple": false,
6933
+ "type": "option"
6934
+ },
7163
6935
  "debug": {
7164
6936
  "char": "d",
7165
6937
  "description": "Activate debug mode (more logs)",
@@ -7198,14 +6970,242 @@
7198
6970
  },
7199
6971
  "hasDynamicHelp": true,
7200
6972
  "hiddenAliases": [],
7201
- "id": "hardis:org:monitor:all",
6973
+ "id": "hardis:org:fix:listviewmine",
7202
6974
  "pluginAlias": "sfdx-hardis",
7203
6975
  "pluginName": "sfdx-hardis",
7204
6976
  "pluginType": "core",
7205
6977
  "strict": true,
7206
6978
  "enableJsonFlag": true,
7207
- "title": "Monitor org",
7208
- "monitoringCommandsDefault": [
6979
+ "title": "Fix listviews with ",
6980
+ "requiresProject": true,
6981
+ "isESM": true,
6982
+ "relativePath": [
6983
+ "lib",
6984
+ "commands",
6985
+ "hardis",
6986
+ "org",
6987
+ "fix",
6988
+ "listviewmine.js"
6989
+ ],
6990
+ "aliasPermutations": [],
6991
+ "permutations": [
6992
+ "hardis:org:fix:listviewmine",
6993
+ "org:hardis:fix:listviewmine",
6994
+ "org:fix:hardis:listviewmine",
6995
+ "org:fix:listviewmine:hardis",
6996
+ "hardis:fix:org:listviewmine",
6997
+ "fix:hardis:org:listviewmine",
6998
+ "fix:org:hardis:listviewmine",
6999
+ "fix:org:listviewmine:hardis",
7000
+ "hardis:fix:listviewmine:org",
7001
+ "fix:hardis:listviewmine:org",
7002
+ "fix:listviewmine:hardis:org",
7003
+ "fix:listviewmine:org:hardis",
7004
+ "hardis:org:listviewmine:fix",
7005
+ "org:hardis:listviewmine:fix",
7006
+ "org:listviewmine:hardis:fix",
7007
+ "org:listviewmine:fix:hardis",
7008
+ "hardis:listviewmine:org:fix",
7009
+ "listviewmine:hardis:org:fix",
7010
+ "listviewmine:org:hardis:fix",
7011
+ "listviewmine:org:fix:hardis",
7012
+ "hardis:listviewmine:fix:org",
7013
+ "listviewmine:hardis:fix:org",
7014
+ "listviewmine:fix:hardis:org",
7015
+ "listviewmine:fix:org:hardis"
7016
+ ]
7017
+ },
7018
+ "hardis:org:generate:packagexmlfull": {
7019
+ "aliases": [],
7020
+ "args": {},
7021
+ "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## 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",
7022
+ "examples": [
7023
+ "$ sf hardis:org:generate:packagexmlfull",
7024
+ "$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
7025
+ "$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
7026
+ ],
7027
+ "flags": {
7028
+ "json": {
7029
+ "description": "Format output as json.",
7030
+ "helpGroup": "GLOBAL",
7031
+ "name": "json",
7032
+ "allowNo": false,
7033
+ "type": "boolean"
7034
+ },
7035
+ "flags-dir": {
7036
+ "helpGroup": "GLOBAL",
7037
+ "name": "flags-dir",
7038
+ "summary": "Import flag values from a directory.",
7039
+ "hasDynamicHelp": false,
7040
+ "multiple": false,
7041
+ "type": "option"
7042
+ },
7043
+ "outputfile": {
7044
+ "description": "Output package.xml file",
7045
+ "name": "outputfile",
7046
+ "hasDynamicHelp": false,
7047
+ "multiple": false,
7048
+ "type": "option"
7049
+ },
7050
+ "debug": {
7051
+ "char": "d",
7052
+ "description": "Activate debug mode (more logs)",
7053
+ "name": "debug",
7054
+ "allowNo": false,
7055
+ "type": "boolean"
7056
+ },
7057
+ "no-prompt": {
7058
+ "char": "n",
7059
+ "description": "Do not prompt for org username, use the default one",
7060
+ "name": "no-prompt",
7061
+ "allowNo": false,
7062
+ "type": "boolean"
7063
+ },
7064
+ "websocket": {
7065
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
7066
+ "name": "websocket",
7067
+ "hasDynamicHelp": false,
7068
+ "multiple": false,
7069
+ "type": "option"
7070
+ },
7071
+ "skipauth": {
7072
+ "description": "Skip authentication check when a default username is required",
7073
+ "name": "skipauth",
7074
+ "allowNo": false,
7075
+ "type": "boolean"
7076
+ },
7077
+ "target-org": {
7078
+ "aliases": [
7079
+ "targetusername",
7080
+ "u"
7081
+ ],
7082
+ "char": "o",
7083
+ "deprecateAliases": true,
7084
+ "name": "target-org",
7085
+ "noCacheDefault": true,
7086
+ "required": true,
7087
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
7088
+ "hasDynamicHelp": true,
7089
+ "multiple": false,
7090
+ "type": "option"
7091
+ }
7092
+ },
7093
+ "hasDynamicHelp": true,
7094
+ "hiddenAliases": [],
7095
+ "id": "hardis:org:generate:packagexmlfull",
7096
+ "pluginAlias": "sfdx-hardis",
7097
+ "pluginName": "sfdx-hardis",
7098
+ "pluginType": "core",
7099
+ "strict": true,
7100
+ "enableJsonFlag": true,
7101
+ "title": "Generate Full Org package.xml",
7102
+ "requiresProject": false,
7103
+ "isESM": true,
7104
+ "relativePath": [
7105
+ "lib",
7106
+ "commands",
7107
+ "hardis",
7108
+ "org",
7109
+ "generate",
7110
+ "packagexmlfull.js"
7111
+ ],
7112
+ "aliasPermutations": [],
7113
+ "permutations": [
7114
+ "hardis:org:generate:packagexmlfull",
7115
+ "org:hardis:generate:packagexmlfull",
7116
+ "org:generate:hardis:packagexmlfull",
7117
+ "org:generate:packagexmlfull:hardis",
7118
+ "hardis:generate:org:packagexmlfull",
7119
+ "generate:hardis:org:packagexmlfull",
7120
+ "generate:org:hardis:packagexmlfull",
7121
+ "generate:org:packagexmlfull:hardis",
7122
+ "hardis:generate:packagexmlfull:org",
7123
+ "generate:hardis:packagexmlfull:org",
7124
+ "generate:packagexmlfull:hardis:org",
7125
+ "generate:packagexmlfull:org:hardis",
7126
+ "hardis:org:packagexmlfull:generate",
7127
+ "org:hardis:packagexmlfull:generate",
7128
+ "org:packagexmlfull:hardis:generate",
7129
+ "org:packagexmlfull:generate:hardis",
7130
+ "hardis:packagexmlfull:org:generate",
7131
+ "packagexmlfull:hardis:org:generate",
7132
+ "packagexmlfull:org:hardis:generate",
7133
+ "packagexmlfull:org:generate:hardis",
7134
+ "hardis:packagexmlfull:generate:org",
7135
+ "packagexmlfull:hardis:generate:org",
7136
+ "packagexmlfull:generate:hardis:org",
7137
+ "packagexmlfull:generate:org:hardis"
7138
+ ]
7139
+ },
7140
+ "hardis:org:monitor:all": {
7141
+ "aliases": [],
7142
+ "args": {},
7143
+ "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",
7144
+ "examples": [
7145
+ "$ sf hardis:org:monitor:all"
7146
+ ],
7147
+ "flags": {
7148
+ "json": {
7149
+ "description": "Format output as json.",
7150
+ "helpGroup": "GLOBAL",
7151
+ "name": "json",
7152
+ "allowNo": false,
7153
+ "type": "boolean"
7154
+ },
7155
+ "flags-dir": {
7156
+ "helpGroup": "GLOBAL",
7157
+ "name": "flags-dir",
7158
+ "summary": "Import flag values from a directory.",
7159
+ "hasDynamicHelp": false,
7160
+ "multiple": false,
7161
+ "type": "option"
7162
+ },
7163
+ "debug": {
7164
+ "char": "d",
7165
+ "description": "Activate debug mode (more logs)",
7166
+ "name": "debug",
7167
+ "allowNo": false,
7168
+ "type": "boolean"
7169
+ },
7170
+ "websocket": {
7171
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
7172
+ "name": "websocket",
7173
+ "hasDynamicHelp": false,
7174
+ "multiple": false,
7175
+ "type": "option"
7176
+ },
7177
+ "skipauth": {
7178
+ "description": "Skip authentication check when a default username is required",
7179
+ "name": "skipauth",
7180
+ "allowNo": false,
7181
+ "type": "boolean"
7182
+ },
7183
+ "target-org": {
7184
+ "aliases": [
7185
+ "targetusername",
7186
+ "u"
7187
+ ],
7188
+ "char": "o",
7189
+ "deprecateAliases": true,
7190
+ "name": "target-org",
7191
+ "noCacheDefault": true,
7192
+ "required": true,
7193
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
7194
+ "hasDynamicHelp": true,
7195
+ "multiple": false,
7196
+ "type": "option"
7197
+ }
7198
+ },
7199
+ "hasDynamicHelp": true,
7200
+ "hiddenAliases": [],
7201
+ "id": "hardis:org:monitor:all",
7202
+ "pluginAlias": "sfdx-hardis",
7203
+ "pluginName": "sfdx-hardis",
7204
+ "pluginType": "core",
7205
+ "strict": true,
7206
+ "enableJsonFlag": true,
7207
+ "title": "Monitor org",
7208
+ "monitoringCommandsDefault": [
7209
7209
  {
7210
7210
  "key": "AUDIT_TRAIL",
7211
7211
  "title": "Detect suspect setup actions in major org",
@@ -7612,113 +7612,6 @@
7612
7612
  "limits:monitor:org:hardis"
7613
7613
  ]
7614
7614
  },
7615
- "hardis:org:retrieve:packageconfig": {
7616
- "aliases": [],
7617
- "args": {},
7618
- "description": "\n**Retrieves the installed package configuration from a Salesforce org and optionally updates the local project configuration.**\n\nThis command is useful for maintaining an accurate record of installed packages within your Salesforce project, which is crucial for managing dependencies and ensuring consistent deployments across environments.\n\nKey functionalities:\n\n- **Package Listing:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a list of all installed packages.\n- **Configuration Update:** Offers the option to update your local project's configuration with the retrieved list of installed packages. This can be beneficial for automating package installations during environment setup or CI/CD processes.\n\n## Technical explanations\n\nThe command's technical implementation involves:\n\n- **Org Connection:** It establishes a connection to the target Salesforce org using the provided or prompted username.\n- **Metadata Retrieval:** It utilizes `MetadataUtils.listInstalledPackages` to query the Salesforce org and obtain details about the installed packages.\n- **Interactive Prompt:** It uses the `prompts` library to ask the user whether they want to update their local project configuration with the retrieved package list.\n- **Configuration Management:** If the user confirms, it calls `managePackageConfig` to update the project's configuration file (likely `.sfdx-hardis.yml`) with the new package information.\n- **User Feedback:** Provides clear messages to the user about the success of the package retrieval and configuration update.\n",
7619
- "examples": [
7620
- "$ sf hardis:org:retrieve:packageconfig",
7621
- "sf hardis:org:retrieve:packageconfig -u myOrg"
7622
- ],
7623
- "flags": {
7624
- "json": {
7625
- "description": "Format output as json.",
7626
- "helpGroup": "GLOBAL",
7627
- "name": "json",
7628
- "allowNo": false,
7629
- "type": "boolean"
7630
- },
7631
- "flags-dir": {
7632
- "helpGroup": "GLOBAL",
7633
- "name": "flags-dir",
7634
- "summary": "Import flag values from a directory.",
7635
- "hasDynamicHelp": false,
7636
- "multiple": false,
7637
- "type": "option"
7638
- },
7639
- "debug": {
7640
- "char": "d",
7641
- "description": "Activate debug mode (more logs)",
7642
- "name": "debug",
7643
- "allowNo": false,
7644
- "type": "boolean"
7645
- },
7646
- "websocket": {
7647
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
7648
- "name": "websocket",
7649
- "hasDynamicHelp": false,
7650
- "multiple": false,
7651
- "type": "option"
7652
- },
7653
- "skipauth": {
7654
- "description": "Skip authentication check when a default username is required",
7655
- "name": "skipauth",
7656
- "allowNo": false,
7657
- "type": "boolean"
7658
- },
7659
- "target-org": {
7660
- "aliases": [
7661
- "targetusername",
7662
- "u"
7663
- ],
7664
- "char": "o",
7665
- "deprecateAliases": true,
7666
- "name": "target-org",
7667
- "noCacheDefault": true,
7668
- "required": true,
7669
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
7670
- "hasDynamicHelp": true,
7671
- "multiple": false,
7672
- "type": "option"
7673
- }
7674
- },
7675
- "hasDynamicHelp": true,
7676
- "hiddenAliases": [],
7677
- "id": "hardis:org:retrieve:packageconfig",
7678
- "pluginAlias": "sfdx-hardis",
7679
- "pluginName": "sfdx-hardis",
7680
- "pluginType": "core",
7681
- "strict": true,
7682
- "enableJsonFlag": true,
7683
- "title": "Retrieve package configuration from an org",
7684
- "requiresProject": false,
7685
- "isESM": true,
7686
- "relativePath": [
7687
- "lib",
7688
- "commands",
7689
- "hardis",
7690
- "org",
7691
- "retrieve",
7692
- "packageconfig.js"
7693
- ],
7694
- "aliasPermutations": [],
7695
- "permutations": [
7696
- "hardis:org:retrieve:packageconfig",
7697
- "org:hardis:retrieve:packageconfig",
7698
- "org:retrieve:hardis:packageconfig",
7699
- "org:retrieve:packageconfig:hardis",
7700
- "hardis:retrieve:org:packageconfig",
7701
- "retrieve:hardis:org:packageconfig",
7702
- "retrieve:org:hardis:packageconfig",
7703
- "retrieve:org:packageconfig:hardis",
7704
- "hardis:retrieve:packageconfig:org",
7705
- "retrieve:hardis:packageconfig:org",
7706
- "retrieve:packageconfig:hardis:org",
7707
- "retrieve:packageconfig:org:hardis",
7708
- "hardis:org:packageconfig:retrieve",
7709
- "org:hardis:packageconfig:retrieve",
7710
- "org:packageconfig:hardis:retrieve",
7711
- "org:packageconfig:retrieve:hardis",
7712
- "hardis:packageconfig:org:retrieve",
7713
- "packageconfig:hardis:org:retrieve",
7714
- "packageconfig:org:hardis:retrieve",
7715
- "packageconfig:org:retrieve:hardis",
7716
- "hardis:packageconfig:retrieve:org",
7717
- "packageconfig:hardis:retrieve:org",
7718
- "packageconfig:retrieve:hardis:org",
7719
- "packageconfig:retrieve:org:hardis"
7720
- ]
7721
- },
7722
7615
  "hardis:org:purge:apexlog": {
7723
7616
  "aliases": [],
7724
7617
  "args": {},
@@ -7987,6 +7880,113 @@
7987
7880
  "flow:purge:org:hardis"
7988
7881
  ]
7989
7882
  },
7883
+ "hardis:org:retrieve:packageconfig": {
7884
+ "aliases": [],
7885
+ "args": {},
7886
+ "description": "\n**Retrieves the installed package configuration from a Salesforce org and optionally updates the local project configuration.**\n\nThis command is useful for maintaining an accurate record of installed packages within your Salesforce project, which is crucial for managing dependencies and ensuring consistent deployments across environments.\n\nKey functionalities:\n\n- **Package Listing:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a list of all installed packages.\n- **Configuration Update:** Offers the option to update your local project's configuration with the retrieved list of installed packages. This can be beneficial for automating package installations during environment setup or CI/CD processes.\n\n## Technical explanations\n\nThe command's technical implementation involves:\n\n- **Org Connection:** It establishes a connection to the target Salesforce org using the provided or prompted username.\n- **Metadata Retrieval:** It utilizes `MetadataUtils.listInstalledPackages` to query the Salesforce org and obtain details about the installed packages.\n- **Interactive Prompt:** It uses the `prompts` library to ask the user whether they want to update their local project configuration with the retrieved package list.\n- **Configuration Management:** If the user confirms, it calls `managePackageConfig` to update the project's configuration file (likely `.sfdx-hardis.yml`) with the new package information.\n- **User Feedback:** Provides clear messages to the user about the success of the package retrieval and configuration update.\n",
7887
+ "examples": [
7888
+ "$ sf hardis:org:retrieve:packageconfig",
7889
+ "sf hardis:org:retrieve:packageconfig -u myOrg"
7890
+ ],
7891
+ "flags": {
7892
+ "json": {
7893
+ "description": "Format output as json.",
7894
+ "helpGroup": "GLOBAL",
7895
+ "name": "json",
7896
+ "allowNo": false,
7897
+ "type": "boolean"
7898
+ },
7899
+ "flags-dir": {
7900
+ "helpGroup": "GLOBAL",
7901
+ "name": "flags-dir",
7902
+ "summary": "Import flag values from a directory.",
7903
+ "hasDynamicHelp": false,
7904
+ "multiple": false,
7905
+ "type": "option"
7906
+ },
7907
+ "debug": {
7908
+ "char": "d",
7909
+ "description": "Activate debug mode (more logs)",
7910
+ "name": "debug",
7911
+ "allowNo": false,
7912
+ "type": "boolean"
7913
+ },
7914
+ "websocket": {
7915
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
7916
+ "name": "websocket",
7917
+ "hasDynamicHelp": false,
7918
+ "multiple": false,
7919
+ "type": "option"
7920
+ },
7921
+ "skipauth": {
7922
+ "description": "Skip authentication check when a default username is required",
7923
+ "name": "skipauth",
7924
+ "allowNo": false,
7925
+ "type": "boolean"
7926
+ },
7927
+ "target-org": {
7928
+ "aliases": [
7929
+ "targetusername",
7930
+ "u"
7931
+ ],
7932
+ "char": "o",
7933
+ "deprecateAliases": true,
7934
+ "name": "target-org",
7935
+ "noCacheDefault": true,
7936
+ "required": true,
7937
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
7938
+ "hasDynamicHelp": true,
7939
+ "multiple": false,
7940
+ "type": "option"
7941
+ }
7942
+ },
7943
+ "hasDynamicHelp": true,
7944
+ "hiddenAliases": [],
7945
+ "id": "hardis:org:retrieve:packageconfig",
7946
+ "pluginAlias": "sfdx-hardis",
7947
+ "pluginName": "sfdx-hardis",
7948
+ "pluginType": "core",
7949
+ "strict": true,
7950
+ "enableJsonFlag": true,
7951
+ "title": "Retrieve package configuration from an org",
7952
+ "requiresProject": false,
7953
+ "isESM": true,
7954
+ "relativePath": [
7955
+ "lib",
7956
+ "commands",
7957
+ "hardis",
7958
+ "org",
7959
+ "retrieve",
7960
+ "packageconfig.js"
7961
+ ],
7962
+ "aliasPermutations": [],
7963
+ "permutations": [
7964
+ "hardis:org:retrieve:packageconfig",
7965
+ "org:hardis:retrieve:packageconfig",
7966
+ "org:retrieve:hardis:packageconfig",
7967
+ "org:retrieve:packageconfig:hardis",
7968
+ "hardis:retrieve:org:packageconfig",
7969
+ "retrieve:hardis:org:packageconfig",
7970
+ "retrieve:org:hardis:packageconfig",
7971
+ "retrieve:org:packageconfig:hardis",
7972
+ "hardis:retrieve:packageconfig:org",
7973
+ "retrieve:hardis:packageconfig:org",
7974
+ "retrieve:packageconfig:hardis:org",
7975
+ "retrieve:packageconfig:org:hardis",
7976
+ "hardis:org:packageconfig:retrieve",
7977
+ "org:hardis:packageconfig:retrieve",
7978
+ "org:packageconfig:hardis:retrieve",
7979
+ "org:packageconfig:retrieve:hardis",
7980
+ "hardis:packageconfig:org:retrieve",
7981
+ "packageconfig:hardis:org:retrieve",
7982
+ "packageconfig:org:hardis:retrieve",
7983
+ "packageconfig:org:retrieve:hardis",
7984
+ "hardis:packageconfig:retrieve:org",
7985
+ "packageconfig:hardis:retrieve:org",
7986
+ "packageconfig:retrieve:hardis:org",
7987
+ "packageconfig:retrieve:org:hardis"
7988
+ ]
7989
+ },
7990
7990
  "hardis:org:test:apex": {
7991
7991
  "aliases": [],
7992
7992
  "args": {},
@@ -9248,262 +9248,30 @@
9248
9248
  ],
9249
9249
  "aliasPermutations": [],
9250
9250
  "permutations": [
9251
- "hardis:project:audit:remotesites",
9252
- "project:hardis:audit:remotesites",
9253
- "project:audit:hardis:remotesites",
9254
- "project:audit:remotesites:hardis",
9255
- "hardis:audit:project:remotesites",
9256
- "audit:hardis:project:remotesites",
9257
- "audit:project:hardis:remotesites",
9258
- "audit:project:remotesites:hardis",
9259
- "hardis:audit:remotesites:project",
9260
- "audit:hardis:remotesites:project",
9261
- "audit:remotesites:hardis:project",
9262
- "audit:remotesites:project:hardis",
9263
- "hardis:project:remotesites:audit",
9264
- "project:hardis:remotesites:audit",
9265
- "project:remotesites:hardis:audit",
9266
- "project:remotesites:audit:hardis",
9267
- "hardis:remotesites:project:audit",
9268
- "remotesites:hardis:project:audit",
9269
- "remotesites:project:hardis:audit",
9270
- "remotesites:project:audit:hardis",
9271
- "hardis:remotesites:audit:project",
9272
- "remotesites:hardis:audit:project",
9273
- "remotesites:audit:hardis:project",
9274
- "remotesites:audit:project:hardis"
9275
- ]
9276
- },
9277
- "hardis:project:configure:auth": {
9278
- "aliases": [],
9279
- "args": {},
9280
- "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",
9281
- "examples": [
9282
- "$ sf hardis:project:configure:auth"
9283
- ],
9284
- "flags": {
9285
- "json": {
9286
- "description": "Format output as json.",
9287
- "helpGroup": "GLOBAL",
9288
- "name": "json",
9289
- "allowNo": false,
9290
- "type": "boolean"
9291
- },
9292
- "flags-dir": {
9293
- "helpGroup": "GLOBAL",
9294
- "name": "flags-dir",
9295
- "summary": "Import flag values from a directory.",
9296
- "hasDynamicHelp": false,
9297
- "multiple": false,
9298
- "type": "option"
9299
- },
9300
- "devhub": {
9301
- "char": "b",
9302
- "description": "Configure project DevHub",
9303
- "name": "devhub",
9304
- "allowNo": false,
9305
- "type": "boolean"
9306
- },
9307
- "debug": {
9308
- "char": "d",
9309
- "description": "Activate debug mode (more logs)",
9310
- "name": "debug",
9311
- "allowNo": false,
9312
- "type": "boolean"
9313
- },
9314
- "websocket": {
9315
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9316
- "name": "websocket",
9317
- "hasDynamicHelp": false,
9318
- "multiple": false,
9319
- "type": "option"
9320
- },
9321
- "skipauth": {
9322
- "description": "Skip authentication check when a default username is required",
9323
- "name": "skipauth",
9324
- "allowNo": false,
9325
- "type": "boolean"
9326
- },
9327
- "target-org": {
9328
- "aliases": [
9329
- "targetusername",
9330
- "u"
9331
- ],
9332
- "char": "o",
9333
- "deprecateAliases": true,
9334
- "name": "target-org",
9335
- "noCacheDefault": true,
9336
- "summary": "Username or alias of the target org.",
9337
- "hasDynamicHelp": true,
9338
- "multiple": false,
9339
- "type": "option"
9340
- },
9341
- "target-dev-hub": {
9342
- "aliases": [
9343
- "targetdevhubusername"
9344
- ],
9345
- "char": "v",
9346
- "deprecateAliases": true,
9347
- "name": "target-dev-hub",
9348
- "noCacheDefault": true,
9349
- "required": false,
9350
- "summary": "Username or alias of the Dev Hub org.",
9351
- "hasDynamicHelp": true,
9352
- "multiple": false,
9353
- "type": "option"
9354
- }
9355
- },
9356
- "hasDynamicHelp": true,
9357
- "hiddenAliases": [],
9358
- "id": "hardis:project:configure:auth",
9359
- "pluginAlias": "sfdx-hardis",
9360
- "pluginName": "sfdx-hardis",
9361
- "pluginType": "core",
9362
- "strict": true,
9363
- "enableJsonFlag": true,
9364
- "title": "Configure authentication",
9365
- "requiresProject": false,
9366
- "requiresDependencies": [
9367
- "openssl"
9368
- ],
9369
- "isESM": true,
9370
- "relativePath": [
9371
- "lib",
9372
- "commands",
9373
- "hardis",
9374
- "project",
9375
- "configure",
9376
- "auth.js"
9377
- ],
9378
- "aliasPermutations": [],
9379
- "permutations": [
9380
- "hardis:project:configure:auth",
9381
- "project:hardis:configure:auth",
9382
- "project:configure:hardis:auth",
9383
- "project:configure:auth:hardis",
9384
- "hardis:configure:project:auth",
9385
- "configure:hardis:project:auth",
9386
- "configure:project:hardis:auth",
9387
- "configure:project:auth:hardis",
9388
- "hardis:configure:auth:project",
9389
- "configure:hardis:auth:project",
9390
- "configure:auth:hardis:project",
9391
- "configure:auth:project:hardis",
9392
- "hardis:project:auth:configure",
9393
- "project:hardis:auth:configure",
9394
- "project:auth:hardis:configure",
9395
- "project:auth:configure:hardis",
9396
- "hardis:auth:project:configure",
9397
- "auth:hardis:project:configure",
9398
- "auth:project:hardis:configure",
9399
- "auth:project:configure:hardis",
9400
- "hardis:auth:configure:project",
9401
- "auth:hardis:configure:project",
9402
- "auth:configure:hardis:project",
9403
- "auth:configure:project:hardis"
9404
- ]
9405
- },
9406
- "hardis:project:convert:profilestopermsets": {
9407
- "aliases": [],
9408
- "args": {},
9409
- "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",
9410
- "examples": [
9411
- "$ sf hardis:project:convert:profilestopermsets"
9412
- ],
9413
- "flags": {
9414
- "json": {
9415
- "description": "Format output as json.",
9416
- "helpGroup": "GLOBAL",
9417
- "name": "json",
9418
- "allowNo": false,
9419
- "type": "boolean"
9420
- },
9421
- "flags-dir": {
9422
- "helpGroup": "GLOBAL",
9423
- "name": "flags-dir",
9424
- "summary": "Import flag values from a directory.",
9425
- "hasDynamicHelp": false,
9426
- "multiple": false,
9427
- "type": "option"
9428
- },
9429
- "except": {
9430
- "char": "e",
9431
- "description": "List of filters",
9432
- "name": "except",
9433
- "default": [],
9434
- "hasDynamicHelp": false,
9435
- "multiple": true,
9436
- "type": "option"
9437
- },
9438
- "debug": {
9439
- "char": "d",
9440
- "description": "Activate debug mode (more logs)",
9441
- "name": "debug",
9442
- "allowNo": false,
9443
- "type": "boolean"
9444
- },
9445
- "websocket": {
9446
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9447
- "name": "websocket",
9448
- "hasDynamicHelp": false,
9449
- "multiple": false,
9450
- "type": "option"
9451
- },
9452
- "skipauth": {
9453
- "description": "Skip authentication check when a default username is required",
9454
- "name": "skipauth",
9455
- "allowNo": false,
9456
- "type": "boolean"
9457
- }
9458
- },
9459
- "hasDynamicHelp": false,
9460
- "hiddenAliases": [],
9461
- "id": "hardis:project:convert:profilestopermsets",
9462
- "pluginAlias": "sfdx-hardis",
9463
- "pluginName": "sfdx-hardis",
9464
- "pluginType": "core",
9465
- "strict": true,
9466
- "enableJsonFlag": true,
9467
- "title": "Convert Profiles into Permission Sets",
9468
- "requiresProject": true,
9469
- "requiresSfdxPlugins": [
9470
- "shane-sfdx-plugins"
9471
- ],
9472
- "isESM": true,
9473
- "relativePath": [
9474
- "lib",
9475
- "commands",
9476
- "hardis",
9477
- "project",
9478
- "convert",
9479
- "profilestopermsets.js"
9480
- ],
9481
- "aliasPermutations": [],
9482
- "permutations": [
9483
- "hardis:project:convert:profilestopermsets",
9484
- "project:hardis:convert:profilestopermsets",
9485
- "project:convert:hardis:profilestopermsets",
9486
- "project:convert:profilestopermsets:hardis",
9487
- "hardis:convert:project:profilestopermsets",
9488
- "convert:hardis:project:profilestopermsets",
9489
- "convert:project:hardis:profilestopermsets",
9490
- "convert:project:profilestopermsets:hardis",
9491
- "hardis:convert:profilestopermsets:project",
9492
- "convert:hardis:profilestopermsets:project",
9493
- "convert:profilestopermsets:hardis:project",
9494
- "convert:profilestopermsets:project:hardis",
9495
- "hardis:project:profilestopermsets:convert",
9496
- "project:hardis:profilestopermsets:convert",
9497
- "project:profilestopermsets:hardis:convert",
9498
- "project:profilestopermsets:convert:hardis",
9499
- "hardis:profilestopermsets:project:convert",
9500
- "profilestopermsets:hardis:project:convert",
9501
- "profilestopermsets:project:hardis:convert",
9502
- "profilestopermsets:project:convert:hardis",
9503
- "hardis:profilestopermsets:convert:project",
9504
- "profilestopermsets:hardis:convert:project",
9505
- "profilestopermsets:convert:hardis:project",
9506
- "profilestopermsets:convert:project:hardis"
9251
+ "hardis:project:audit:remotesites",
9252
+ "project:hardis:audit:remotesites",
9253
+ "project:audit:hardis:remotesites",
9254
+ "project:audit:remotesites:hardis",
9255
+ "hardis:audit:project:remotesites",
9256
+ "audit:hardis:project:remotesites",
9257
+ "audit:project:hardis:remotesites",
9258
+ "audit:project:remotesites:hardis",
9259
+ "hardis:audit:remotesites:project",
9260
+ "audit:hardis:remotesites:project",
9261
+ "audit:remotesites:hardis:project",
9262
+ "audit:remotesites:project:hardis",
9263
+ "hardis:project:remotesites:audit",
9264
+ "project:hardis:remotesites:audit",
9265
+ "project:remotesites:hardis:audit",
9266
+ "project:remotesites:audit:hardis",
9267
+ "hardis:remotesites:project:audit",
9268
+ "remotesites:hardis:project:audit",
9269
+ "remotesites:project:hardis:audit",
9270
+ "remotesites:project:audit:hardis",
9271
+ "hardis:remotesites:audit:project",
9272
+ "remotesites:hardis:audit:project",
9273
+ "remotesites:audit:hardis:project",
9274
+ "remotesites:audit:project:hardis"
9507
9275
  ]
9508
9276
  },
9509
9277
  "hardis:project:clean:emptyitems": {
@@ -10991,6 +10759,238 @@
10991
10759
  "xml:clean:project:hardis"
10992
10760
  ]
10993
10761
  },
10762
+ "hardis:project:convert:profilestopermsets": {
10763
+ "aliases": [],
10764
+ "args": {},
10765
+ "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",
10766
+ "examples": [
10767
+ "$ sf hardis:project:convert:profilestopermsets"
10768
+ ],
10769
+ "flags": {
10770
+ "json": {
10771
+ "description": "Format output as json.",
10772
+ "helpGroup": "GLOBAL",
10773
+ "name": "json",
10774
+ "allowNo": false,
10775
+ "type": "boolean"
10776
+ },
10777
+ "flags-dir": {
10778
+ "helpGroup": "GLOBAL",
10779
+ "name": "flags-dir",
10780
+ "summary": "Import flag values from a directory.",
10781
+ "hasDynamicHelp": false,
10782
+ "multiple": false,
10783
+ "type": "option"
10784
+ },
10785
+ "except": {
10786
+ "char": "e",
10787
+ "description": "List of filters",
10788
+ "name": "except",
10789
+ "default": [],
10790
+ "hasDynamicHelp": false,
10791
+ "multiple": true,
10792
+ "type": "option"
10793
+ },
10794
+ "debug": {
10795
+ "char": "d",
10796
+ "description": "Activate debug mode (more logs)",
10797
+ "name": "debug",
10798
+ "allowNo": false,
10799
+ "type": "boolean"
10800
+ },
10801
+ "websocket": {
10802
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
10803
+ "name": "websocket",
10804
+ "hasDynamicHelp": false,
10805
+ "multiple": false,
10806
+ "type": "option"
10807
+ },
10808
+ "skipauth": {
10809
+ "description": "Skip authentication check when a default username is required",
10810
+ "name": "skipauth",
10811
+ "allowNo": false,
10812
+ "type": "boolean"
10813
+ }
10814
+ },
10815
+ "hasDynamicHelp": false,
10816
+ "hiddenAliases": [],
10817
+ "id": "hardis:project:convert:profilestopermsets",
10818
+ "pluginAlias": "sfdx-hardis",
10819
+ "pluginName": "sfdx-hardis",
10820
+ "pluginType": "core",
10821
+ "strict": true,
10822
+ "enableJsonFlag": true,
10823
+ "title": "Convert Profiles into Permission Sets",
10824
+ "requiresProject": true,
10825
+ "requiresSfdxPlugins": [
10826
+ "shane-sfdx-plugins"
10827
+ ],
10828
+ "isESM": true,
10829
+ "relativePath": [
10830
+ "lib",
10831
+ "commands",
10832
+ "hardis",
10833
+ "project",
10834
+ "convert",
10835
+ "profilestopermsets.js"
10836
+ ],
10837
+ "aliasPermutations": [],
10838
+ "permutations": [
10839
+ "hardis:project:convert:profilestopermsets",
10840
+ "project:hardis:convert:profilestopermsets",
10841
+ "project:convert:hardis:profilestopermsets",
10842
+ "project:convert:profilestopermsets:hardis",
10843
+ "hardis:convert:project:profilestopermsets",
10844
+ "convert:hardis:project:profilestopermsets",
10845
+ "convert:project:hardis:profilestopermsets",
10846
+ "convert:project:profilestopermsets:hardis",
10847
+ "hardis:convert:profilestopermsets:project",
10848
+ "convert:hardis:profilestopermsets:project",
10849
+ "convert:profilestopermsets:hardis:project",
10850
+ "convert:profilestopermsets:project:hardis",
10851
+ "hardis:project:profilestopermsets:convert",
10852
+ "project:hardis:profilestopermsets:convert",
10853
+ "project:profilestopermsets:hardis:convert",
10854
+ "project:profilestopermsets:convert:hardis",
10855
+ "hardis:profilestopermsets:project:convert",
10856
+ "profilestopermsets:hardis:project:convert",
10857
+ "profilestopermsets:project:hardis:convert",
10858
+ "profilestopermsets:project:convert:hardis",
10859
+ "hardis:profilestopermsets:convert:project",
10860
+ "profilestopermsets:hardis:convert:project",
10861
+ "profilestopermsets:convert:hardis:project",
10862
+ "profilestopermsets:convert:project:hardis"
10863
+ ]
10864
+ },
10865
+ "hardis:project:configure:auth": {
10866
+ "aliases": [],
10867
+ "args": {},
10868
+ "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",
10869
+ "examples": [
10870
+ "$ sf hardis:project:configure:auth"
10871
+ ],
10872
+ "flags": {
10873
+ "json": {
10874
+ "description": "Format output as json.",
10875
+ "helpGroup": "GLOBAL",
10876
+ "name": "json",
10877
+ "allowNo": false,
10878
+ "type": "boolean"
10879
+ },
10880
+ "flags-dir": {
10881
+ "helpGroup": "GLOBAL",
10882
+ "name": "flags-dir",
10883
+ "summary": "Import flag values from a directory.",
10884
+ "hasDynamicHelp": false,
10885
+ "multiple": false,
10886
+ "type": "option"
10887
+ },
10888
+ "devhub": {
10889
+ "char": "b",
10890
+ "description": "Configure project DevHub",
10891
+ "name": "devhub",
10892
+ "allowNo": false,
10893
+ "type": "boolean"
10894
+ },
10895
+ "debug": {
10896
+ "char": "d",
10897
+ "description": "Activate debug mode (more logs)",
10898
+ "name": "debug",
10899
+ "allowNo": false,
10900
+ "type": "boolean"
10901
+ },
10902
+ "websocket": {
10903
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
10904
+ "name": "websocket",
10905
+ "hasDynamicHelp": false,
10906
+ "multiple": false,
10907
+ "type": "option"
10908
+ },
10909
+ "skipauth": {
10910
+ "description": "Skip authentication check when a default username is required",
10911
+ "name": "skipauth",
10912
+ "allowNo": false,
10913
+ "type": "boolean"
10914
+ },
10915
+ "target-org": {
10916
+ "aliases": [
10917
+ "targetusername",
10918
+ "u"
10919
+ ],
10920
+ "char": "o",
10921
+ "deprecateAliases": true,
10922
+ "name": "target-org",
10923
+ "noCacheDefault": true,
10924
+ "summary": "Username or alias of the target org.",
10925
+ "hasDynamicHelp": true,
10926
+ "multiple": false,
10927
+ "type": "option"
10928
+ },
10929
+ "target-dev-hub": {
10930
+ "aliases": [
10931
+ "targetdevhubusername"
10932
+ ],
10933
+ "char": "v",
10934
+ "deprecateAliases": true,
10935
+ "name": "target-dev-hub",
10936
+ "noCacheDefault": true,
10937
+ "required": false,
10938
+ "summary": "Username or alias of the Dev Hub org.",
10939
+ "hasDynamicHelp": true,
10940
+ "multiple": false,
10941
+ "type": "option"
10942
+ }
10943
+ },
10944
+ "hasDynamicHelp": true,
10945
+ "hiddenAliases": [],
10946
+ "id": "hardis:project:configure:auth",
10947
+ "pluginAlias": "sfdx-hardis",
10948
+ "pluginName": "sfdx-hardis",
10949
+ "pluginType": "core",
10950
+ "strict": true,
10951
+ "enableJsonFlag": true,
10952
+ "title": "Configure authentication",
10953
+ "requiresProject": false,
10954
+ "requiresDependencies": [
10955
+ "openssl"
10956
+ ],
10957
+ "isESM": true,
10958
+ "relativePath": [
10959
+ "lib",
10960
+ "commands",
10961
+ "hardis",
10962
+ "project",
10963
+ "configure",
10964
+ "auth.js"
10965
+ ],
10966
+ "aliasPermutations": [],
10967
+ "permutations": [
10968
+ "hardis:project:configure:auth",
10969
+ "project:hardis:configure:auth",
10970
+ "project:configure:hardis:auth",
10971
+ "project:configure:auth:hardis",
10972
+ "hardis:configure:project:auth",
10973
+ "configure:hardis:project:auth",
10974
+ "configure:project:hardis:auth",
10975
+ "configure:project:auth:hardis",
10976
+ "hardis:configure:auth:project",
10977
+ "configure:hardis:auth:project",
10978
+ "configure:auth:hardis:project",
10979
+ "configure:auth:project:hardis",
10980
+ "hardis:project:auth:configure",
10981
+ "project:hardis:auth:configure",
10982
+ "project:auth:hardis:configure",
10983
+ "project:auth:configure:hardis",
10984
+ "hardis:auth:project:configure",
10985
+ "auth:hardis:project:configure",
10986
+ "auth:project:hardis:configure",
10987
+ "auth:project:configure:hardis",
10988
+ "hardis:auth:configure:project",
10989
+ "auth:hardis:configure:project",
10990
+ "auth:configure:hardis:project",
10991
+ "auth:configure:project:hardis"
10992
+ ]
10993
+ },
10994
10994
  "hardis:project:fix:profiletabs": {
10995
10995
  "aliases": [],
10996
10996
  "args": {},
@@ -14863,5 +14863,5 @@
14863
14863
  ]
14864
14864
  }
14865
14865
  },
14866
- "version": "6.0.4-beta202508131002.0"
14866
+ "version": "6.0.5-beta202508132214.0"
14867
14867
  }