sfdx-hardis 5.30.1-beta202505052040.0 → 5.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/defaults/ci/manifest/package-no-overwrite.xml +5 -0
- package/lib/commands/hardis/doc/project2markdown.d.ts +4 -0
- package/lib/commands/hardis/doc/project2markdown.js +94 -4
- package/lib/commands/hardis/doc/project2markdown.js.map +1 -1
- package/lib/commands/hardis/org/diagnose/audittrail.js +4 -0
- package/lib/commands/hardis/org/diagnose/audittrail.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates.d.ts +13 -1
- package/lib/common/aiProvider/promptTemplates.js +50 -0
- package/lib/common/aiProvider/promptTemplates.js.map +1 -1
- package/lib/common/docBuilder/docBuilderAssignmentRules.d.ts +0 -1
- package/lib/common/docBuilder/docBuilderAssignmentRules.js +0 -5
- package/lib/common/docBuilder/docBuilderAssignmentRules.js.map +1 -1
- package/lib/common/docBuilder/docBuilderAutoResponseRules.d.ts +10 -0
- package/lib/common/docBuilder/docBuilderAutoResponseRules.js +42 -0
- package/lib/common/docBuilder/docBuilderAutoResponseRules.js.map +1 -0
- package/lib/common/docBuilder/docBuilderEscalationRules.d.ts +10 -0
- package/lib/common/docBuilder/docBuilderEscalationRules.js +41 -0
- package/lib/common/docBuilder/docBuilderEscalationRules.js.map +1 -0
- package/lib/common/utils/rulesBuilderUtil.d.ts +4 -0
- package/lib/common/utils/rulesBuilderUtil.js +55 -2
- package/lib/common/utils/rulesBuilderUtil.js.map +1 -1
- package/oclif.manifest.json +1612 -1612
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -57,12 +57,13 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:
|
|
60
|
+
"hardis:auth:login": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
|
-
"description": "
|
|
63
|
+
"description": "Login to salesforce org",
|
|
64
64
|
"examples": [
|
|
65
|
-
"$ sf hardis:
|
|
65
|
+
"$ sf hardis:auth:login",
|
|
66
|
+
"CI=true sf hardis:auth:login"
|
|
66
67
|
],
|
|
67
68
|
"flags": {
|
|
68
69
|
"json": {
|
|
@@ -80,6 +81,28 @@
|
|
|
80
81
|
"multiple": false,
|
|
81
82
|
"type": "option"
|
|
82
83
|
},
|
|
84
|
+
"instanceurl": {
|
|
85
|
+
"char": "r",
|
|
86
|
+
"description": "URL of org instance",
|
|
87
|
+
"name": "instanceurl",
|
|
88
|
+
"hasDynamicHelp": false,
|
|
89
|
+
"multiple": false,
|
|
90
|
+
"type": "option"
|
|
91
|
+
},
|
|
92
|
+
"devhub": {
|
|
93
|
+
"char": "h",
|
|
94
|
+
"description": "Also connect associated DevHub",
|
|
95
|
+
"name": "devhub",
|
|
96
|
+
"allowNo": false,
|
|
97
|
+
"type": "boolean"
|
|
98
|
+
},
|
|
99
|
+
"scratchorg": {
|
|
100
|
+
"char": "s",
|
|
101
|
+
"description": "Scratch org",
|
|
102
|
+
"name": "scratchorg",
|
|
103
|
+
"allowNo": false,
|
|
104
|
+
"type": "boolean"
|
|
105
|
+
},
|
|
83
106
|
"debug": {
|
|
84
107
|
"char": "d",
|
|
85
108
|
"description": "Activate debug mode (more logs)",
|
|
@@ -103,39 +126,38 @@
|
|
|
103
126
|
},
|
|
104
127
|
"hasDynamicHelp": false,
|
|
105
128
|
"hiddenAliases": [],
|
|
106
|
-
"id": "hardis:
|
|
129
|
+
"id": "hardis:auth:login",
|
|
107
130
|
"pluginAlias": "sfdx-hardis",
|
|
108
131
|
"pluginName": "sfdx-hardis",
|
|
109
132
|
"pluginType": "core",
|
|
110
133
|
"strict": true,
|
|
111
134
|
"enableJsonFlag": true,
|
|
112
|
-
"title": "
|
|
135
|
+
"title": "Login",
|
|
113
136
|
"requiresProject": false,
|
|
114
137
|
"isESM": true,
|
|
115
138
|
"relativePath": [
|
|
116
139
|
"lib",
|
|
117
140
|
"commands",
|
|
118
141
|
"hardis",
|
|
119
|
-
"
|
|
120
|
-
"
|
|
142
|
+
"auth",
|
|
143
|
+
"login.js"
|
|
121
144
|
],
|
|
122
145
|
"aliasPermutations": [],
|
|
123
146
|
"permutations": [
|
|
124
|
-
"hardis:
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"hardis:
|
|
128
|
-
"
|
|
129
|
-
"
|
|
147
|
+
"hardis:auth:login",
|
|
148
|
+
"auth:hardis:login",
|
|
149
|
+
"auth:login:hardis",
|
|
150
|
+
"hardis:login:auth",
|
|
151
|
+
"login:hardis:auth",
|
|
152
|
+
"login:auth:hardis"
|
|
130
153
|
]
|
|
131
154
|
},
|
|
132
|
-
"hardis:
|
|
155
|
+
"hardis:cache:clear": {
|
|
133
156
|
"aliases": [],
|
|
134
157
|
"args": {},
|
|
135
|
-
"description": "
|
|
158
|
+
"description": "Clear cache generated by sfdx-hardis",
|
|
136
159
|
"examples": [
|
|
137
|
-
"$ sf hardis:
|
|
138
|
-
"CI=true sf hardis:auth:login"
|
|
160
|
+
"$ sf hardis:cache:clear"
|
|
139
161
|
],
|
|
140
162
|
"flags": {
|
|
141
163
|
"json": {
|
|
@@ -153,28 +175,6 @@
|
|
|
153
175
|
"multiple": false,
|
|
154
176
|
"type": "option"
|
|
155
177
|
},
|
|
156
|
-
"instanceurl": {
|
|
157
|
-
"char": "r",
|
|
158
|
-
"description": "URL of org instance",
|
|
159
|
-
"name": "instanceurl",
|
|
160
|
-
"hasDynamicHelp": false,
|
|
161
|
-
"multiple": false,
|
|
162
|
-
"type": "option"
|
|
163
|
-
},
|
|
164
|
-
"devhub": {
|
|
165
|
-
"char": "h",
|
|
166
|
-
"description": "Also connect associated DevHub",
|
|
167
|
-
"name": "devhub",
|
|
168
|
-
"allowNo": false,
|
|
169
|
-
"type": "boolean"
|
|
170
|
-
},
|
|
171
|
-
"scratchorg": {
|
|
172
|
-
"char": "s",
|
|
173
|
-
"description": "Scratch org",
|
|
174
|
-
"name": "scratchorg",
|
|
175
|
-
"allowNo": false,
|
|
176
|
-
"type": "boolean"
|
|
177
|
-
},
|
|
178
178
|
"debug": {
|
|
179
179
|
"char": "d",
|
|
180
180
|
"description": "Activate debug mode (more logs)",
|
|
@@ -198,30 +198,30 @@
|
|
|
198
198
|
},
|
|
199
199
|
"hasDynamicHelp": false,
|
|
200
200
|
"hiddenAliases": [],
|
|
201
|
-
"id": "hardis:
|
|
201
|
+
"id": "hardis:cache:clear",
|
|
202
202
|
"pluginAlias": "sfdx-hardis",
|
|
203
203
|
"pluginName": "sfdx-hardis",
|
|
204
204
|
"pluginType": "core",
|
|
205
205
|
"strict": true,
|
|
206
206
|
"enableJsonFlag": true,
|
|
207
|
-
"title": "
|
|
207
|
+
"title": "Clear sfdx-hardis cache",
|
|
208
208
|
"requiresProject": false,
|
|
209
209
|
"isESM": true,
|
|
210
210
|
"relativePath": [
|
|
211
211
|
"lib",
|
|
212
212
|
"commands",
|
|
213
213
|
"hardis",
|
|
214
|
-
"
|
|
215
|
-
"
|
|
214
|
+
"cache",
|
|
215
|
+
"clear.js"
|
|
216
216
|
],
|
|
217
217
|
"aliasPermutations": [],
|
|
218
218
|
"permutations": [
|
|
219
|
-
"hardis:
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
219
|
+
"hardis:cache:clear",
|
|
220
|
+
"cache:hardis:clear",
|
|
221
|
+
"cache:clear:hardis",
|
|
222
|
+
"hardis:clear:cache",
|
|
223
|
+
"clear:hardis:cache",
|
|
224
|
+
"clear:cache:hardis"
|
|
225
225
|
]
|
|
226
226
|
},
|
|
227
227
|
"hardis:config:get": {
|
|
@@ -1740,12 +1740,12 @@
|
|
|
1740
1740
|
"toml2csv:misc:hardis"
|
|
1741
1741
|
]
|
|
1742
1742
|
},
|
|
1743
|
-
"hardis:
|
|
1743
|
+
"hardis:package:create": {
|
|
1744
1744
|
"aliases": [],
|
|
1745
1745
|
"args": {},
|
|
1746
|
-
"description": "
|
|
1746
|
+
"description": "Create a new package",
|
|
1747
1747
|
"examples": [
|
|
1748
|
-
"$ sf hardis:
|
|
1748
|
+
"$ sf hardis:package:create"
|
|
1749
1749
|
],
|
|
1750
1750
|
"flags": {
|
|
1751
1751
|
"json": {
|
|
@@ -1782,42 +1782,56 @@
|
|
|
1782
1782
|
"name": "skipauth",
|
|
1783
1783
|
"allowNo": false,
|
|
1784
1784
|
"type": "boolean"
|
|
1785
|
+
},
|
|
1786
|
+
"target-dev-hub": {
|
|
1787
|
+
"aliases": [
|
|
1788
|
+
"targetdevhubusername"
|
|
1789
|
+
],
|
|
1790
|
+
"char": "v",
|
|
1791
|
+
"deprecateAliases": true,
|
|
1792
|
+
"name": "target-dev-hub",
|
|
1793
|
+
"noCacheDefault": true,
|
|
1794
|
+
"required": true,
|
|
1795
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
1796
|
+
"hasDynamicHelp": true,
|
|
1797
|
+
"multiple": false,
|
|
1798
|
+
"type": "option"
|
|
1785
1799
|
}
|
|
1786
1800
|
},
|
|
1787
|
-
"hasDynamicHelp":
|
|
1801
|
+
"hasDynamicHelp": true,
|
|
1788
1802
|
"hiddenAliases": [],
|
|
1789
|
-
"id": "hardis:
|
|
1803
|
+
"id": "hardis:package:create",
|
|
1790
1804
|
"pluginAlias": "sfdx-hardis",
|
|
1791
1805
|
"pluginName": "sfdx-hardis",
|
|
1792
1806
|
"pluginType": "core",
|
|
1793
1807
|
"strict": true,
|
|
1794
1808
|
"enableJsonFlag": true,
|
|
1795
|
-
"title": "
|
|
1796
|
-
"requiresProject":
|
|
1809
|
+
"title": "Create a new package",
|
|
1810
|
+
"requiresProject": true,
|
|
1797
1811
|
"isESM": true,
|
|
1798
1812
|
"relativePath": [
|
|
1799
1813
|
"lib",
|
|
1800
1814
|
"commands",
|
|
1801
1815
|
"hardis",
|
|
1802
|
-
"
|
|
1803
|
-
"
|
|
1816
|
+
"package",
|
|
1817
|
+
"create.js"
|
|
1804
1818
|
],
|
|
1805
1819
|
"aliasPermutations": [],
|
|
1806
1820
|
"permutations": [
|
|
1807
|
-
"hardis:
|
|
1808
|
-
"
|
|
1809
|
-
"
|
|
1810
|
-
"hardis:
|
|
1811
|
-
"
|
|
1812
|
-
"
|
|
1821
|
+
"hardis:package:create",
|
|
1822
|
+
"package:hardis:create",
|
|
1823
|
+
"package:create:hardis",
|
|
1824
|
+
"hardis:create:package",
|
|
1825
|
+
"create:hardis:package",
|
|
1826
|
+
"create:package:hardis"
|
|
1813
1827
|
]
|
|
1814
1828
|
},
|
|
1815
|
-
"hardis:
|
|
1829
|
+
"hardis:package:install": {
|
|
1816
1830
|
"aliases": [],
|
|
1817
1831
|
"args": {},
|
|
1818
|
-
"description": "
|
|
1832
|
+
"description": "Install a package in an org using its id (starting with **04t**)\n\nAssisted menu to propose to update `installedPackages` property in `.sfdx-hardis.yml`\n",
|
|
1819
1833
|
"examples": [
|
|
1820
|
-
"$ sf hardis:
|
|
1834
|
+
"$ sf hardis:package:install"
|
|
1821
1835
|
],
|
|
1822
1836
|
"flags": {
|
|
1823
1837
|
"json": {
|
|
@@ -1835,6 +1849,14 @@
|
|
|
1835
1849
|
"multiple": false,
|
|
1836
1850
|
"type": "option"
|
|
1837
1851
|
},
|
|
1852
|
+
"package": {
|
|
1853
|
+
"char": "p",
|
|
1854
|
+
"description": "Package Version Id to install (04t...)",
|
|
1855
|
+
"name": "package",
|
|
1856
|
+
"hasDynamicHelp": false,
|
|
1857
|
+
"multiple": false,
|
|
1858
|
+
"type": "option"
|
|
1859
|
+
},
|
|
1838
1860
|
"debug": {
|
|
1839
1861
|
"char": "d",
|
|
1840
1862
|
"description": "Activate debug mode (more logs)",
|
|
@@ -1849,54 +1871,72 @@
|
|
|
1849
1871
|
"multiple": false,
|
|
1850
1872
|
"type": "option"
|
|
1851
1873
|
},
|
|
1874
|
+
"installationkey": {
|
|
1875
|
+
"char": "k",
|
|
1876
|
+
"description": "installation key for key-protected package (default: null)",
|
|
1877
|
+
"name": "installationkey",
|
|
1878
|
+
"default": "",
|
|
1879
|
+
"hasDynamicHelp": false,
|
|
1880
|
+
"multiple": false,
|
|
1881
|
+
"type": "option"
|
|
1882
|
+
},
|
|
1852
1883
|
"skipauth": {
|
|
1853
1884
|
"description": "Skip authentication check when a default username is required",
|
|
1854
1885
|
"name": "skipauth",
|
|
1855
1886
|
"allowNo": false,
|
|
1856
1887
|
"type": "boolean"
|
|
1888
|
+
},
|
|
1889
|
+
"target-org": {
|
|
1890
|
+
"aliases": [
|
|
1891
|
+
"targetusername",
|
|
1892
|
+
"u"
|
|
1893
|
+
],
|
|
1894
|
+
"char": "o",
|
|
1895
|
+
"deprecateAliases": true,
|
|
1896
|
+
"name": "target-org",
|
|
1897
|
+
"noCacheDefault": true,
|
|
1898
|
+
"required": true,
|
|
1899
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1900
|
+
"hasDynamicHelp": true,
|
|
1901
|
+
"multiple": false,
|
|
1902
|
+
"type": "option"
|
|
1857
1903
|
}
|
|
1858
1904
|
},
|
|
1859
|
-
"hasDynamicHelp":
|
|
1905
|
+
"hasDynamicHelp": true,
|
|
1860
1906
|
"hiddenAliases": [],
|
|
1861
|
-
"id": "hardis:
|
|
1907
|
+
"id": "hardis:package:install",
|
|
1862
1908
|
"pluginAlias": "sfdx-hardis",
|
|
1863
1909
|
"pluginName": "sfdx-hardis",
|
|
1864
1910
|
"pluginType": "core",
|
|
1865
1911
|
"strict": true,
|
|
1866
1912
|
"enableJsonFlag": true,
|
|
1867
|
-
"title": "
|
|
1868
|
-
"supportsDevhubUsername": true,
|
|
1869
|
-
"requiresProject": true,
|
|
1870
|
-
"requiresSfdxPlugins": [
|
|
1871
|
-
"sfdmu"
|
|
1872
|
-
],
|
|
1913
|
+
"title": "Install packages in an org",
|
|
1873
1914
|
"isESM": true,
|
|
1874
1915
|
"relativePath": [
|
|
1875
1916
|
"lib",
|
|
1876
1917
|
"commands",
|
|
1877
1918
|
"hardis",
|
|
1878
|
-
"
|
|
1879
|
-
"
|
|
1919
|
+
"package",
|
|
1920
|
+
"install.js"
|
|
1880
1921
|
],
|
|
1881
1922
|
"aliasPermutations": [],
|
|
1882
1923
|
"permutations": [
|
|
1883
|
-
"hardis:
|
|
1884
|
-
"
|
|
1885
|
-
"
|
|
1886
|
-
"hardis:
|
|
1887
|
-
"
|
|
1888
|
-
"
|
|
1924
|
+
"hardis:package:install",
|
|
1925
|
+
"package:hardis:install",
|
|
1926
|
+
"package:install:hardis",
|
|
1927
|
+
"hardis:install:package",
|
|
1928
|
+
"install:hardis:package",
|
|
1929
|
+
"install:package:hardis"
|
|
1889
1930
|
]
|
|
1890
1931
|
},
|
|
1891
|
-
"hardis:
|
|
1932
|
+
"hardis:package:mergexml": {
|
|
1892
1933
|
"aliases": [],
|
|
1893
1934
|
"args": {},
|
|
1894
|
-
"description": "
|
|
1935
|
+
"description": "Select and merge package.xml files",
|
|
1895
1936
|
"examples": [
|
|
1896
|
-
"$ sf hardis:
|
|
1897
|
-
"$ sf hardis:
|
|
1898
|
-
"$ sf hardis:
|
|
1899
|
-
"$ sf hardis:org:multi-org-query --query-template active-users --target-orgs nico@cloudity.com nico@cloudity.com.preprod nico@cloudity.com.uat"
|
|
1937
|
+
"$ sf hardis:package:mergexml",
|
|
1938
|
+
"$ sf hardis:package:mergexml --folder packages --pattern /**/*.xml --result myMergedPackage.xml",
|
|
1939
|
+
"$ sf hardis:package:mergexml --packagexmls \"config/mypackage1.xml,config/mypackage2.xml,config/mypackage3.xml\" --result myMergedPackage.xml"
|
|
1900
1940
|
],
|
|
1901
1941
|
"flags": {
|
|
1902
1942
|
"json": {
|
|
@@ -1914,51 +1954,42 @@
|
|
|
1914
1954
|
"multiple": false,
|
|
1915
1955
|
"type": "option"
|
|
1916
1956
|
},
|
|
1917
|
-
"
|
|
1918
|
-
"char": "
|
|
1919
|
-
"description": "
|
|
1920
|
-
"
|
|
1921
|
-
|
|
1922
|
-
],
|
|
1923
|
-
"name": "query",
|
|
1957
|
+
"folder": {
|
|
1958
|
+
"char": "f",
|
|
1959
|
+
"description": "Root folder",
|
|
1960
|
+
"name": "folder",
|
|
1961
|
+
"default": "manifest",
|
|
1924
1962
|
"hasDynamicHelp": false,
|
|
1925
1963
|
"multiple": false,
|
|
1926
1964
|
"type": "option"
|
|
1927
1965
|
},
|
|
1928
|
-
"
|
|
1929
|
-
"char": "
|
|
1930
|
-
"description": "
|
|
1931
|
-
"
|
|
1932
|
-
"query"
|
|
1933
|
-
],
|
|
1934
|
-
"name": "query-template",
|
|
1966
|
+
"packagexmls": {
|
|
1967
|
+
"char": "p",
|
|
1968
|
+
"description": "Comma separated list of package.xml files to merge. Will be prompted to user if not provided",
|
|
1969
|
+
"name": "packagexmls",
|
|
1935
1970
|
"hasDynamicHelp": false,
|
|
1936
1971
|
"multiple": false,
|
|
1937
|
-
"options": [
|
|
1938
|
-
"active-users",
|
|
1939
|
-
"all-users"
|
|
1940
|
-
],
|
|
1941
1972
|
"type": "option"
|
|
1942
1973
|
},
|
|
1943
|
-
"
|
|
1974
|
+
"pattern": {
|
|
1944
1975
|
"char": "x",
|
|
1945
|
-
"description": "
|
|
1946
|
-
"name": "
|
|
1976
|
+
"description": "Name criteria to list package.xml files",
|
|
1977
|
+
"name": "pattern",
|
|
1978
|
+
"default": "/**/*package*.xml",
|
|
1947
1979
|
"hasDynamicHelp": false,
|
|
1948
|
-
"multiple":
|
|
1980
|
+
"multiple": false,
|
|
1949
1981
|
"type": "option"
|
|
1950
1982
|
},
|
|
1951
|
-
"
|
|
1952
|
-
"char": "
|
|
1953
|
-
"description": "
|
|
1954
|
-
"name": "
|
|
1983
|
+
"result": {
|
|
1984
|
+
"char": "r",
|
|
1985
|
+
"description": "Result package.xml file name",
|
|
1986
|
+
"name": "result",
|
|
1955
1987
|
"hasDynamicHelp": false,
|
|
1956
1988
|
"multiple": false,
|
|
1957
1989
|
"type": "option"
|
|
1958
1990
|
},
|
|
1959
1991
|
"debug": {
|
|
1960
|
-
"
|
|
1961
|
-
"description": "Activate debug mode (more logs)",
|
|
1992
|
+
"description": "debug",
|
|
1962
1993
|
"name": "debug",
|
|
1963
1994
|
"allowNo": false,
|
|
1964
1995
|
"type": "boolean"
|
|
@@ -1979,37 +2010,38 @@
|
|
|
1979
2010
|
},
|
|
1980
2011
|
"hasDynamicHelp": false,
|
|
1981
2012
|
"hiddenAliases": [],
|
|
1982
|
-
"id": "hardis:
|
|
2013
|
+
"id": "hardis:package:mergexml",
|
|
1983
2014
|
"pluginAlias": "sfdx-hardis",
|
|
1984
2015
|
"pluginName": "sfdx-hardis",
|
|
1985
2016
|
"pluginType": "core",
|
|
1986
2017
|
"strict": true,
|
|
1987
2018
|
"enableJsonFlag": true,
|
|
1988
|
-
"title": "
|
|
2019
|
+
"title": "Merge package.xml files",
|
|
2020
|
+
"requiresProject": false,
|
|
1989
2021
|
"isESM": true,
|
|
1990
2022
|
"relativePath": [
|
|
1991
2023
|
"lib",
|
|
1992
2024
|
"commands",
|
|
1993
2025
|
"hardis",
|
|
1994
|
-
"
|
|
1995
|
-
"
|
|
2026
|
+
"package",
|
|
2027
|
+
"mergexml.js"
|
|
1996
2028
|
],
|
|
1997
2029
|
"aliasPermutations": [],
|
|
1998
2030
|
"permutations": [
|
|
1999
|
-
"hardis:
|
|
2000
|
-
"
|
|
2001
|
-
"
|
|
2002
|
-
"hardis:
|
|
2003
|
-
"
|
|
2004
|
-
"
|
|
2031
|
+
"hardis:package:mergexml",
|
|
2032
|
+
"package:hardis:mergexml",
|
|
2033
|
+
"package:mergexml:hardis",
|
|
2034
|
+
"hardis:mergexml:package",
|
|
2035
|
+
"mergexml:hardis:package",
|
|
2036
|
+
"mergexml:package:hardis"
|
|
2005
2037
|
]
|
|
2006
2038
|
},
|
|
2007
|
-
"hardis:org:
|
|
2039
|
+
"hardis:org:connect": {
|
|
2008
2040
|
"aliases": [],
|
|
2009
2041
|
"args": {},
|
|
2010
|
-
"description": "
|
|
2042
|
+
"description": "Connect to an org without setting it as default username, then proposes to open the org in web browser\n ",
|
|
2011
2043
|
"examples": [
|
|
2012
|
-
"$ sf hardis:org:
|
|
2044
|
+
"$ sf hardis:org:connect"
|
|
2013
2045
|
],
|
|
2014
2046
|
"flags": {
|
|
2015
2047
|
"json": {
|
|
@@ -2027,20 +2059,6 @@
|
|
|
2027
2059
|
"multiple": false,
|
|
2028
2060
|
"type": "option"
|
|
2029
2061
|
},
|
|
2030
|
-
"devhub": {
|
|
2031
|
-
"char": "h",
|
|
2032
|
-
"description": "Also connect associated DevHub",
|
|
2033
|
-
"name": "devhub",
|
|
2034
|
-
"allowNo": false,
|
|
2035
|
-
"type": "boolean"
|
|
2036
|
-
},
|
|
2037
|
-
"scratch": {
|
|
2038
|
-
"char": "s",
|
|
2039
|
-
"description": "Select scratch org related to default DevHub",
|
|
2040
|
-
"name": "scratch",
|
|
2041
|
-
"allowNo": false,
|
|
2042
|
-
"type": "boolean"
|
|
2043
|
-
},
|
|
2044
2062
|
"debug": {
|
|
2045
2063
|
"char": "d",
|
|
2046
2064
|
"description": "Activate debug mode (more logs)",
|
|
@@ -2064,13 +2082,13 @@
|
|
|
2064
2082
|
},
|
|
2065
2083
|
"hasDynamicHelp": false,
|
|
2066
2084
|
"hiddenAliases": [],
|
|
2067
|
-
"id": "hardis:org:
|
|
2085
|
+
"id": "hardis:org:connect",
|
|
2068
2086
|
"pluginAlias": "sfdx-hardis",
|
|
2069
2087
|
"pluginName": "sfdx-hardis",
|
|
2070
2088
|
"pluginType": "core",
|
|
2071
2089
|
"strict": true,
|
|
2072
2090
|
"enableJsonFlag": true,
|
|
2073
|
-
"title": "
|
|
2091
|
+
"title": "Connect to an org",
|
|
2074
2092
|
"requiresProject": false,
|
|
2075
2093
|
"isESM": true,
|
|
2076
2094
|
"relativePath": [
|
|
@@ -2078,24 +2096,24 @@
|
|
|
2078
2096
|
"commands",
|
|
2079
2097
|
"hardis",
|
|
2080
2098
|
"org",
|
|
2081
|
-
"
|
|
2099
|
+
"connect.js"
|
|
2082
2100
|
],
|
|
2083
2101
|
"aliasPermutations": [],
|
|
2084
2102
|
"permutations": [
|
|
2085
|
-
"hardis:org:
|
|
2086
|
-
"org:hardis:
|
|
2087
|
-
"org:
|
|
2088
|
-
"hardis:
|
|
2089
|
-
"
|
|
2090
|
-
"
|
|
2103
|
+
"hardis:org:connect",
|
|
2104
|
+
"org:hardis:connect",
|
|
2105
|
+
"org:connect:hardis",
|
|
2106
|
+
"hardis:connect:org",
|
|
2107
|
+
"connect:hardis:org",
|
|
2108
|
+
"connect:org:hardis"
|
|
2091
2109
|
]
|
|
2092
2110
|
},
|
|
2093
|
-
"hardis:
|
|
2111
|
+
"hardis:org:create": {
|
|
2094
2112
|
"aliases": [],
|
|
2095
2113
|
"args": {},
|
|
2096
|
-
"description": "Create
|
|
2114
|
+
"description": "Create and initialize sandbox org",
|
|
2097
2115
|
"examples": [
|
|
2098
|
-
"$ sf hardis:
|
|
2116
|
+
"$ sf hardis:org:create"
|
|
2099
2117
|
],
|
|
2100
2118
|
"flags": {
|
|
2101
2119
|
"json": {
|
|
@@ -2132,56 +2150,49 @@
|
|
|
2132
2150
|
"name": "skipauth",
|
|
2133
2151
|
"allowNo": false,
|
|
2134
2152
|
"type": "boolean"
|
|
2135
|
-
},
|
|
2136
|
-
"target-dev-hub": {
|
|
2137
|
-
"aliases": [
|
|
2138
|
-
"targetdevhubusername"
|
|
2139
|
-
],
|
|
2140
|
-
"char": "v",
|
|
2141
|
-
"deprecateAliases": true,
|
|
2142
|
-
"name": "target-dev-hub",
|
|
2143
|
-
"noCacheDefault": true,
|
|
2144
|
-
"required": true,
|
|
2145
|
-
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
2146
|
-
"hasDynamicHelp": true,
|
|
2147
|
-
"multiple": false,
|
|
2148
|
-
"type": "option"
|
|
2149
2153
|
}
|
|
2150
2154
|
},
|
|
2151
|
-
"hasDynamicHelp":
|
|
2155
|
+
"hasDynamicHelp": false,
|
|
2152
2156
|
"hiddenAliases": [],
|
|
2153
|
-
"id": "hardis:
|
|
2157
|
+
"id": "hardis:org:create",
|
|
2154
2158
|
"pluginAlias": "sfdx-hardis",
|
|
2155
2159
|
"pluginName": "sfdx-hardis",
|
|
2156
2160
|
"pluginType": "core",
|
|
2157
2161
|
"strict": true,
|
|
2158
2162
|
"enableJsonFlag": true,
|
|
2159
|
-
"title": "Create
|
|
2163
|
+
"title": "Create sandbox org",
|
|
2164
|
+
"supportsDevhubUsername": true,
|
|
2160
2165
|
"requiresProject": true,
|
|
2166
|
+
"requiresSfdxPlugins": [
|
|
2167
|
+
"sfdmu"
|
|
2168
|
+
],
|
|
2161
2169
|
"isESM": true,
|
|
2162
2170
|
"relativePath": [
|
|
2163
2171
|
"lib",
|
|
2164
2172
|
"commands",
|
|
2165
2173
|
"hardis",
|
|
2166
|
-
"
|
|
2174
|
+
"org",
|
|
2167
2175
|
"create.js"
|
|
2168
2176
|
],
|
|
2169
2177
|
"aliasPermutations": [],
|
|
2170
2178
|
"permutations": [
|
|
2171
|
-
"hardis:
|
|
2172
|
-
"
|
|
2173
|
-
"
|
|
2174
|
-
"hardis:create:
|
|
2175
|
-
"create:hardis:
|
|
2176
|
-
"create:
|
|
2179
|
+
"hardis:org:create",
|
|
2180
|
+
"org:hardis:create",
|
|
2181
|
+
"org:create:hardis",
|
|
2182
|
+
"hardis:create:org",
|
|
2183
|
+
"create:hardis:org",
|
|
2184
|
+
"create:org:hardis"
|
|
2177
2185
|
]
|
|
2178
2186
|
},
|
|
2179
|
-
"hardis:
|
|
2187
|
+
"hardis:org:multi-org-query": {
|
|
2180
2188
|
"aliases": [],
|
|
2181
2189
|
"args": {},
|
|
2182
|
-
"description": "
|
|
2190
|
+
"description": "Executes a SOQL query in multiple orgs and generate a single report from it\n \nYou can send a custom query using --query, or use one of the predefined queries using --query-template.\n\nIf you use the command from a CI/CD job, you must previously authenticate to the usernames present in --target-orgs.\n\n[](https://marketplace.visualstudio.com/items?itemName=NicolasVuillamy.vscode-sfdx-hardis)\n",
|
|
2183
2191
|
"examples": [
|
|
2184
|
-
"$ sf hardis:
|
|
2192
|
+
"$ sf hardis:org:multi-org-query",
|
|
2193
|
+
"$ sf hardis:org:multi-org-query --query \"SELECT Id,Username FROM User\"",
|
|
2194
|
+
"$ sf hardis:org:multi-org-query --query \"SELECT Id,Username FROM User\" --target-orgs nico@cloudity.com nico@cloudity.com.preprod nico@cloudity.com.uat",
|
|
2195
|
+
"$ sf hardis:org:multi-org-query --query-template active-users --target-orgs nico@cloudity.com nico@cloudity.com.preprod nico@cloudity.com.uat"
|
|
2185
2196
|
],
|
|
2186
2197
|
"flags": {
|
|
2187
2198
|
"json": {
|
|
@@ -2199,10 +2210,44 @@
|
|
|
2199
2210
|
"multiple": false,
|
|
2200
2211
|
"type": "option"
|
|
2201
2212
|
},
|
|
2202
|
-
"
|
|
2203
|
-
"char": "
|
|
2204
|
-
"description": "
|
|
2205
|
-
"
|
|
2213
|
+
"query": {
|
|
2214
|
+
"char": "q",
|
|
2215
|
+
"description": "SOQL Query to run on multiple orgs",
|
|
2216
|
+
"exclusive": [
|
|
2217
|
+
"query-template"
|
|
2218
|
+
],
|
|
2219
|
+
"name": "query",
|
|
2220
|
+
"hasDynamicHelp": false,
|
|
2221
|
+
"multiple": false,
|
|
2222
|
+
"type": "option"
|
|
2223
|
+
},
|
|
2224
|
+
"query-template": {
|
|
2225
|
+
"char": "t",
|
|
2226
|
+
"description": "Use one of predefined SOQL Query templates",
|
|
2227
|
+
"exclusive": [
|
|
2228
|
+
"query"
|
|
2229
|
+
],
|
|
2230
|
+
"name": "query-template",
|
|
2231
|
+
"hasDynamicHelp": false,
|
|
2232
|
+
"multiple": false,
|
|
2233
|
+
"options": [
|
|
2234
|
+
"active-users",
|
|
2235
|
+
"all-users"
|
|
2236
|
+
],
|
|
2237
|
+
"type": "option"
|
|
2238
|
+
},
|
|
2239
|
+
"target-orgs": {
|
|
2240
|
+
"char": "x",
|
|
2241
|
+
"description": "List of org usernames or aliases.",
|
|
2242
|
+
"name": "target-orgs",
|
|
2243
|
+
"hasDynamicHelp": false,
|
|
2244
|
+
"multiple": true,
|
|
2245
|
+
"type": "option"
|
|
2246
|
+
},
|
|
2247
|
+
"outputfile": {
|
|
2248
|
+
"char": "f",
|
|
2249
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
2250
|
+
"name": "outputfile",
|
|
2206
2251
|
"hasDynamicHelp": false,
|
|
2207
2252
|
"multiple": false,
|
|
2208
2253
|
"type": "option"
|
|
@@ -2221,72 +2266,46 @@
|
|
|
2221
2266
|
"multiple": false,
|
|
2222
2267
|
"type": "option"
|
|
2223
2268
|
},
|
|
2224
|
-
"installationkey": {
|
|
2225
|
-
"char": "k",
|
|
2226
|
-
"description": "installation key for key-protected package (default: null)",
|
|
2227
|
-
"name": "installationkey",
|
|
2228
|
-
"default": "",
|
|
2229
|
-
"hasDynamicHelp": false,
|
|
2230
|
-
"multiple": false,
|
|
2231
|
-
"type": "option"
|
|
2232
|
-
},
|
|
2233
2269
|
"skipauth": {
|
|
2234
2270
|
"description": "Skip authentication check when a default username is required",
|
|
2235
2271
|
"name": "skipauth",
|
|
2236
2272
|
"allowNo": false,
|
|
2237
2273
|
"type": "boolean"
|
|
2238
|
-
},
|
|
2239
|
-
"target-org": {
|
|
2240
|
-
"aliases": [
|
|
2241
|
-
"targetusername",
|
|
2242
|
-
"u"
|
|
2243
|
-
],
|
|
2244
|
-
"char": "o",
|
|
2245
|
-
"deprecateAliases": true,
|
|
2246
|
-
"name": "target-org",
|
|
2247
|
-
"noCacheDefault": true,
|
|
2248
|
-
"required": true,
|
|
2249
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2250
|
-
"hasDynamicHelp": true,
|
|
2251
|
-
"multiple": false,
|
|
2252
|
-
"type": "option"
|
|
2253
2274
|
}
|
|
2254
2275
|
},
|
|
2255
|
-
"hasDynamicHelp":
|
|
2276
|
+
"hasDynamicHelp": false,
|
|
2256
2277
|
"hiddenAliases": [],
|
|
2257
|
-
"id": "hardis:
|
|
2278
|
+
"id": "hardis:org:multi-org-query",
|
|
2258
2279
|
"pluginAlias": "sfdx-hardis",
|
|
2259
2280
|
"pluginName": "sfdx-hardis",
|
|
2260
2281
|
"pluginType": "core",
|
|
2261
2282
|
"strict": true,
|
|
2262
2283
|
"enableJsonFlag": true,
|
|
2263
|
-
"title": "
|
|
2284
|
+
"title": "Multiple Orgs SOQL Query",
|
|
2264
2285
|
"isESM": true,
|
|
2265
2286
|
"relativePath": [
|
|
2266
2287
|
"lib",
|
|
2267
2288
|
"commands",
|
|
2268
2289
|
"hardis",
|
|
2269
|
-
"
|
|
2270
|
-
"
|
|
2290
|
+
"org",
|
|
2291
|
+
"multi-org-query.js"
|
|
2271
2292
|
],
|
|
2272
2293
|
"aliasPermutations": [],
|
|
2273
2294
|
"permutations": [
|
|
2274
|
-
"hardis:
|
|
2275
|
-
"
|
|
2276
|
-
"
|
|
2277
|
-
"hardis:
|
|
2278
|
-
"
|
|
2279
|
-
"
|
|
2295
|
+
"hardis:org:multi-org-query",
|
|
2296
|
+
"org:hardis:multi-org-query",
|
|
2297
|
+
"org:multi-org-query:hardis",
|
|
2298
|
+
"hardis:multi-org-query:org",
|
|
2299
|
+
"multi-org-query:hardis:org",
|
|
2300
|
+
"multi-org-query:org:hardis"
|
|
2280
2301
|
]
|
|
2281
2302
|
},
|
|
2282
|
-
"hardis:
|
|
2303
|
+
"hardis:org:select": {
|
|
2283
2304
|
"aliases": [],
|
|
2284
2305
|
"args": {},
|
|
2285
|
-
"description": "
|
|
2306
|
+
"description": "Interactive org selection for user",
|
|
2286
2307
|
"examples": [
|
|
2287
|
-
"$ sf hardis:
|
|
2288
|
-
"$ sf hardis:package:mergexml --folder packages --pattern /**/*.xml --result myMergedPackage.xml",
|
|
2289
|
-
"$ sf hardis:package:mergexml --packagexmls \"config/mypackage1.xml,config/mypackage2.xml,config/mypackage3.xml\" --result myMergedPackage.xml"
|
|
2308
|
+
"$ sf hardis:org:select"
|
|
2290
2309
|
],
|
|
2291
2310
|
"flags": {
|
|
2292
2311
|
"json": {
|
|
@@ -2304,49 +2323,30 @@
|
|
|
2304
2323
|
"multiple": false,
|
|
2305
2324
|
"type": "option"
|
|
2306
2325
|
},
|
|
2307
|
-
"
|
|
2308
|
-
"char": "
|
|
2309
|
-
"description": "
|
|
2310
|
-
"name": "
|
|
2311
|
-
"
|
|
2312
|
-
"
|
|
2313
|
-
"multiple": false,
|
|
2314
|
-
"type": "option"
|
|
2326
|
+
"devhub": {
|
|
2327
|
+
"char": "h",
|
|
2328
|
+
"description": "Also connect associated DevHub",
|
|
2329
|
+
"name": "devhub",
|
|
2330
|
+
"allowNo": false,
|
|
2331
|
+
"type": "boolean"
|
|
2315
2332
|
},
|
|
2316
|
-
"
|
|
2317
|
-
"char": "
|
|
2318
|
-
"description": "
|
|
2319
|
-
"name": "
|
|
2320
|
-
"
|
|
2321
|
-
"
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
"
|
|
2326
|
-
"
|
|
2327
|
-
"
|
|
2328
|
-
"
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
"
|
|
2332
|
-
|
|
2333
|
-
"result": {
|
|
2334
|
-
"char": "r",
|
|
2335
|
-
"description": "Result package.xml file name",
|
|
2336
|
-
"name": "result",
|
|
2337
|
-
"hasDynamicHelp": false,
|
|
2338
|
-
"multiple": false,
|
|
2339
|
-
"type": "option"
|
|
2340
|
-
},
|
|
2341
|
-
"debug": {
|
|
2342
|
-
"description": "debug",
|
|
2343
|
-
"name": "debug",
|
|
2344
|
-
"allowNo": false,
|
|
2345
|
-
"type": "boolean"
|
|
2346
|
-
},
|
|
2347
|
-
"websocket": {
|
|
2348
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
2349
|
-
"name": "websocket",
|
|
2333
|
+
"scratch": {
|
|
2334
|
+
"char": "s",
|
|
2335
|
+
"description": "Select scratch org related to default DevHub",
|
|
2336
|
+
"name": "scratch",
|
|
2337
|
+
"allowNo": false,
|
|
2338
|
+
"type": "boolean"
|
|
2339
|
+
},
|
|
2340
|
+
"debug": {
|
|
2341
|
+
"char": "d",
|
|
2342
|
+
"description": "Activate debug mode (more logs)",
|
|
2343
|
+
"name": "debug",
|
|
2344
|
+
"allowNo": false,
|
|
2345
|
+
"type": "boolean"
|
|
2346
|
+
},
|
|
2347
|
+
"websocket": {
|
|
2348
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
2349
|
+
"name": "websocket",
|
|
2350
2350
|
"hasDynamicHelp": false,
|
|
2351
2351
|
"multiple": false,
|
|
2352
2352
|
"type": "option"
|
|
@@ -2360,30 +2360,30 @@
|
|
|
2360
2360
|
},
|
|
2361
2361
|
"hasDynamicHelp": false,
|
|
2362
2362
|
"hiddenAliases": [],
|
|
2363
|
-
"id": "hardis:
|
|
2363
|
+
"id": "hardis:org:select",
|
|
2364
2364
|
"pluginAlias": "sfdx-hardis",
|
|
2365
2365
|
"pluginName": "sfdx-hardis",
|
|
2366
2366
|
"pluginType": "core",
|
|
2367
2367
|
"strict": true,
|
|
2368
2368
|
"enableJsonFlag": true,
|
|
2369
|
-
"title": "
|
|
2369
|
+
"title": "Select org",
|
|
2370
2370
|
"requiresProject": false,
|
|
2371
2371
|
"isESM": true,
|
|
2372
2372
|
"relativePath": [
|
|
2373
2373
|
"lib",
|
|
2374
2374
|
"commands",
|
|
2375
2375
|
"hardis",
|
|
2376
|
-
"
|
|
2377
|
-
"
|
|
2376
|
+
"org",
|
|
2377
|
+
"select.js"
|
|
2378
2378
|
],
|
|
2379
2379
|
"aliasPermutations": [],
|
|
2380
2380
|
"permutations": [
|
|
2381
|
-
"hardis:
|
|
2382
|
-
"
|
|
2383
|
-
"
|
|
2384
|
-
"hardis:
|
|
2385
|
-
"
|
|
2386
|
-
"
|
|
2381
|
+
"hardis:org:select",
|
|
2382
|
+
"org:hardis:select",
|
|
2383
|
+
"org:select:hardis",
|
|
2384
|
+
"hardis:select:org",
|
|
2385
|
+
"select:hardis:org",
|
|
2386
|
+
"select:org:hardis"
|
|
2387
2387
|
]
|
|
2388
2388
|
},
|
|
2389
2389
|
"hardis:packagexml:append": {
|
|
@@ -4114,6 +4114,135 @@
|
|
|
4114
4114
|
"ws:work:hardis"
|
|
4115
4115
|
]
|
|
4116
4116
|
},
|
|
4117
|
+
"hardis:git:pull-requests:extract": {
|
|
4118
|
+
"aliases": [],
|
|
4119
|
+
"args": {},
|
|
4120
|
+
"description": "Extract pull requests with filtering criteria",
|
|
4121
|
+
"examples": [
|
|
4122
|
+
"$ sf hardis:git:pull-requests:extract",
|
|
4123
|
+
"$ sf hardis:git:pull-requests:extract --target-branch main --status merged"
|
|
4124
|
+
],
|
|
4125
|
+
"flags": {
|
|
4126
|
+
"json": {
|
|
4127
|
+
"description": "Format output as json.",
|
|
4128
|
+
"helpGroup": "GLOBAL",
|
|
4129
|
+
"name": "json",
|
|
4130
|
+
"allowNo": false,
|
|
4131
|
+
"type": "boolean"
|
|
4132
|
+
},
|
|
4133
|
+
"flags-dir": {
|
|
4134
|
+
"helpGroup": "GLOBAL",
|
|
4135
|
+
"name": "flags-dir",
|
|
4136
|
+
"summary": "Import flag values from a directory.",
|
|
4137
|
+
"hasDynamicHelp": false,
|
|
4138
|
+
"multiple": false,
|
|
4139
|
+
"type": "option"
|
|
4140
|
+
},
|
|
4141
|
+
"target-branch": {
|
|
4142
|
+
"char": "t",
|
|
4143
|
+
"description": "Target branch of PRs",
|
|
4144
|
+
"name": "target-branch",
|
|
4145
|
+
"hasDynamicHelp": false,
|
|
4146
|
+
"multiple": false,
|
|
4147
|
+
"type": "option"
|
|
4148
|
+
},
|
|
4149
|
+
"status": {
|
|
4150
|
+
"char": "x",
|
|
4151
|
+
"description": "Status of the PR",
|
|
4152
|
+
"name": "status",
|
|
4153
|
+
"hasDynamicHelp": false,
|
|
4154
|
+
"multiple": false,
|
|
4155
|
+
"options": [
|
|
4156
|
+
"open",
|
|
4157
|
+
"merged",
|
|
4158
|
+
"abandoned"
|
|
4159
|
+
],
|
|
4160
|
+
"type": "option"
|
|
4161
|
+
},
|
|
4162
|
+
"min-date": {
|
|
4163
|
+
"char": "m",
|
|
4164
|
+
"description": "Minimum date for PR",
|
|
4165
|
+
"name": "min-date",
|
|
4166
|
+
"hasDynamicHelp": false,
|
|
4167
|
+
"multiple": false,
|
|
4168
|
+
"type": "option"
|
|
4169
|
+
},
|
|
4170
|
+
"outputfile": {
|
|
4171
|
+
"char": "f",
|
|
4172
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
4173
|
+
"name": "outputfile",
|
|
4174
|
+
"hasDynamicHelp": false,
|
|
4175
|
+
"multiple": false,
|
|
4176
|
+
"type": "option"
|
|
4177
|
+
},
|
|
4178
|
+
"debug": {
|
|
4179
|
+
"char": "d",
|
|
4180
|
+
"description": "Activate debug mode (more logs)",
|
|
4181
|
+
"name": "debug",
|
|
4182
|
+
"allowNo": false,
|
|
4183
|
+
"type": "boolean"
|
|
4184
|
+
},
|
|
4185
|
+
"websocket": {
|
|
4186
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
4187
|
+
"name": "websocket",
|
|
4188
|
+
"hasDynamicHelp": false,
|
|
4189
|
+
"multiple": false,
|
|
4190
|
+
"type": "option"
|
|
4191
|
+
},
|
|
4192
|
+
"skipauth": {
|
|
4193
|
+
"description": "Skip authentication check when a default username is required",
|
|
4194
|
+
"name": "skipauth",
|
|
4195
|
+
"allowNo": false,
|
|
4196
|
+
"type": "boolean"
|
|
4197
|
+
}
|
|
4198
|
+
},
|
|
4199
|
+
"hasDynamicHelp": false,
|
|
4200
|
+
"hiddenAliases": [],
|
|
4201
|
+
"id": "hardis:git:pull-requests:extract",
|
|
4202
|
+
"pluginAlias": "sfdx-hardis",
|
|
4203
|
+
"pluginName": "sfdx-hardis",
|
|
4204
|
+
"pluginType": "core",
|
|
4205
|
+
"strict": true,
|
|
4206
|
+
"enableJsonFlag": true,
|
|
4207
|
+
"title": "Extract pull requests",
|
|
4208
|
+
"requiresProject": true,
|
|
4209
|
+
"isESM": true,
|
|
4210
|
+
"relativePath": [
|
|
4211
|
+
"lib",
|
|
4212
|
+
"commands",
|
|
4213
|
+
"hardis",
|
|
4214
|
+
"git",
|
|
4215
|
+
"pull-requests",
|
|
4216
|
+
"extract.js"
|
|
4217
|
+
],
|
|
4218
|
+
"aliasPermutations": [],
|
|
4219
|
+
"permutations": [
|
|
4220
|
+
"hardis:git:pull-requests:extract",
|
|
4221
|
+
"git:hardis:pull-requests:extract",
|
|
4222
|
+
"git:pull-requests:hardis:extract",
|
|
4223
|
+
"git:pull-requests:extract:hardis",
|
|
4224
|
+
"hardis:pull-requests:git:extract",
|
|
4225
|
+
"pull-requests:hardis:git:extract",
|
|
4226
|
+
"pull-requests:git:hardis:extract",
|
|
4227
|
+
"pull-requests:git:extract:hardis",
|
|
4228
|
+
"hardis:pull-requests:extract:git",
|
|
4229
|
+
"pull-requests:hardis:extract:git",
|
|
4230
|
+
"pull-requests:extract:hardis:git",
|
|
4231
|
+
"pull-requests:extract:git:hardis",
|
|
4232
|
+
"hardis:git:extract:pull-requests",
|
|
4233
|
+
"git:hardis:extract:pull-requests",
|
|
4234
|
+
"git:extract:hardis:pull-requests",
|
|
4235
|
+
"git:extract:pull-requests:hardis",
|
|
4236
|
+
"hardis:extract:git:pull-requests",
|
|
4237
|
+
"extract:hardis:git:pull-requests",
|
|
4238
|
+
"extract:git:hardis:pull-requests",
|
|
4239
|
+
"extract:git:pull-requests:hardis",
|
|
4240
|
+
"hardis:extract:pull-requests:git",
|
|
4241
|
+
"extract:hardis:pull-requests:git",
|
|
4242
|
+
"extract:pull-requests:hardis:git",
|
|
4243
|
+
"extract:pull-requests:git:hardis"
|
|
4244
|
+
]
|
|
4245
|
+
},
|
|
4117
4246
|
"hardis:doc:extract:permsetgroups": {
|
|
4118
4247
|
"aliases": [],
|
|
4119
4248
|
"args": {},
|
|
@@ -4304,13 +4433,12 @@
|
|
|
4304
4433
|
"generate:plugin:doc:hardis"
|
|
4305
4434
|
]
|
|
4306
4435
|
},
|
|
4307
|
-
"hardis:
|
|
4436
|
+
"hardis:package:version:create": {
|
|
4308
4437
|
"aliases": [],
|
|
4309
4438
|
"args": {},
|
|
4310
|
-
"description": "
|
|
4439
|
+
"description": "Create a new version of an unlocked package",
|
|
4311
4440
|
"examples": [
|
|
4312
|
-
"$ sf hardis:
|
|
4313
|
-
"$ sf hardis:git:pull-requests:extract --target-branch main --status merged"
|
|
4441
|
+
"$ sf hardis:package:version:create"
|
|
4314
4442
|
],
|
|
4315
4443
|
"flags": {
|
|
4316
4444
|
"json": {
|
|
@@ -4328,47 +4456,41 @@
|
|
|
4328
4456
|
"multiple": false,
|
|
4329
4457
|
"type": "option"
|
|
4330
4458
|
},
|
|
4331
|
-
"
|
|
4332
|
-
"char": "
|
|
4333
|
-
"description": "
|
|
4334
|
-
"name": "
|
|
4335
|
-
"
|
|
4336
|
-
"
|
|
4337
|
-
"type": "option"
|
|
4459
|
+
"debug": {
|
|
4460
|
+
"char": "d",
|
|
4461
|
+
"description": "Activate debug mode (more logs)",
|
|
4462
|
+
"name": "debug",
|
|
4463
|
+
"allowNo": false,
|
|
4464
|
+
"type": "boolean"
|
|
4338
4465
|
},
|
|
4339
|
-
"
|
|
4340
|
-
"char": "
|
|
4341
|
-
"description": "
|
|
4342
|
-
"name": "
|
|
4466
|
+
"package": {
|
|
4467
|
+
"char": "p",
|
|
4468
|
+
"description": "Package identifier that you want to use to generate a new package version",
|
|
4469
|
+
"name": "package",
|
|
4470
|
+
"default": "",
|
|
4343
4471
|
"hasDynamicHelp": false,
|
|
4344
4472
|
"multiple": false,
|
|
4345
|
-
"options": [
|
|
4346
|
-
"open",
|
|
4347
|
-
"merged",
|
|
4348
|
-
"abandoned"
|
|
4349
|
-
],
|
|
4350
4473
|
"type": "option"
|
|
4351
4474
|
},
|
|
4352
|
-
"
|
|
4353
|
-
"char": "
|
|
4354
|
-
"description": "
|
|
4355
|
-
"name": "
|
|
4475
|
+
"installkey": {
|
|
4476
|
+
"char": "k",
|
|
4477
|
+
"description": "Package installation key",
|
|
4478
|
+
"name": "installkey",
|
|
4479
|
+
"default": "",
|
|
4356
4480
|
"hasDynamicHelp": false,
|
|
4357
4481
|
"multiple": false,
|
|
4358
4482
|
"type": "option"
|
|
4359
4483
|
},
|
|
4360
|
-
"
|
|
4361
|
-
"
|
|
4362
|
-
"
|
|
4363
|
-
"
|
|
4364
|
-
"
|
|
4365
|
-
"multiple": false,
|
|
4366
|
-
"type": "option"
|
|
4484
|
+
"deleteafter": {
|
|
4485
|
+
"description": "Delete package version after creating it",
|
|
4486
|
+
"name": "deleteafter",
|
|
4487
|
+
"allowNo": false,
|
|
4488
|
+
"type": "boolean"
|
|
4367
4489
|
},
|
|
4368
|
-
"
|
|
4369
|
-
"char": "
|
|
4370
|
-
"description": "
|
|
4371
|
-
"name": "
|
|
4490
|
+
"install": {
|
|
4491
|
+
"char": "i",
|
|
4492
|
+
"description": "Install package version on default org after generation",
|
|
4493
|
+
"name": "install",
|
|
4372
4494
|
"allowNo": false,
|
|
4373
4495
|
"type": "boolean"
|
|
4374
4496
|
},
|
|
@@ -4384,62 +4506,75 @@
|
|
|
4384
4506
|
"name": "skipauth",
|
|
4385
4507
|
"allowNo": false,
|
|
4386
4508
|
"type": "boolean"
|
|
4509
|
+
},
|
|
4510
|
+
"target-dev-hub": {
|
|
4511
|
+
"aliases": [
|
|
4512
|
+
"targetdevhubusername"
|
|
4513
|
+
],
|
|
4514
|
+
"char": "v",
|
|
4515
|
+
"deprecateAliases": true,
|
|
4516
|
+
"name": "target-dev-hub",
|
|
4517
|
+
"noCacheDefault": true,
|
|
4518
|
+
"required": true,
|
|
4519
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
4520
|
+
"hasDynamicHelp": true,
|
|
4521
|
+
"multiple": false,
|
|
4522
|
+
"type": "option"
|
|
4387
4523
|
}
|
|
4388
4524
|
},
|
|
4389
|
-
"hasDynamicHelp":
|
|
4525
|
+
"hasDynamicHelp": true,
|
|
4390
4526
|
"hiddenAliases": [],
|
|
4391
|
-
"id": "hardis:
|
|
4527
|
+
"id": "hardis:package:version:create",
|
|
4392
4528
|
"pluginAlias": "sfdx-hardis",
|
|
4393
4529
|
"pluginName": "sfdx-hardis",
|
|
4394
4530
|
"pluginType": "core",
|
|
4395
4531
|
"strict": true,
|
|
4396
4532
|
"enableJsonFlag": true,
|
|
4397
|
-
"title": "
|
|
4533
|
+
"title": "Create a new version of a package",
|
|
4398
4534
|
"requiresProject": true,
|
|
4399
4535
|
"isESM": true,
|
|
4400
4536
|
"relativePath": [
|
|
4401
4537
|
"lib",
|
|
4402
4538
|
"commands",
|
|
4403
4539
|
"hardis",
|
|
4404
|
-
"
|
|
4405
|
-
"
|
|
4406
|
-
"
|
|
4540
|
+
"package",
|
|
4541
|
+
"version",
|
|
4542
|
+
"create.js"
|
|
4407
4543
|
],
|
|
4408
4544
|
"aliasPermutations": [],
|
|
4409
4545
|
"permutations": [
|
|
4410
|
-
"hardis:
|
|
4411
|
-
"
|
|
4412
|
-
"
|
|
4413
|
-
"
|
|
4414
|
-
"hardis:
|
|
4415
|
-
"
|
|
4416
|
-
"
|
|
4417
|
-
"
|
|
4418
|
-
"hardis:
|
|
4419
|
-
"
|
|
4420
|
-
"
|
|
4421
|
-
"
|
|
4422
|
-
"hardis:
|
|
4423
|
-
"
|
|
4424
|
-
"
|
|
4425
|
-
"
|
|
4426
|
-
"hardis:
|
|
4427
|
-
"
|
|
4428
|
-
"
|
|
4429
|
-
"
|
|
4430
|
-
"hardis:
|
|
4431
|
-
"
|
|
4432
|
-
"
|
|
4433
|
-
"
|
|
4546
|
+
"hardis:package:version:create",
|
|
4547
|
+
"package:hardis:version:create",
|
|
4548
|
+
"package:version:hardis:create",
|
|
4549
|
+
"package:version:create:hardis",
|
|
4550
|
+
"hardis:version:package:create",
|
|
4551
|
+
"version:hardis:package:create",
|
|
4552
|
+
"version:package:hardis:create",
|
|
4553
|
+
"version:package:create:hardis",
|
|
4554
|
+
"hardis:version:create:package",
|
|
4555
|
+
"version:hardis:create:package",
|
|
4556
|
+
"version:create:hardis:package",
|
|
4557
|
+
"version:create:package:hardis",
|
|
4558
|
+
"hardis:package:create:version",
|
|
4559
|
+
"package:hardis:create:version",
|
|
4560
|
+
"package:create:hardis:version",
|
|
4561
|
+
"package:create:version:hardis",
|
|
4562
|
+
"hardis:create:package:version",
|
|
4563
|
+
"create:hardis:package:version",
|
|
4564
|
+
"create:package:hardis:version",
|
|
4565
|
+
"create:package:version:hardis",
|
|
4566
|
+
"hardis:create:version:package",
|
|
4567
|
+
"create:hardis:version:package",
|
|
4568
|
+
"create:version:hardis:package",
|
|
4569
|
+
"create:version:package:hardis"
|
|
4434
4570
|
]
|
|
4435
4571
|
},
|
|
4436
|
-
"hardis:
|
|
4572
|
+
"hardis:package:version:list": {
|
|
4437
4573
|
"aliases": [],
|
|
4438
4574
|
"args": {},
|
|
4439
|
-
"description": "
|
|
4575
|
+
"description": "List versions of unlocked package",
|
|
4440
4576
|
"examples": [
|
|
4441
|
-
"$ sf hardis:
|
|
4442
|
-
"$ sf hardis:org:community:update --name 'MyNetworkName,MySecondNetworkName' --status Live"
|
|
4577
|
+
"$ sf hardis:package:version:list"
|
|
4443
4578
|
],
|
|
4444
4579
|
"flags": {
|
|
4445
4580
|
"json": {
|
|
@@ -4457,42 +4592,36 @@
|
|
|
4457
4592
|
"multiple": false,
|
|
4458
4593
|
"type": "option"
|
|
4459
4594
|
},
|
|
4460
|
-
"
|
|
4461
|
-
"char": "
|
|
4462
|
-
"description": "
|
|
4463
|
-
"name": "
|
|
4464
|
-
"
|
|
4465
|
-
"
|
|
4466
|
-
"multiple": false,
|
|
4467
|
-
"type": "option"
|
|
4595
|
+
"debug": {
|
|
4596
|
+
"char": "d",
|
|
4597
|
+
"description": "Activate debug mode (more logs)",
|
|
4598
|
+
"name": "debug",
|
|
4599
|
+
"allowNo": false,
|
|
4600
|
+
"type": "boolean"
|
|
4468
4601
|
},
|
|
4469
|
-
"
|
|
4470
|
-
"
|
|
4471
|
-
"
|
|
4472
|
-
"name": "status",
|
|
4473
|
-
"required": true,
|
|
4602
|
+
"websocket": {
|
|
4603
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
4604
|
+
"name": "websocket",
|
|
4474
4605
|
"hasDynamicHelp": false,
|
|
4475
4606
|
"multiple": false,
|
|
4476
4607
|
"type": "option"
|
|
4477
4608
|
},
|
|
4478
|
-
"
|
|
4479
|
-
"
|
|
4480
|
-
"
|
|
4481
|
-
"name": "debug",
|
|
4609
|
+
"skipauth": {
|
|
4610
|
+
"description": "Skip authentication check when a default username is required",
|
|
4611
|
+
"name": "skipauth",
|
|
4482
4612
|
"allowNo": false,
|
|
4483
4613
|
"type": "boolean"
|
|
4484
4614
|
},
|
|
4485
|
-
"target-
|
|
4615
|
+
"target-dev-hub": {
|
|
4486
4616
|
"aliases": [
|
|
4487
|
-
"
|
|
4488
|
-
"u"
|
|
4617
|
+
"targetdevhubusername"
|
|
4489
4618
|
],
|
|
4490
|
-
"char": "
|
|
4619
|
+
"char": "v",
|
|
4491
4620
|
"deprecateAliases": true,
|
|
4492
|
-
"name": "target-
|
|
4621
|
+
"name": "target-dev-hub",
|
|
4493
4622
|
"noCacheDefault": true,
|
|
4494
4623
|
"required": true,
|
|
4495
|
-
"summary": "Username or alias of the
|
|
4624
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
4496
4625
|
"hasDynamicHelp": true,
|
|
4497
4626
|
"multiple": false,
|
|
4498
4627
|
"type": "option"
|
|
@@ -4500,56 +4629,58 @@
|
|
|
4500
4629
|
},
|
|
4501
4630
|
"hasDynamicHelp": true,
|
|
4502
4631
|
"hiddenAliases": [],
|
|
4503
|
-
"id": "hardis:
|
|
4632
|
+
"id": "hardis:package:version:list",
|
|
4504
4633
|
"pluginAlias": "sfdx-hardis",
|
|
4505
4634
|
"pluginName": "sfdx-hardis",
|
|
4506
4635
|
"pluginType": "core",
|
|
4507
4636
|
"strict": true,
|
|
4508
|
-
"summary": "Update a community status.",
|
|
4509
4637
|
"enableJsonFlag": true,
|
|
4638
|
+
"title": "Create a new version of a package",
|
|
4639
|
+
"requiresProject": true,
|
|
4510
4640
|
"isESM": true,
|
|
4511
4641
|
"relativePath": [
|
|
4512
4642
|
"lib",
|
|
4513
4643
|
"commands",
|
|
4514
4644
|
"hardis",
|
|
4515
|
-
"
|
|
4516
|
-
"
|
|
4517
|
-
"
|
|
4645
|
+
"package",
|
|
4646
|
+
"version",
|
|
4647
|
+
"list.js"
|
|
4518
4648
|
],
|
|
4519
4649
|
"aliasPermutations": [],
|
|
4520
4650
|
"permutations": [
|
|
4521
|
-
"hardis:
|
|
4522
|
-
"
|
|
4523
|
-
"
|
|
4524
|
-
"
|
|
4525
|
-
"hardis:
|
|
4526
|
-
"
|
|
4527
|
-
"
|
|
4528
|
-
"
|
|
4529
|
-
"hardis:
|
|
4530
|
-
"
|
|
4531
|
-
"
|
|
4532
|
-
"
|
|
4533
|
-
"hardis:
|
|
4534
|
-
"
|
|
4535
|
-
"
|
|
4536
|
-
"
|
|
4537
|
-
"hardis:
|
|
4538
|
-
"
|
|
4539
|
-
"
|
|
4540
|
-
"
|
|
4541
|
-
"hardis:
|
|
4542
|
-
"
|
|
4543
|
-
"
|
|
4544
|
-
"
|
|
4651
|
+
"hardis:package:version:list",
|
|
4652
|
+
"package:hardis:version:list",
|
|
4653
|
+
"package:version:hardis:list",
|
|
4654
|
+
"package:version:list:hardis",
|
|
4655
|
+
"hardis:version:package:list",
|
|
4656
|
+
"version:hardis:package:list",
|
|
4657
|
+
"version:package:hardis:list",
|
|
4658
|
+
"version:package:list:hardis",
|
|
4659
|
+
"hardis:version:list:package",
|
|
4660
|
+
"version:hardis:list:package",
|
|
4661
|
+
"version:list:hardis:package",
|
|
4662
|
+
"version:list:package:hardis",
|
|
4663
|
+
"hardis:package:list:version",
|
|
4664
|
+
"package:hardis:list:version",
|
|
4665
|
+
"package:list:hardis:version",
|
|
4666
|
+
"package:list:version:hardis",
|
|
4667
|
+
"hardis:list:package:version",
|
|
4668
|
+
"list:hardis:package:version",
|
|
4669
|
+
"list:package:hardis:version",
|
|
4670
|
+
"list:package:version:hardis",
|
|
4671
|
+
"hardis:list:version:package",
|
|
4672
|
+
"list:hardis:version:package",
|
|
4673
|
+
"list:version:hardis:package",
|
|
4674
|
+
"list:version:package:hardis"
|
|
4545
4675
|
]
|
|
4546
4676
|
},
|
|
4547
|
-
"hardis:
|
|
4677
|
+
"hardis:package:version:promote": {
|
|
4548
4678
|
"aliases": [],
|
|
4549
4679
|
"args": {},
|
|
4550
|
-
"description": "
|
|
4680
|
+
"description": "Promote package(s) version(s): convert it from beta to released",
|
|
4551
4681
|
"examples": [
|
|
4552
|
-
"$ sf hardis:
|
|
4682
|
+
"$ sf hardis:package:version:promote",
|
|
4683
|
+
"$ sf hardis:package:version:promote --auto"
|
|
4553
4684
|
],
|
|
4554
4685
|
"flags": {
|
|
4555
4686
|
"json": {
|
|
@@ -4567,6 +4698,13 @@
|
|
|
4567
4698
|
"multiple": false,
|
|
4568
4699
|
"type": "option"
|
|
4569
4700
|
},
|
|
4701
|
+
"auto": {
|
|
4702
|
+
"char": "f",
|
|
4703
|
+
"description": "Auto-detect which versions of which packages need to be promoted",
|
|
4704
|
+
"name": "auto",
|
|
4705
|
+
"allowNo": false,
|
|
4706
|
+
"type": "boolean"
|
|
4707
|
+
},
|
|
4570
4708
|
"debug": {
|
|
4571
4709
|
"char": "d",
|
|
4572
4710
|
"description": "Activate debug mode (more logs)",
|
|
@@ -4586,59 +4724,164 @@
|
|
|
4586
4724
|
"name": "skipauth",
|
|
4587
4725
|
"allowNo": false,
|
|
4588
4726
|
"type": "boolean"
|
|
4727
|
+
},
|
|
4728
|
+
"target-dev-hub": {
|
|
4729
|
+
"aliases": [
|
|
4730
|
+
"targetdevhubusername"
|
|
4731
|
+
],
|
|
4732
|
+
"char": "v",
|
|
4733
|
+
"deprecateAliases": true,
|
|
4734
|
+
"name": "target-dev-hub",
|
|
4735
|
+
"noCacheDefault": true,
|
|
4736
|
+
"required": true,
|
|
4737
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
4738
|
+
"hasDynamicHelp": true,
|
|
4739
|
+
"multiple": false,
|
|
4740
|
+
"type": "option"
|
|
4589
4741
|
}
|
|
4590
4742
|
},
|
|
4591
|
-
"hasDynamicHelp":
|
|
4743
|
+
"hasDynamicHelp": true,
|
|
4592
4744
|
"hiddenAliases": [],
|
|
4593
|
-
"id": "hardis:
|
|
4745
|
+
"id": "hardis:package:version:promote",
|
|
4594
4746
|
"pluginAlias": "sfdx-hardis",
|
|
4595
4747
|
"pluginName": "sfdx-hardis",
|
|
4596
4748
|
"pluginType": "core",
|
|
4597
4749
|
"strict": true,
|
|
4598
4750
|
"enableJsonFlag": true,
|
|
4599
|
-
"title": "
|
|
4600
|
-
"requiresProject":
|
|
4601
|
-
"requiresSfdxPlugins": [
|
|
4602
|
-
"sfdmu"
|
|
4603
|
-
],
|
|
4751
|
+
"title": "Promote new versions of package(s)",
|
|
4752
|
+
"requiresProject": true,
|
|
4604
4753
|
"isESM": true,
|
|
4605
4754
|
"relativePath": [
|
|
4606
4755
|
"lib",
|
|
4607
4756
|
"commands",
|
|
4608
4757
|
"hardis",
|
|
4609
|
-
"
|
|
4610
|
-
"
|
|
4611
|
-
"
|
|
4758
|
+
"package",
|
|
4759
|
+
"version",
|
|
4760
|
+
"promote.js"
|
|
4612
4761
|
],
|
|
4613
4762
|
"aliasPermutations": [],
|
|
4614
4763
|
"permutations": [
|
|
4615
|
-
"hardis:
|
|
4616
|
-
"
|
|
4617
|
-
"
|
|
4618
|
-
"
|
|
4619
|
-
"hardis:
|
|
4620
|
-
"
|
|
4621
|
-
"
|
|
4622
|
-
"
|
|
4623
|
-
"hardis:
|
|
4624
|
-
"
|
|
4625
|
-
"
|
|
4626
|
-
"
|
|
4627
|
-
"hardis:
|
|
4628
|
-
"
|
|
4629
|
-
"
|
|
4630
|
-
"
|
|
4631
|
-
"hardis:
|
|
4632
|
-
"
|
|
4633
|
-
"
|
|
4634
|
-
"
|
|
4635
|
-
"hardis:
|
|
4636
|
-
"
|
|
4637
|
-
"
|
|
4638
|
-
"
|
|
4764
|
+
"hardis:package:version:promote",
|
|
4765
|
+
"package:hardis:version:promote",
|
|
4766
|
+
"package:version:hardis:promote",
|
|
4767
|
+
"package:version:promote:hardis",
|
|
4768
|
+
"hardis:version:package:promote",
|
|
4769
|
+
"version:hardis:package:promote",
|
|
4770
|
+
"version:package:hardis:promote",
|
|
4771
|
+
"version:package:promote:hardis",
|
|
4772
|
+
"hardis:version:promote:package",
|
|
4773
|
+
"version:hardis:promote:package",
|
|
4774
|
+
"version:promote:hardis:package",
|
|
4775
|
+
"version:promote:package:hardis",
|
|
4776
|
+
"hardis:package:promote:version",
|
|
4777
|
+
"package:hardis:promote:version",
|
|
4778
|
+
"package:promote:hardis:version",
|
|
4779
|
+
"package:promote:version:hardis",
|
|
4780
|
+
"hardis:promote:package:version",
|
|
4781
|
+
"promote:hardis:package:version",
|
|
4782
|
+
"promote:package:hardis:version",
|
|
4783
|
+
"promote:package:version:hardis",
|
|
4784
|
+
"hardis:promote:version:package",
|
|
4785
|
+
"promote:hardis:version:package",
|
|
4786
|
+
"promote:version:hardis:package",
|
|
4787
|
+
"promote:version:package:hardis"
|
|
4639
4788
|
]
|
|
4640
4789
|
},
|
|
4641
|
-
"hardis:org:configure:
|
|
4790
|
+
"hardis:org:configure:data": {
|
|
4791
|
+
"aliases": [],
|
|
4792
|
+
"args": {},
|
|
4793
|
+
"description": "Configure Data Export/Import with a [SFDX Data Loader](https://help.sfdmu.com/) Project\n\nSee article:\n\n[](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac)\n",
|
|
4794
|
+
"examples": [
|
|
4795
|
+
"$ sf hardis:org:configure:data"
|
|
4796
|
+
],
|
|
4797
|
+
"flags": {
|
|
4798
|
+
"json": {
|
|
4799
|
+
"description": "Format output as json.",
|
|
4800
|
+
"helpGroup": "GLOBAL",
|
|
4801
|
+
"name": "json",
|
|
4802
|
+
"allowNo": false,
|
|
4803
|
+
"type": "boolean"
|
|
4804
|
+
},
|
|
4805
|
+
"flags-dir": {
|
|
4806
|
+
"helpGroup": "GLOBAL",
|
|
4807
|
+
"name": "flags-dir",
|
|
4808
|
+
"summary": "Import flag values from a directory.",
|
|
4809
|
+
"hasDynamicHelp": false,
|
|
4810
|
+
"multiple": false,
|
|
4811
|
+
"type": "option"
|
|
4812
|
+
},
|
|
4813
|
+
"debug": {
|
|
4814
|
+
"char": "d",
|
|
4815
|
+
"description": "Activate debug mode (more logs)",
|
|
4816
|
+
"name": "debug",
|
|
4817
|
+
"allowNo": false,
|
|
4818
|
+
"type": "boolean"
|
|
4819
|
+
},
|
|
4820
|
+
"websocket": {
|
|
4821
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
4822
|
+
"name": "websocket",
|
|
4823
|
+
"hasDynamicHelp": false,
|
|
4824
|
+
"multiple": false,
|
|
4825
|
+
"type": "option"
|
|
4826
|
+
},
|
|
4827
|
+
"skipauth": {
|
|
4828
|
+
"description": "Skip authentication check when a default username is required",
|
|
4829
|
+
"name": "skipauth",
|
|
4830
|
+
"allowNo": false,
|
|
4831
|
+
"type": "boolean"
|
|
4832
|
+
}
|
|
4833
|
+
},
|
|
4834
|
+
"hasDynamicHelp": false,
|
|
4835
|
+
"hiddenAliases": [],
|
|
4836
|
+
"id": "hardis:org:configure:data",
|
|
4837
|
+
"pluginAlias": "sfdx-hardis",
|
|
4838
|
+
"pluginName": "sfdx-hardis",
|
|
4839
|
+
"pluginType": "core",
|
|
4840
|
+
"strict": true,
|
|
4841
|
+
"enableJsonFlag": true,
|
|
4842
|
+
"title": "Configure Data project",
|
|
4843
|
+
"requiresProject": false,
|
|
4844
|
+
"requiresSfdxPlugins": [
|
|
4845
|
+
"sfdmu"
|
|
4846
|
+
],
|
|
4847
|
+
"isESM": true,
|
|
4848
|
+
"relativePath": [
|
|
4849
|
+
"lib",
|
|
4850
|
+
"commands",
|
|
4851
|
+
"hardis",
|
|
4852
|
+
"org",
|
|
4853
|
+
"configure",
|
|
4854
|
+
"data.js"
|
|
4855
|
+
],
|
|
4856
|
+
"aliasPermutations": [],
|
|
4857
|
+
"permutations": [
|
|
4858
|
+
"hardis:org:configure:data",
|
|
4859
|
+
"org:hardis:configure:data",
|
|
4860
|
+
"org:configure:hardis:data",
|
|
4861
|
+
"org:configure:data:hardis",
|
|
4862
|
+
"hardis:configure:org:data",
|
|
4863
|
+
"configure:hardis:org:data",
|
|
4864
|
+
"configure:org:hardis:data",
|
|
4865
|
+
"configure:org:data:hardis",
|
|
4866
|
+
"hardis:configure:data:org",
|
|
4867
|
+
"configure:hardis:data:org",
|
|
4868
|
+
"configure:data:hardis:org",
|
|
4869
|
+
"configure:data:org:hardis",
|
|
4870
|
+
"hardis:org:data:configure",
|
|
4871
|
+
"org:hardis:data:configure",
|
|
4872
|
+
"org:data:hardis:configure",
|
|
4873
|
+
"org:data:configure:hardis",
|
|
4874
|
+
"hardis:data:org:configure",
|
|
4875
|
+
"data:hardis:org:configure",
|
|
4876
|
+
"data:org:hardis:configure",
|
|
4877
|
+
"data:org:configure:hardis",
|
|
4878
|
+
"hardis:data:configure:org",
|
|
4879
|
+
"data:hardis:configure:org",
|
|
4880
|
+
"data:configure:hardis:org",
|
|
4881
|
+
"data:configure:org:hardis"
|
|
4882
|
+
]
|
|
4883
|
+
},
|
|
4884
|
+
"hardis:org:configure:files": {
|
|
4642
4885
|
"aliases": [],
|
|
4643
4886
|
"args": {},
|
|
4644
4887
|
"description": "Configure export of file attachments from a Salesforce org\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n",
|
|
@@ -4845,6 +5088,117 @@
|
|
|
4845
5088
|
"monitoring:configure:org:hardis"
|
|
4846
5089
|
]
|
|
4847
5090
|
},
|
|
5091
|
+
"hardis:org:community:update": {
|
|
5092
|
+
"aliases": [],
|
|
5093
|
+
"args": {},
|
|
5094
|
+
"description": "Activate or deactivate a community by changing it's status:\n\n- Live\n- DownForMaintenance",
|
|
5095
|
+
"examples": [
|
|
5096
|
+
"$ sf hardis:org:community:update --name 'MyNetworkName' --status DownForMaintenance",
|
|
5097
|
+
"$ sf hardis:org:community:update --name 'MyNetworkName,MySecondNetworkName' --status Live"
|
|
5098
|
+
],
|
|
5099
|
+
"flags": {
|
|
5100
|
+
"json": {
|
|
5101
|
+
"description": "Format output as json.",
|
|
5102
|
+
"helpGroup": "GLOBAL",
|
|
5103
|
+
"name": "json",
|
|
5104
|
+
"allowNo": false,
|
|
5105
|
+
"type": "boolean"
|
|
5106
|
+
},
|
|
5107
|
+
"flags-dir": {
|
|
5108
|
+
"helpGroup": "GLOBAL",
|
|
5109
|
+
"name": "flags-dir",
|
|
5110
|
+
"summary": "Import flag values from a directory.",
|
|
5111
|
+
"hasDynamicHelp": false,
|
|
5112
|
+
"multiple": false,
|
|
5113
|
+
"type": "option"
|
|
5114
|
+
},
|
|
5115
|
+
"name": {
|
|
5116
|
+
"char": "n",
|
|
5117
|
+
"description": "List of Networks Names that you want to update, separated by comma",
|
|
5118
|
+
"name": "name",
|
|
5119
|
+
"required": true,
|
|
5120
|
+
"hasDynamicHelp": false,
|
|
5121
|
+
"multiple": false,
|
|
5122
|
+
"type": "option"
|
|
5123
|
+
},
|
|
5124
|
+
"status": {
|
|
5125
|
+
"char": "s",
|
|
5126
|
+
"description": "New status for the community, available values are: Live, DownForMaintenance",
|
|
5127
|
+
"name": "status",
|
|
5128
|
+
"required": true,
|
|
5129
|
+
"hasDynamicHelp": false,
|
|
5130
|
+
"multiple": false,
|
|
5131
|
+
"type": "option"
|
|
5132
|
+
},
|
|
5133
|
+
"debug": {
|
|
5134
|
+
"char": "d",
|
|
5135
|
+
"description": "Activate debug mode (more logs)",
|
|
5136
|
+
"name": "debug",
|
|
5137
|
+
"allowNo": false,
|
|
5138
|
+
"type": "boolean"
|
|
5139
|
+
},
|
|
5140
|
+
"target-org": {
|
|
5141
|
+
"aliases": [
|
|
5142
|
+
"targetusername",
|
|
5143
|
+
"u"
|
|
5144
|
+
],
|
|
5145
|
+
"char": "o",
|
|
5146
|
+
"deprecateAliases": true,
|
|
5147
|
+
"name": "target-org",
|
|
5148
|
+
"noCacheDefault": true,
|
|
5149
|
+
"required": true,
|
|
5150
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5151
|
+
"hasDynamicHelp": true,
|
|
5152
|
+
"multiple": false,
|
|
5153
|
+
"type": "option"
|
|
5154
|
+
}
|
|
5155
|
+
},
|
|
5156
|
+
"hasDynamicHelp": true,
|
|
5157
|
+
"hiddenAliases": [],
|
|
5158
|
+
"id": "hardis:org:community:update",
|
|
5159
|
+
"pluginAlias": "sfdx-hardis",
|
|
5160
|
+
"pluginName": "sfdx-hardis",
|
|
5161
|
+
"pluginType": "core",
|
|
5162
|
+
"strict": true,
|
|
5163
|
+
"summary": "Update a community status.",
|
|
5164
|
+
"enableJsonFlag": true,
|
|
5165
|
+
"isESM": true,
|
|
5166
|
+
"relativePath": [
|
|
5167
|
+
"lib",
|
|
5168
|
+
"commands",
|
|
5169
|
+
"hardis",
|
|
5170
|
+
"org",
|
|
5171
|
+
"community",
|
|
5172
|
+
"update.js"
|
|
5173
|
+
],
|
|
5174
|
+
"aliasPermutations": [],
|
|
5175
|
+
"permutations": [
|
|
5176
|
+
"hardis:org:community:update",
|
|
5177
|
+
"org:hardis:community:update",
|
|
5178
|
+
"org:community:hardis:update",
|
|
5179
|
+
"org:community:update:hardis",
|
|
5180
|
+
"hardis:community:org:update",
|
|
5181
|
+
"community:hardis:org:update",
|
|
5182
|
+
"community:org:hardis:update",
|
|
5183
|
+
"community:org:update:hardis",
|
|
5184
|
+
"hardis:community:update:org",
|
|
5185
|
+
"community:hardis:update:org",
|
|
5186
|
+
"community:update:hardis:org",
|
|
5187
|
+
"community:update:org:hardis",
|
|
5188
|
+
"hardis:org:update:community",
|
|
5189
|
+
"org:hardis:update:community",
|
|
5190
|
+
"org:update:hardis:community",
|
|
5191
|
+
"org:update:community:hardis",
|
|
5192
|
+
"hardis:update:org:community",
|
|
5193
|
+
"update:hardis:org:community",
|
|
5194
|
+
"update:org:hardis:community",
|
|
5195
|
+
"update:org:community:hardis",
|
|
5196
|
+
"hardis:update:community:org",
|
|
5197
|
+
"update:hardis:community:org",
|
|
5198
|
+
"update:community:hardis:org",
|
|
5199
|
+
"update:community:org:hardis"
|
|
5200
|
+
]
|
|
5201
|
+
},
|
|
4848
5202
|
"hardis:org:data:delete": {
|
|
4849
5203
|
"aliases": [],
|
|
4850
5204
|
"args": {},
|
|
@@ -5196,12 +5550,15 @@
|
|
|
5196
5550
|
"import:data:org:hardis"
|
|
5197
5551
|
]
|
|
5198
5552
|
},
|
|
5199
|
-
"hardis:org:
|
|
5553
|
+
"hardis:org:diagnose:audittrail": {
|
|
5200
5554
|
"aliases": [],
|
|
5201
5555
|
"args": {},
|
|
5202
|
-
"description": "Export
|
|
5556
|
+
"description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n - revokeduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n - CSPUserDisabled\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedofflineuseroffon\n - changedprofileforuserstdtostd\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedknowledgeuseroffon\n - changedsfcontentuseroffon\n - changedsupportuseroffon\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suNetworkAdminLogin\n - suNetworkAdminLogout\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\n## Excel output example\n\n\n\n## Local output example\n\n\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-suspect-audit-trail/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
5203
5557
|
"examples": [
|
|
5204
|
-
"$ sf hardis:org:
|
|
5558
|
+
"$ sf hardis:org:diagnose:audittrail",
|
|
5559
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5560
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5561
|
+
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5205
5562
|
],
|
|
5206
5563
|
"flags": {
|
|
5207
5564
|
"json": {
|
|
@@ -5219,37 +5576,26 @@
|
|
|
5219
5576
|
"multiple": false,
|
|
5220
5577
|
"type": "option"
|
|
5221
5578
|
},
|
|
5222
|
-
"
|
|
5223
|
-
"char": "
|
|
5224
|
-
"description": "
|
|
5225
|
-
"name": "
|
|
5226
|
-
"hasDynamicHelp": false,
|
|
5227
|
-
"multiple": false,
|
|
5228
|
-
"type": "option"
|
|
5229
|
-
},
|
|
5230
|
-
"chunksize": {
|
|
5231
|
-
"char": "c",
|
|
5232
|
-
"description": "Number of records to add in a chunk before it is processed",
|
|
5233
|
-
"name": "chunksize",
|
|
5234
|
-
"default": 1000,
|
|
5579
|
+
"excludeusers": {
|
|
5580
|
+
"char": "e",
|
|
5581
|
+
"description": "Comma-separated list of usernames to exclude",
|
|
5582
|
+
"name": "excludeusers",
|
|
5235
5583
|
"hasDynamicHelp": false,
|
|
5236
5584
|
"multiple": false,
|
|
5237
5585
|
"type": "option"
|
|
5238
5586
|
},
|
|
5239
|
-
"
|
|
5587
|
+
"lastndays": {
|
|
5240
5588
|
"char": "t",
|
|
5241
|
-
"description": "
|
|
5242
|
-
"name": "
|
|
5243
|
-
"default": 300000,
|
|
5589
|
+
"description": "Number of days to extract from today (included)",
|
|
5590
|
+
"name": "lastndays",
|
|
5244
5591
|
"hasDynamicHelp": false,
|
|
5245
5592
|
"multiple": false,
|
|
5246
5593
|
"type": "option"
|
|
5247
5594
|
},
|
|
5248
|
-
"
|
|
5249
|
-
"char": "
|
|
5250
|
-
"description": "
|
|
5251
|
-
"name": "
|
|
5252
|
-
"default": 0,
|
|
5595
|
+
"outputfile": {
|
|
5596
|
+
"char": "f",
|
|
5597
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5598
|
+
"name": "outputfile",
|
|
5253
5599
|
"hasDynamicHelp": false,
|
|
5254
5600
|
"multiple": false,
|
|
5255
5601
|
"type": "option"
|
|
@@ -5292,13 +5638,13 @@
|
|
|
5292
5638
|
},
|
|
5293
5639
|
"hasDynamicHelp": true,
|
|
5294
5640
|
"hiddenAliases": [],
|
|
5295
|
-
"id": "hardis:org:
|
|
5641
|
+
"id": "hardis:org:diagnose:audittrail",
|
|
5296
5642
|
"pluginAlias": "sfdx-hardis",
|
|
5297
5643
|
"pluginName": "sfdx-hardis",
|
|
5298
5644
|
"pluginType": "core",
|
|
5299
5645
|
"strict": true,
|
|
5300
5646
|
"enableJsonFlag": true,
|
|
5301
|
-
"title": "
|
|
5647
|
+
"title": "Diagnose content of Setup Audit Trail",
|
|
5302
5648
|
"requiresProject": false,
|
|
5303
5649
|
"isESM": true,
|
|
5304
5650
|
"relativePath": [
|
|
@@ -5306,262 +5652,8 @@
|
|
|
5306
5652
|
"commands",
|
|
5307
5653
|
"hardis",
|
|
5308
5654
|
"org",
|
|
5309
|
-
"
|
|
5310
|
-
"
|
|
5311
|
-
],
|
|
5312
|
-
"aliasPermutations": [],
|
|
5313
|
-
"permutations": [
|
|
5314
|
-
"hardis:org:files:export",
|
|
5315
|
-
"org:hardis:files:export",
|
|
5316
|
-
"org:files:hardis:export",
|
|
5317
|
-
"org:files:export:hardis",
|
|
5318
|
-
"hardis:files:org:export",
|
|
5319
|
-
"files:hardis:org:export",
|
|
5320
|
-
"files:org:hardis:export",
|
|
5321
|
-
"files:org:export:hardis",
|
|
5322
|
-
"hardis:files:export:org",
|
|
5323
|
-
"files:hardis:export:org",
|
|
5324
|
-
"files:export:hardis:org",
|
|
5325
|
-
"files:export:org:hardis",
|
|
5326
|
-
"hardis:org:export:files",
|
|
5327
|
-
"org:hardis:export:files",
|
|
5328
|
-
"org:export:hardis:files",
|
|
5329
|
-
"org:export:files:hardis",
|
|
5330
|
-
"hardis:export:org:files",
|
|
5331
|
-
"export:hardis:org:files",
|
|
5332
|
-
"export:org:hardis:files",
|
|
5333
|
-
"export:org:files:hardis",
|
|
5334
|
-
"hardis:export:files:org",
|
|
5335
|
-
"export:hardis:files:org",
|
|
5336
|
-
"export:files:hardis:org",
|
|
5337
|
-
"export:files:org:hardis"
|
|
5338
|
-
]
|
|
5339
|
-
},
|
|
5340
|
-
"hardis:org:files:import": {
|
|
5341
|
-
"aliases": [],
|
|
5342
|
-
"args": {},
|
|
5343
|
-
"description": "Import file attachments into a Salesforce org\n\nSee article below to see how to Export them.\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n",
|
|
5344
|
-
"examples": [
|
|
5345
|
-
"$ sf hardis:org:files:import"
|
|
5346
|
-
],
|
|
5347
|
-
"flags": {
|
|
5348
|
-
"json": {
|
|
5349
|
-
"description": "Format output as json.",
|
|
5350
|
-
"helpGroup": "GLOBAL",
|
|
5351
|
-
"name": "json",
|
|
5352
|
-
"allowNo": false,
|
|
5353
|
-
"type": "boolean"
|
|
5354
|
-
},
|
|
5355
|
-
"flags-dir": {
|
|
5356
|
-
"helpGroup": "GLOBAL",
|
|
5357
|
-
"name": "flags-dir",
|
|
5358
|
-
"summary": "Import flag values from a directory.",
|
|
5359
|
-
"hasDynamicHelp": false,
|
|
5360
|
-
"multiple": false,
|
|
5361
|
-
"type": "option"
|
|
5362
|
-
},
|
|
5363
|
-
"path": {
|
|
5364
|
-
"char": "p",
|
|
5365
|
-
"description": "Path to the file export project",
|
|
5366
|
-
"name": "path",
|
|
5367
|
-
"hasDynamicHelp": false,
|
|
5368
|
-
"multiple": false,
|
|
5369
|
-
"type": "option"
|
|
5370
|
-
},
|
|
5371
|
-
"overwrite": {
|
|
5372
|
-
"char": "f",
|
|
5373
|
-
"description": "Override existing files (doubles the number of API calls)",
|
|
5374
|
-
"name": "overwrite",
|
|
5375
|
-
"allowNo": false,
|
|
5376
|
-
"type": "boolean"
|
|
5377
|
-
},
|
|
5378
|
-
"debug": {
|
|
5379
|
-
"char": "d",
|
|
5380
|
-
"description": "Activate debug mode (more logs)",
|
|
5381
|
-
"name": "debug",
|
|
5382
|
-
"allowNo": false,
|
|
5383
|
-
"type": "boolean"
|
|
5384
|
-
},
|
|
5385
|
-
"websocket": {
|
|
5386
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5387
|
-
"name": "websocket",
|
|
5388
|
-
"hasDynamicHelp": false,
|
|
5389
|
-
"multiple": false,
|
|
5390
|
-
"type": "option"
|
|
5391
|
-
},
|
|
5392
|
-
"skipauth": {
|
|
5393
|
-
"description": "Skip authentication check when a default username is required",
|
|
5394
|
-
"name": "skipauth",
|
|
5395
|
-
"allowNo": false,
|
|
5396
|
-
"type": "boolean"
|
|
5397
|
-
},
|
|
5398
|
-
"target-org": {
|
|
5399
|
-
"aliases": [
|
|
5400
|
-
"targetusername",
|
|
5401
|
-
"u"
|
|
5402
|
-
],
|
|
5403
|
-
"char": "o",
|
|
5404
|
-
"deprecateAliases": true,
|
|
5405
|
-
"name": "target-org",
|
|
5406
|
-
"noCacheDefault": true,
|
|
5407
|
-
"required": true,
|
|
5408
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5409
|
-
"hasDynamicHelp": true,
|
|
5410
|
-
"multiple": false,
|
|
5411
|
-
"type": "option"
|
|
5412
|
-
}
|
|
5413
|
-
},
|
|
5414
|
-
"hasDynamicHelp": true,
|
|
5415
|
-
"hiddenAliases": [],
|
|
5416
|
-
"id": "hardis:org:files:import",
|
|
5417
|
-
"pluginAlias": "sfdx-hardis",
|
|
5418
|
-
"pluginName": "sfdx-hardis",
|
|
5419
|
-
"pluginType": "core",
|
|
5420
|
-
"strict": true,
|
|
5421
|
-
"enableJsonFlag": true,
|
|
5422
|
-
"title": "Import files",
|
|
5423
|
-
"requiresProject": false,
|
|
5424
|
-
"isESM": true,
|
|
5425
|
-
"relativePath": [
|
|
5426
|
-
"lib",
|
|
5427
|
-
"commands",
|
|
5428
|
-
"hardis",
|
|
5429
|
-
"org",
|
|
5430
|
-
"files",
|
|
5431
|
-
"import.js"
|
|
5432
|
-
],
|
|
5433
|
-
"aliasPermutations": [],
|
|
5434
|
-
"permutations": [
|
|
5435
|
-
"hardis:org:files:import",
|
|
5436
|
-
"org:hardis:files:import",
|
|
5437
|
-
"org:files:hardis:import",
|
|
5438
|
-
"org:files:import:hardis",
|
|
5439
|
-
"hardis:files:org:import",
|
|
5440
|
-
"files:hardis:org:import",
|
|
5441
|
-
"files:org:hardis:import",
|
|
5442
|
-
"files:org:import:hardis",
|
|
5443
|
-
"hardis:files:import:org",
|
|
5444
|
-
"files:hardis:import:org",
|
|
5445
|
-
"files:import:hardis:org",
|
|
5446
|
-
"files:import:org:hardis",
|
|
5447
|
-
"hardis:org:import:files",
|
|
5448
|
-
"org:hardis:import:files",
|
|
5449
|
-
"org:import:hardis:files",
|
|
5450
|
-
"org:import:files:hardis",
|
|
5451
|
-
"hardis:import:org:files",
|
|
5452
|
-
"import:hardis:org:files",
|
|
5453
|
-
"import:org:hardis:files",
|
|
5454
|
-
"import:org:files:hardis",
|
|
5455
|
-
"hardis:import:files:org",
|
|
5456
|
-
"import:hardis:files:org",
|
|
5457
|
-
"import:files:hardis:org",
|
|
5458
|
-
"import:files:org:hardis"
|
|
5459
|
-
]
|
|
5460
|
-
},
|
|
5461
|
-
"hardis:org:diagnose:audittrail": {
|
|
5462
|
-
"aliases": [],
|
|
5463
|
-
"args": {},
|
|
5464
|
-
"description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n - revokeduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n - CSPUserDisabled\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedknowledgeuseroffon\n - changedsfcontentuseroffon\n - changedsupportuseroffon\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suNetworkAdminLogin\n - suNetworkAdminLogout\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\n## Excel output example\n\n\n\n## Local output example\n\n\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-suspect-audit-trail/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
5465
|
-
"examples": [
|
|
5466
|
-
"$ sf hardis:org:diagnose:audittrail",
|
|
5467
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5468
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5469
|
-
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5470
|
-
],
|
|
5471
|
-
"flags": {
|
|
5472
|
-
"json": {
|
|
5473
|
-
"description": "Format output as json.",
|
|
5474
|
-
"helpGroup": "GLOBAL",
|
|
5475
|
-
"name": "json",
|
|
5476
|
-
"allowNo": false,
|
|
5477
|
-
"type": "boolean"
|
|
5478
|
-
},
|
|
5479
|
-
"flags-dir": {
|
|
5480
|
-
"helpGroup": "GLOBAL",
|
|
5481
|
-
"name": "flags-dir",
|
|
5482
|
-
"summary": "Import flag values from a directory.",
|
|
5483
|
-
"hasDynamicHelp": false,
|
|
5484
|
-
"multiple": false,
|
|
5485
|
-
"type": "option"
|
|
5486
|
-
},
|
|
5487
|
-
"excludeusers": {
|
|
5488
|
-
"char": "e",
|
|
5489
|
-
"description": "Comma-separated list of usernames to exclude",
|
|
5490
|
-
"name": "excludeusers",
|
|
5491
|
-
"hasDynamicHelp": false,
|
|
5492
|
-
"multiple": false,
|
|
5493
|
-
"type": "option"
|
|
5494
|
-
},
|
|
5495
|
-
"lastndays": {
|
|
5496
|
-
"char": "t",
|
|
5497
|
-
"description": "Number of days to extract from today (included)",
|
|
5498
|
-
"name": "lastndays",
|
|
5499
|
-
"hasDynamicHelp": false,
|
|
5500
|
-
"multiple": false,
|
|
5501
|
-
"type": "option"
|
|
5502
|
-
},
|
|
5503
|
-
"outputfile": {
|
|
5504
|
-
"char": "f",
|
|
5505
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5506
|
-
"name": "outputfile",
|
|
5507
|
-
"hasDynamicHelp": false,
|
|
5508
|
-
"multiple": false,
|
|
5509
|
-
"type": "option"
|
|
5510
|
-
},
|
|
5511
|
-
"debug": {
|
|
5512
|
-
"char": "d",
|
|
5513
|
-
"description": "Activate debug mode (more logs)",
|
|
5514
|
-
"name": "debug",
|
|
5515
|
-
"allowNo": false,
|
|
5516
|
-
"type": "boolean"
|
|
5517
|
-
},
|
|
5518
|
-
"websocket": {
|
|
5519
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5520
|
-
"name": "websocket",
|
|
5521
|
-
"hasDynamicHelp": false,
|
|
5522
|
-
"multiple": false,
|
|
5523
|
-
"type": "option"
|
|
5524
|
-
},
|
|
5525
|
-
"skipauth": {
|
|
5526
|
-
"description": "Skip authentication check when a default username is required",
|
|
5527
|
-
"name": "skipauth",
|
|
5528
|
-
"allowNo": false,
|
|
5529
|
-
"type": "boolean"
|
|
5530
|
-
},
|
|
5531
|
-
"target-org": {
|
|
5532
|
-
"aliases": [
|
|
5533
|
-
"targetusername",
|
|
5534
|
-
"u"
|
|
5535
|
-
],
|
|
5536
|
-
"char": "o",
|
|
5537
|
-
"deprecateAliases": true,
|
|
5538
|
-
"name": "target-org",
|
|
5539
|
-
"noCacheDefault": true,
|
|
5540
|
-
"required": true,
|
|
5541
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5542
|
-
"hasDynamicHelp": true,
|
|
5543
|
-
"multiple": false,
|
|
5544
|
-
"type": "option"
|
|
5545
|
-
}
|
|
5546
|
-
},
|
|
5547
|
-
"hasDynamicHelp": true,
|
|
5548
|
-
"hiddenAliases": [],
|
|
5549
|
-
"id": "hardis:org:diagnose:audittrail",
|
|
5550
|
-
"pluginAlias": "sfdx-hardis",
|
|
5551
|
-
"pluginName": "sfdx-hardis",
|
|
5552
|
-
"pluginType": "core",
|
|
5553
|
-
"strict": true,
|
|
5554
|
-
"enableJsonFlag": true,
|
|
5555
|
-
"title": "Diagnose content of Setup Audit Trail",
|
|
5556
|
-
"requiresProject": false,
|
|
5557
|
-
"isESM": true,
|
|
5558
|
-
"relativePath": [
|
|
5559
|
-
"lib",
|
|
5560
|
-
"commands",
|
|
5561
|
-
"hardis",
|
|
5562
|
-
"org",
|
|
5563
|
-
"diagnose",
|
|
5564
|
-
"audittrail.js"
|
|
5655
|
+
"diagnose",
|
|
5656
|
+
"audittrail.js"
|
|
5565
5657
|
],
|
|
5566
5658
|
"aliasPermutations": [],
|
|
5567
5659
|
"permutations": [
|
|
@@ -6607,13 +6699,12 @@
|
|
|
6607
6699
|
"unusedusers:diagnose:org:hardis"
|
|
6608
6700
|
]
|
|
6609
6701
|
},
|
|
6610
|
-
"hardis:org:
|
|
6702
|
+
"hardis:org:files:export": {
|
|
6611
6703
|
"aliases": [],
|
|
6612
6704
|
"args": {},
|
|
6613
|
-
"description": "
|
|
6705
|
+
"description": "Export file attachments from a Salesforce org\n\nHandles:\n\n- ContentVersion\n- Attachment\n\nSee article below:\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n",
|
|
6614
6706
|
"examples": [
|
|
6615
|
-
"$ sf hardis:org:
|
|
6616
|
-
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
6707
|
+
"$ sf hardis:org:files:export"
|
|
6617
6708
|
],
|
|
6618
6709
|
"flags": {
|
|
6619
6710
|
"json": {
|
|
@@ -6631,125 +6722,37 @@
|
|
|
6631
6722
|
"multiple": false,
|
|
6632
6723
|
"type": "option"
|
|
6633
6724
|
},
|
|
6634
|
-
"
|
|
6635
|
-
"char": "
|
|
6636
|
-
"description": "
|
|
6637
|
-
"name": "
|
|
6725
|
+
"path": {
|
|
6726
|
+
"char": "p",
|
|
6727
|
+
"description": "Path to the file export project",
|
|
6728
|
+
"name": "path",
|
|
6638
6729
|
"hasDynamicHelp": false,
|
|
6639
6730
|
"multiple": false,
|
|
6640
6731
|
"type": "option"
|
|
6641
6732
|
},
|
|
6642
|
-
"
|
|
6643
|
-
"char": "
|
|
6644
|
-
"description": "
|
|
6645
|
-
"name": "
|
|
6646
|
-
"
|
|
6647
|
-
"type": "boolean"
|
|
6648
|
-
},
|
|
6649
|
-
"websocket": {
|
|
6650
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6651
|
-
"name": "websocket",
|
|
6733
|
+
"chunksize": {
|
|
6734
|
+
"char": "c",
|
|
6735
|
+
"description": "Number of records to add in a chunk before it is processed",
|
|
6736
|
+
"name": "chunksize",
|
|
6737
|
+
"default": 1000,
|
|
6652
6738
|
"hasDynamicHelp": false,
|
|
6653
6739
|
"multiple": false,
|
|
6654
6740
|
"type": "option"
|
|
6655
6741
|
},
|
|
6656
|
-
"
|
|
6657
|
-
"
|
|
6658
|
-
"
|
|
6659
|
-
"
|
|
6660
|
-
"
|
|
6661
|
-
},
|
|
6662
|
-
"target-org": {
|
|
6663
|
-
"aliases": [
|
|
6664
|
-
"targetusername",
|
|
6665
|
-
"u"
|
|
6666
|
-
],
|
|
6667
|
-
"char": "o",
|
|
6668
|
-
"deprecateAliases": true,
|
|
6669
|
-
"name": "target-org",
|
|
6670
|
-
"noCacheDefault": true,
|
|
6671
|
-
"required": true,
|
|
6672
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6673
|
-
"hasDynamicHelp": true,
|
|
6674
|
-
"multiple": false,
|
|
6675
|
-
"type": "option"
|
|
6676
|
-
}
|
|
6677
|
-
},
|
|
6678
|
-
"hasDynamicHelp": true,
|
|
6679
|
-
"hiddenAliases": [],
|
|
6680
|
-
"id": "hardis:org:fix:listviewmine",
|
|
6681
|
-
"pluginAlias": "sfdx-hardis",
|
|
6682
|
-
"pluginName": "sfdx-hardis",
|
|
6683
|
-
"pluginType": "core",
|
|
6684
|
-
"strict": true,
|
|
6685
|
-
"enableJsonFlag": true,
|
|
6686
|
-
"title": "Fix listviews with ",
|
|
6687
|
-
"requiresProject": true,
|
|
6688
|
-
"isESM": true,
|
|
6689
|
-
"relativePath": [
|
|
6690
|
-
"lib",
|
|
6691
|
-
"commands",
|
|
6692
|
-
"hardis",
|
|
6693
|
-
"org",
|
|
6694
|
-
"fix",
|
|
6695
|
-
"listviewmine.js"
|
|
6696
|
-
],
|
|
6697
|
-
"aliasPermutations": [],
|
|
6698
|
-
"permutations": [
|
|
6699
|
-
"hardis:org:fix:listviewmine",
|
|
6700
|
-
"org:hardis:fix:listviewmine",
|
|
6701
|
-
"org:fix:hardis:listviewmine",
|
|
6702
|
-
"org:fix:listviewmine:hardis",
|
|
6703
|
-
"hardis:fix:org:listviewmine",
|
|
6704
|
-
"fix:hardis:org:listviewmine",
|
|
6705
|
-
"fix:org:hardis:listviewmine",
|
|
6706
|
-
"fix:org:listviewmine:hardis",
|
|
6707
|
-
"hardis:fix:listviewmine:org",
|
|
6708
|
-
"fix:hardis:listviewmine:org",
|
|
6709
|
-
"fix:listviewmine:hardis:org",
|
|
6710
|
-
"fix:listviewmine:org:hardis",
|
|
6711
|
-
"hardis:org:listviewmine:fix",
|
|
6712
|
-
"org:hardis:listviewmine:fix",
|
|
6713
|
-
"org:listviewmine:hardis:fix",
|
|
6714
|
-
"org:listviewmine:fix:hardis",
|
|
6715
|
-
"hardis:listviewmine:org:fix",
|
|
6716
|
-
"listviewmine:hardis:org:fix",
|
|
6717
|
-
"listviewmine:org:hardis:fix",
|
|
6718
|
-
"listviewmine:org:fix:hardis",
|
|
6719
|
-
"hardis:listviewmine:fix:org",
|
|
6720
|
-
"listviewmine:hardis:fix:org",
|
|
6721
|
-
"listviewmine:fix:hardis:org",
|
|
6722
|
-
"listviewmine:fix:org:hardis"
|
|
6723
|
-
]
|
|
6724
|
-
},
|
|
6725
|
-
"hardis:org:generate:packagexmlfull": {
|
|
6726
|
-
"aliases": [],
|
|
6727
|
-
"args": {},
|
|
6728
|
-
"description": "Generates full org package.xml, including managed items",
|
|
6729
|
-
"examples": [
|
|
6730
|
-
"$ sf hardis:org:generate:packagexmlfull",
|
|
6731
|
-
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
6732
|
-
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
6733
|
-
],
|
|
6734
|
-
"flags": {
|
|
6735
|
-
"json": {
|
|
6736
|
-
"description": "Format output as json.",
|
|
6737
|
-
"helpGroup": "GLOBAL",
|
|
6738
|
-
"name": "json",
|
|
6739
|
-
"allowNo": false,
|
|
6740
|
-
"type": "boolean"
|
|
6741
|
-
},
|
|
6742
|
-
"flags-dir": {
|
|
6743
|
-
"helpGroup": "GLOBAL",
|
|
6744
|
-
"name": "flags-dir",
|
|
6745
|
-
"summary": "Import flag values from a directory.",
|
|
6742
|
+
"polltimeout": {
|
|
6743
|
+
"char": "t",
|
|
6744
|
+
"description": "Timeout in MS for Bulk API calls",
|
|
6745
|
+
"name": "polltimeout",
|
|
6746
|
+
"default": 300000,
|
|
6746
6747
|
"hasDynamicHelp": false,
|
|
6747
6748
|
"multiple": false,
|
|
6748
6749
|
"type": "option"
|
|
6749
6750
|
},
|
|
6750
|
-
"
|
|
6751
|
-
"
|
|
6752
|
-
"
|
|
6751
|
+
"startchunknumber": {
|
|
6752
|
+
"char": "s",
|
|
6753
|
+
"description": "Chunk number to start from",
|
|
6754
|
+
"name": "startchunknumber",
|
|
6755
|
+
"default": 0,
|
|
6753
6756
|
"hasDynamicHelp": false,
|
|
6754
6757
|
"multiple": false,
|
|
6755
6758
|
"type": "option"
|
|
@@ -6792,13 +6795,13 @@
|
|
|
6792
6795
|
},
|
|
6793
6796
|
"hasDynamicHelp": true,
|
|
6794
6797
|
"hiddenAliases": [],
|
|
6795
|
-
"id": "hardis:org:
|
|
6798
|
+
"id": "hardis:org:files:export",
|
|
6796
6799
|
"pluginAlias": "sfdx-hardis",
|
|
6797
6800
|
"pluginName": "sfdx-hardis",
|
|
6798
6801
|
"pluginType": "core",
|
|
6799
6802
|
"strict": true,
|
|
6800
6803
|
"enableJsonFlag": true,
|
|
6801
|
-
"title": "
|
|
6804
|
+
"title": "Export files",
|
|
6802
6805
|
"requiresProject": false,
|
|
6803
6806
|
"isESM": true,
|
|
6804
6807
|
"relativePath": [
|
|
@@ -6806,43 +6809,43 @@
|
|
|
6806
6809
|
"commands",
|
|
6807
6810
|
"hardis",
|
|
6808
6811
|
"org",
|
|
6809
|
-
"
|
|
6810
|
-
"
|
|
6812
|
+
"files",
|
|
6813
|
+
"export.js"
|
|
6811
6814
|
],
|
|
6812
6815
|
"aliasPermutations": [],
|
|
6813
6816
|
"permutations": [
|
|
6814
|
-
"hardis:org:
|
|
6815
|
-
"org:hardis:
|
|
6816
|
-
"org:
|
|
6817
|
-
"org:
|
|
6818
|
-
"hardis:
|
|
6819
|
-
"
|
|
6820
|
-
"
|
|
6821
|
-
"
|
|
6822
|
-
"hardis:
|
|
6823
|
-
"
|
|
6824
|
-
"
|
|
6825
|
-
"
|
|
6826
|
-
"hardis:org:
|
|
6827
|
-
"org:hardis:
|
|
6828
|
-
"org:
|
|
6829
|
-
"org:
|
|
6830
|
-
"hardis:
|
|
6831
|
-
"
|
|
6832
|
-
"
|
|
6833
|
-
"
|
|
6834
|
-
"hardis:
|
|
6835
|
-
"
|
|
6836
|
-
"
|
|
6837
|
-
"
|
|
6817
|
+
"hardis:org:files:export",
|
|
6818
|
+
"org:hardis:files:export",
|
|
6819
|
+
"org:files:hardis:export",
|
|
6820
|
+
"org:files:export:hardis",
|
|
6821
|
+
"hardis:files:org:export",
|
|
6822
|
+
"files:hardis:org:export",
|
|
6823
|
+
"files:org:hardis:export",
|
|
6824
|
+
"files:org:export:hardis",
|
|
6825
|
+
"hardis:files:export:org",
|
|
6826
|
+
"files:hardis:export:org",
|
|
6827
|
+
"files:export:hardis:org",
|
|
6828
|
+
"files:export:org:hardis",
|
|
6829
|
+
"hardis:org:export:files",
|
|
6830
|
+
"org:hardis:export:files",
|
|
6831
|
+
"org:export:hardis:files",
|
|
6832
|
+
"org:export:files:hardis",
|
|
6833
|
+
"hardis:export:org:files",
|
|
6834
|
+
"export:hardis:org:files",
|
|
6835
|
+
"export:org:hardis:files",
|
|
6836
|
+
"export:org:files:hardis",
|
|
6837
|
+
"hardis:export:files:org",
|
|
6838
|
+
"export:hardis:files:org",
|
|
6839
|
+
"export:files:hardis:org",
|
|
6840
|
+
"export:files:org:hardis"
|
|
6838
6841
|
]
|
|
6839
6842
|
},
|
|
6840
|
-
"hardis:org:
|
|
6843
|
+
"hardis:org:files:import": {
|
|
6841
6844
|
"aliases": [],
|
|
6842
6845
|
"args": {},
|
|
6843
|
-
"description": "
|
|
6846
|
+
"description": "Import file attachments into a Salesforce org\n\nSee article below to see how to Export them.\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n",
|
|
6844
6847
|
"examples": [
|
|
6845
|
-
"$ sf hardis:org:
|
|
6848
|
+
"$ sf hardis:org:files:import"
|
|
6846
6849
|
],
|
|
6847
6850
|
"flags": {
|
|
6848
6851
|
"json": {
|
|
@@ -6860,6 +6863,21 @@
|
|
|
6860
6863
|
"multiple": false,
|
|
6861
6864
|
"type": "option"
|
|
6862
6865
|
},
|
|
6866
|
+
"path": {
|
|
6867
|
+
"char": "p",
|
|
6868
|
+
"description": "Path to the file export project",
|
|
6869
|
+
"name": "path",
|
|
6870
|
+
"hasDynamicHelp": false,
|
|
6871
|
+
"multiple": false,
|
|
6872
|
+
"type": "option"
|
|
6873
|
+
},
|
|
6874
|
+
"overwrite": {
|
|
6875
|
+
"char": "f",
|
|
6876
|
+
"description": "Override existing files (doubles the number of API calls)",
|
|
6877
|
+
"name": "overwrite",
|
|
6878
|
+
"allowNo": false,
|
|
6879
|
+
"type": "boolean"
|
|
6880
|
+
},
|
|
6863
6881
|
"debug": {
|
|
6864
6882
|
"char": "d",
|
|
6865
6883
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6898,153 +6916,58 @@
|
|
|
6898
6916
|
},
|
|
6899
6917
|
"hasDynamicHelp": true,
|
|
6900
6918
|
"hiddenAliases": [],
|
|
6901
|
-
"id": "hardis:org:
|
|
6919
|
+
"id": "hardis:org:files:import",
|
|
6902
6920
|
"pluginAlias": "sfdx-hardis",
|
|
6903
6921
|
"pluginName": "sfdx-hardis",
|
|
6904
6922
|
"pluginType": "core",
|
|
6905
6923
|
"strict": true,
|
|
6906
6924
|
"enableJsonFlag": true,
|
|
6907
|
-
"title": "
|
|
6908
|
-
"
|
|
6909
|
-
{
|
|
6910
|
-
"key": "AUDIT_TRAIL",
|
|
6911
|
-
"title": "Detect suspect setup actions in major org",
|
|
6912
|
-
"command": "sf hardis:org:diagnose:audittrail",
|
|
6913
|
-
"frequency": "daily"
|
|
6914
|
-
},
|
|
6915
|
-
{
|
|
6916
|
-
"key": "LEGACY_API",
|
|
6917
|
-
"title": "Detect calls to deprecated API versions",
|
|
6918
|
-
"command": "sf hardis:org:diagnose:legacyapi",
|
|
6919
|
-
"frequency": "daily"
|
|
6920
|
-
},
|
|
6921
|
-
{
|
|
6922
|
-
"key": "ORG_LIMITS",
|
|
6923
|
-
"title": "Detect if org limits are close to be reached",
|
|
6924
|
-
"command": "sf hardis:org:monitor:limits",
|
|
6925
|
-
"frequency": "daily"
|
|
6926
|
-
},
|
|
6927
|
-
{
|
|
6928
|
-
"key": "LICENSES",
|
|
6929
|
-
"title": "Extract licenses information",
|
|
6930
|
-
"command": "sf hardis:org:diagnose:licenses",
|
|
6931
|
-
"frequency": "weekly"
|
|
6932
|
-
},
|
|
6933
|
-
{
|
|
6934
|
-
"key": "LINT_ACCESS",
|
|
6935
|
-
"title": "Detect custom elements with no access rights defined in permission sets",
|
|
6936
|
-
"command": "sf hardis:lint:access",
|
|
6937
|
-
"frequency": "weekly"
|
|
6938
|
-
},
|
|
6939
|
-
{
|
|
6940
|
-
"key": "UNUSED_LICENSES",
|
|
6941
|
-
"title": "Detect permission set licenses that are assigned to users that do not need them",
|
|
6942
|
-
"command": "sf hardis:org:diagnose:unusedlicenses",
|
|
6943
|
-
"frequency": "weekly"
|
|
6944
|
-
},
|
|
6945
|
-
{
|
|
6946
|
-
"key": "UNUSED_USERS",
|
|
6947
|
-
"title": "Detect active users without recent logins",
|
|
6948
|
-
"command": "sf hardis:org:diagnose:unusedusers",
|
|
6949
|
-
"frequency": "weekly"
|
|
6950
|
-
},
|
|
6951
|
-
{
|
|
6952
|
-
"key": "ACTIVE_USERS",
|
|
6953
|
-
"title": "Detect active users with recent logins",
|
|
6954
|
-
"command": "sf hardis:org:diagnose:unusedusers --returnactiveusers",
|
|
6955
|
-
"frequency": "weekly"
|
|
6956
|
-
},
|
|
6957
|
-
{
|
|
6958
|
-
"key": "ORG_INFO",
|
|
6959
|
-
"title": "Get org info + SF instance info + next major upgrade date",
|
|
6960
|
-
"command": "sf hardis:org:diagnose:instanceupgrade",
|
|
6961
|
-
"frequency": "weekly"
|
|
6962
|
-
},
|
|
6963
|
-
{
|
|
6964
|
-
"key": "RELEASE_UPDATES",
|
|
6965
|
-
"title": "Gather warnings about incoming and overdue Release Updates",
|
|
6966
|
-
"command": "sf hardis:org:diagnose:releaseupdates",
|
|
6967
|
-
"frequency": "weekly"
|
|
6968
|
-
},
|
|
6969
|
-
{
|
|
6970
|
-
"key": "UNUSED_METADATAS",
|
|
6971
|
-
"title": "Detect custom labels and custom permissions that are not in use",
|
|
6972
|
-
"command": "sf hardis:lint:unusedmetadatas",
|
|
6973
|
-
"frequency": "weekly"
|
|
6974
|
-
},
|
|
6975
|
-
{
|
|
6976
|
-
"key": "UNUSED_APEX_CLASSES",
|
|
6977
|
-
"title": "Detect unused Apex classes in an org",
|
|
6978
|
-
"command": "sf hardis:org:diagnose:unused-apex-classes",
|
|
6979
|
-
"frequency": "weekly"
|
|
6980
|
-
},
|
|
6981
|
-
{
|
|
6982
|
-
"key": "CONNECTED_APPS",
|
|
6983
|
-
"title": "Detect unused Connected Apps in an org",
|
|
6984
|
-
"command": "sf hardis:org:diagnose:unused-connected-apps",
|
|
6985
|
-
"frequency": "weekly"
|
|
6986
|
-
},
|
|
6987
|
-
{
|
|
6988
|
-
"key": "METADATA_STATUS",
|
|
6989
|
-
"title": "Detect inactive metadata",
|
|
6990
|
-
"command": "sf hardis:lint:metadatastatus",
|
|
6991
|
-
"frequency": "weekly"
|
|
6992
|
-
},
|
|
6993
|
-
{
|
|
6994
|
-
"key": "MISSING_ATTRIBUTES",
|
|
6995
|
-
"title": "Detect missing description on custom field",
|
|
6996
|
-
"command": "sf hardis:lint:missingattributes",
|
|
6997
|
-
"frequency": "weekly"
|
|
6998
|
-
}
|
|
6999
|
-
],
|
|
7000
|
-
"requiresProject": true,
|
|
7001
|
-
"triggerNotification": true,
|
|
6925
|
+
"title": "Import files",
|
|
6926
|
+
"requiresProject": false,
|
|
7002
6927
|
"isESM": true,
|
|
7003
6928
|
"relativePath": [
|
|
7004
6929
|
"lib",
|
|
7005
6930
|
"commands",
|
|
7006
6931
|
"hardis",
|
|
7007
6932
|
"org",
|
|
7008
|
-
"
|
|
7009
|
-
"
|
|
6933
|
+
"files",
|
|
6934
|
+
"import.js"
|
|
7010
6935
|
],
|
|
7011
6936
|
"aliasPermutations": [],
|
|
7012
6937
|
"permutations": [
|
|
7013
|
-
"hardis:org:
|
|
7014
|
-
"org:hardis:
|
|
7015
|
-
"org:
|
|
7016
|
-
"org:
|
|
7017
|
-
"hardis:
|
|
7018
|
-
"
|
|
7019
|
-
"
|
|
7020
|
-
"
|
|
7021
|
-
"hardis:
|
|
7022
|
-
"
|
|
7023
|
-
"
|
|
7024
|
-
"
|
|
7025
|
-
"hardis:org:
|
|
7026
|
-
"org:hardis:
|
|
7027
|
-
"org:
|
|
7028
|
-
"org:
|
|
7029
|
-
"hardis:
|
|
7030
|
-
"
|
|
7031
|
-
"
|
|
7032
|
-
"
|
|
7033
|
-
"hardis:
|
|
7034
|
-
"
|
|
7035
|
-
"
|
|
7036
|
-
"
|
|
6938
|
+
"hardis:org:files:import",
|
|
6939
|
+
"org:hardis:files:import",
|
|
6940
|
+
"org:files:hardis:import",
|
|
6941
|
+
"org:files:import:hardis",
|
|
6942
|
+
"hardis:files:org:import",
|
|
6943
|
+
"files:hardis:org:import",
|
|
6944
|
+
"files:org:hardis:import",
|
|
6945
|
+
"files:org:import:hardis",
|
|
6946
|
+
"hardis:files:import:org",
|
|
6947
|
+
"files:hardis:import:org",
|
|
6948
|
+
"files:import:hardis:org",
|
|
6949
|
+
"files:import:org:hardis",
|
|
6950
|
+
"hardis:org:import:files",
|
|
6951
|
+
"org:hardis:import:files",
|
|
6952
|
+
"org:import:hardis:files",
|
|
6953
|
+
"org:import:files:hardis",
|
|
6954
|
+
"hardis:import:org:files",
|
|
6955
|
+
"import:hardis:org:files",
|
|
6956
|
+
"import:org:hardis:files",
|
|
6957
|
+
"import:org:files:hardis",
|
|
6958
|
+
"hardis:import:files:org",
|
|
6959
|
+
"import:hardis:files:org",
|
|
6960
|
+
"import:files:hardis:org",
|
|
6961
|
+
"import:files:org:hardis"
|
|
7037
6962
|
]
|
|
7038
6963
|
},
|
|
7039
|
-
"hardis:org:
|
|
6964
|
+
"hardis:org:fix:listviewmine": {
|
|
7040
6965
|
"aliases": [],
|
|
7041
6966
|
"args": {},
|
|
7042
|
-
"description": "
|
|
6967
|
+
"description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7)\n\nList of ListViews can be:\n\n- read from .sfdx-hardis.yml file in property **listViewsToSetToMine**\n- sent in argument listviews\n\nNote: property **listViewsToSetToMine** can be auto-generated by command hardis:work:save if .sfdx-hardis.yml contains the following configuration\n\n```yaml\nautoCleanTypes:\n - listViewsMine\n```\n\n- Example of sfdx-hardis.yml property `listViewsToSetToMine`:\n\n```yaml\nlistViewsToSetToMine:\n - \"force-app/main/default/objects/Operation__c/listViews/MyCurrentOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Operation__c/listViews/MyFinalizedOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MyCurrentSubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MySubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml\"\n```\n\n- If manually written, this could also be:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n",
|
|
7043
6968
|
"examples": [
|
|
7044
|
-
"$ sf hardis:org:
|
|
7045
|
-
"$ sf hardis:org:
|
|
7046
|
-
"$ sf hardis:org:monitor:backup --full --exclude-namespaces",
|
|
7047
|
-
"$ sf hardis:org:monitor:backup --full --exclude-namespaces --full-apply-filters"
|
|
6969
|
+
"$ sf hardis:org:fix:listviewmine",
|
|
6970
|
+
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
7048
6971
|
],
|
|
7049
6972
|
"flags": {
|
|
7050
6973
|
"json": {
|
|
@@ -7062,53 +6985,10 @@
|
|
|
7062
6985
|
"multiple": false,
|
|
7063
6986
|
"type": "option"
|
|
7064
6987
|
},
|
|
7065
|
-
"
|
|
7066
|
-
"
|
|
7067
|
-
"
|
|
7068
|
-
"
|
|
7069
|
-
"type": "boolean"
|
|
7070
|
-
},
|
|
7071
|
-
"max-by-chunk": {
|
|
7072
|
-
"char": "m",
|
|
7073
|
-
"description": "If mode --full is activated, maximum number of metadatas in a package.xml chunk",
|
|
7074
|
-
"name": "max-by-chunk",
|
|
7075
|
-
"default": 3000,
|
|
7076
|
-
"hasDynamicHelp": false,
|
|
7077
|
-
"multiple": false,
|
|
7078
|
-
"type": "option"
|
|
7079
|
-
},
|
|
7080
|
-
"exclude-namespaces": {
|
|
7081
|
-
"char": "e",
|
|
7082
|
-
"description": "If mode --full is activated, exclude namespaced metadatas",
|
|
7083
|
-
"name": "exclude-namespaces",
|
|
7084
|
-
"allowNo": false,
|
|
7085
|
-
"type": "boolean"
|
|
7086
|
-
},
|
|
7087
|
-
"full-apply-filters": {
|
|
7088
|
-
"char": "z",
|
|
7089
|
-
"description": "If mode --full is activated, apply filters of manifest/package-skip-items.xml and MONITORING_BACKUP_SKIP_METADATA_TYPES anyway",
|
|
7090
|
-
"name": "full-apply-filters",
|
|
7091
|
-
"allowNo": false,
|
|
7092
|
-
"type": "boolean"
|
|
7093
|
-
},
|
|
7094
|
-
"start-chunk": {
|
|
7095
|
-
"description": "Use this parameter to troubleshoot a specific chunk. It will be used as the first chunk to retrieve",
|
|
7096
|
-
"name": "start-chunk",
|
|
7097
|
-
"default": 1,
|
|
7098
|
-
"hasDynamicHelp": false,
|
|
7099
|
-
"multiple": false,
|
|
7100
|
-
"type": "option"
|
|
7101
|
-
},
|
|
7102
|
-
"skip-doc": {
|
|
7103
|
-
"description": "Skip the generation of project documentation at the end of the command",
|
|
7104
|
-
"name": "skip-doc",
|
|
7105
|
-
"allowNo": false,
|
|
7106
|
-
"type": "boolean"
|
|
7107
|
-
},
|
|
7108
|
-
"outputfile": {
|
|
7109
|
-
"char": "f",
|
|
7110
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
7111
|
-
"name": "outputfile",
|
|
6988
|
+
"listviews": {
|
|
6989
|
+
"char": "l",
|
|
6990
|
+
"description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
|
|
6991
|
+
"name": "listviews",
|
|
7112
6992
|
"hasDynamicHelp": false,
|
|
7113
6993
|
"multiple": false,
|
|
7114
6994
|
"type": "option"
|
|
@@ -7151,58 +7031,59 @@
|
|
|
7151
7031
|
},
|
|
7152
7032
|
"hasDynamicHelp": true,
|
|
7153
7033
|
"hiddenAliases": [],
|
|
7154
|
-
"id": "hardis:org:
|
|
7034
|
+
"id": "hardis:org:fix:listviewmine",
|
|
7155
7035
|
"pluginAlias": "sfdx-hardis",
|
|
7156
7036
|
"pluginName": "sfdx-hardis",
|
|
7157
7037
|
"pluginType": "core",
|
|
7158
7038
|
"strict": true,
|
|
7159
7039
|
"enableJsonFlag": true,
|
|
7160
|
-
"title": "
|
|
7040
|
+
"title": "Fix listviews with ",
|
|
7161
7041
|
"requiresProject": true,
|
|
7162
|
-
"triggerNotification": true,
|
|
7163
7042
|
"isESM": true,
|
|
7164
7043
|
"relativePath": [
|
|
7165
7044
|
"lib",
|
|
7166
7045
|
"commands",
|
|
7167
7046
|
"hardis",
|
|
7168
7047
|
"org",
|
|
7169
|
-
"
|
|
7170
|
-
"
|
|
7048
|
+
"fix",
|
|
7049
|
+
"listviewmine.js"
|
|
7171
7050
|
],
|
|
7172
7051
|
"aliasPermutations": [],
|
|
7173
7052
|
"permutations": [
|
|
7174
|
-
"hardis:org:
|
|
7175
|
-
"org:hardis:
|
|
7176
|
-
"org:
|
|
7177
|
-
"org:
|
|
7178
|
-
"hardis:
|
|
7179
|
-
"
|
|
7180
|
-
"
|
|
7181
|
-
"
|
|
7182
|
-
"hardis:
|
|
7183
|
-
"
|
|
7184
|
-
"
|
|
7185
|
-
"
|
|
7186
|
-
"hardis:org:
|
|
7187
|
-
"org:hardis:
|
|
7188
|
-
"org:
|
|
7189
|
-
"org:
|
|
7190
|
-
"hardis:
|
|
7191
|
-
"
|
|
7192
|
-
"
|
|
7193
|
-
"
|
|
7194
|
-
"hardis:
|
|
7195
|
-
"
|
|
7196
|
-
"
|
|
7197
|
-
"
|
|
7053
|
+
"hardis:org:fix:listviewmine",
|
|
7054
|
+
"org:hardis:fix:listviewmine",
|
|
7055
|
+
"org:fix:hardis:listviewmine",
|
|
7056
|
+
"org:fix:listviewmine:hardis",
|
|
7057
|
+
"hardis:fix:org:listviewmine",
|
|
7058
|
+
"fix:hardis:org:listviewmine",
|
|
7059
|
+
"fix:org:hardis:listviewmine",
|
|
7060
|
+
"fix:org:listviewmine:hardis",
|
|
7061
|
+
"hardis:fix:listviewmine:org",
|
|
7062
|
+
"fix:hardis:listviewmine:org",
|
|
7063
|
+
"fix:listviewmine:hardis:org",
|
|
7064
|
+
"fix:listviewmine:org:hardis",
|
|
7065
|
+
"hardis:org:listviewmine:fix",
|
|
7066
|
+
"org:hardis:listviewmine:fix",
|
|
7067
|
+
"org:listviewmine:hardis:fix",
|
|
7068
|
+
"org:listviewmine:fix:hardis",
|
|
7069
|
+
"hardis:listviewmine:org:fix",
|
|
7070
|
+
"listviewmine:hardis:org:fix",
|
|
7071
|
+
"listviewmine:org:hardis:fix",
|
|
7072
|
+
"listviewmine:org:fix:hardis",
|
|
7073
|
+
"hardis:listviewmine:fix:org",
|
|
7074
|
+
"listviewmine:hardis:fix:org",
|
|
7075
|
+
"listviewmine:fix:hardis:org",
|
|
7076
|
+
"listviewmine:fix:org:hardis"
|
|
7198
7077
|
]
|
|
7199
7078
|
},
|
|
7200
|
-
"hardis:org:
|
|
7079
|
+
"hardis:org:generate:packagexmlfull": {
|
|
7201
7080
|
"aliases": [],
|
|
7202
7081
|
"args": {},
|
|
7203
|
-
"description": "
|
|
7082
|
+
"description": "Generates full org package.xml, including managed items",
|
|
7204
7083
|
"examples": [
|
|
7205
|
-
"$ sf hardis:org:
|
|
7084
|
+
"$ sf hardis:org:generate:packagexmlfull",
|
|
7085
|
+
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
7086
|
+
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
7206
7087
|
],
|
|
7207
7088
|
"flags": {
|
|
7208
7089
|
"json": {
|
|
@@ -7221,8 +7102,7 @@
|
|
|
7221
7102
|
"type": "option"
|
|
7222
7103
|
},
|
|
7223
7104
|
"outputfile": {
|
|
7224
|
-
"
|
|
7225
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
7105
|
+
"description": "Output package.xml file",
|
|
7226
7106
|
"name": "outputfile",
|
|
7227
7107
|
"hasDynamicHelp": false,
|
|
7228
7108
|
"multiple": false,
|
|
@@ -7266,59 +7146,57 @@
|
|
|
7266
7146
|
},
|
|
7267
7147
|
"hasDynamicHelp": true,
|
|
7268
7148
|
"hiddenAliases": [],
|
|
7269
|
-
"id": "hardis:org:
|
|
7149
|
+
"id": "hardis:org:generate:packagexmlfull",
|
|
7270
7150
|
"pluginAlias": "sfdx-hardis",
|
|
7271
7151
|
"pluginName": "sfdx-hardis",
|
|
7272
7152
|
"pluginType": "core",
|
|
7273
7153
|
"strict": true,
|
|
7274
7154
|
"enableJsonFlag": true,
|
|
7275
|
-
"title": "
|
|
7276
|
-
"requiresProject":
|
|
7277
|
-
"triggerNotification": true,
|
|
7155
|
+
"title": "Generate Full Org package.xml",
|
|
7156
|
+
"requiresProject": false,
|
|
7278
7157
|
"isESM": true,
|
|
7279
7158
|
"relativePath": [
|
|
7280
7159
|
"lib",
|
|
7281
7160
|
"commands",
|
|
7282
7161
|
"hardis",
|
|
7283
7162
|
"org",
|
|
7284
|
-
"
|
|
7285
|
-
"
|
|
7163
|
+
"generate",
|
|
7164
|
+
"packagexmlfull.js"
|
|
7286
7165
|
],
|
|
7287
7166
|
"aliasPermutations": [],
|
|
7288
7167
|
"permutations": [
|
|
7289
|
-
"hardis:org:
|
|
7290
|
-
"org:hardis:
|
|
7291
|
-
"org:
|
|
7292
|
-
"org:
|
|
7293
|
-
"hardis:
|
|
7294
|
-
"
|
|
7295
|
-
"
|
|
7296
|
-
"
|
|
7297
|
-
"hardis:
|
|
7298
|
-
"
|
|
7299
|
-
"
|
|
7300
|
-
"
|
|
7301
|
-
"hardis:org:
|
|
7302
|
-
"org:hardis:
|
|
7303
|
-
"org:
|
|
7304
|
-
"org:
|
|
7305
|
-
"hardis:
|
|
7306
|
-
"
|
|
7307
|
-
"
|
|
7308
|
-
"
|
|
7309
|
-
"hardis:
|
|
7310
|
-
"
|
|
7311
|
-
"
|
|
7312
|
-
"
|
|
7168
|
+
"hardis:org:generate:packagexmlfull",
|
|
7169
|
+
"org:hardis:generate:packagexmlfull",
|
|
7170
|
+
"org:generate:hardis:packagexmlfull",
|
|
7171
|
+
"org:generate:packagexmlfull:hardis",
|
|
7172
|
+
"hardis:generate:org:packagexmlfull",
|
|
7173
|
+
"generate:hardis:org:packagexmlfull",
|
|
7174
|
+
"generate:org:hardis:packagexmlfull",
|
|
7175
|
+
"generate:org:packagexmlfull:hardis",
|
|
7176
|
+
"hardis:generate:packagexmlfull:org",
|
|
7177
|
+
"generate:hardis:packagexmlfull:org",
|
|
7178
|
+
"generate:packagexmlfull:hardis:org",
|
|
7179
|
+
"generate:packagexmlfull:org:hardis",
|
|
7180
|
+
"hardis:org:packagexmlfull:generate",
|
|
7181
|
+
"org:hardis:packagexmlfull:generate",
|
|
7182
|
+
"org:packagexmlfull:hardis:generate",
|
|
7183
|
+
"org:packagexmlfull:generate:hardis",
|
|
7184
|
+
"hardis:packagexmlfull:org:generate",
|
|
7185
|
+
"packagexmlfull:hardis:org:generate",
|
|
7186
|
+
"packagexmlfull:org:hardis:generate",
|
|
7187
|
+
"packagexmlfull:org:generate:hardis",
|
|
7188
|
+
"hardis:packagexmlfull:generate:org",
|
|
7189
|
+
"packagexmlfull:hardis:generate:org",
|
|
7190
|
+
"packagexmlfull:generate:hardis:org",
|
|
7191
|
+
"packagexmlfull:generate:org:hardis"
|
|
7313
7192
|
]
|
|
7314
7193
|
},
|
|
7315
|
-
"hardis:org:
|
|
7194
|
+
"hardis:org:monitor:all": {
|
|
7316
7195
|
"aliases": [],
|
|
7317
7196
|
"args": {},
|
|
7318
|
-
"description": "
|
|
7197
|
+
"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",
|
|
7319
7198
|
"examples": [
|
|
7320
|
-
"$ sf hardis:org:
|
|
7321
|
-
"$ sf hardis:org:purge:apexlog --target-org nicolas.vuillamy@gmail.com"
|
|
7199
|
+
"$ sf hardis:org:monitor:all"
|
|
7322
7200
|
],
|
|
7323
7201
|
"flags": {
|
|
7324
7202
|
"json": {
|
|
@@ -7336,13 +7214,6 @@
|
|
|
7336
7214
|
"multiple": false,
|
|
7337
7215
|
"type": "option"
|
|
7338
7216
|
},
|
|
7339
|
-
"prompt": {
|
|
7340
|
-
"char": "z",
|
|
7341
|
-
"description": "Prompt for confirmation (true by default, use --no-prompt to skip)",
|
|
7342
|
-
"name": "prompt",
|
|
7343
|
-
"allowNo": true,
|
|
7344
|
-
"type": "boolean"
|
|
7345
|
-
},
|
|
7346
7217
|
"debug": {
|
|
7347
7218
|
"char": "d",
|
|
7348
7219
|
"description": "Activate debug mode (more logs)",
|
|
@@ -7378,62 +7249,156 @@
|
|
|
7378
7249
|
"multiple": false,
|
|
7379
7250
|
"type": "option"
|
|
7380
7251
|
}
|
|
7381
|
-
},
|
|
7382
|
-
"hasDynamicHelp": true,
|
|
7383
|
-
"hiddenAliases": [],
|
|
7384
|
-
"id": "hardis:org:
|
|
7385
|
-
"pluginAlias": "sfdx-hardis",
|
|
7386
|
-
"pluginName": "sfdx-hardis",
|
|
7387
|
-
"pluginType": "core",
|
|
7388
|
-
"strict": true,
|
|
7389
|
-
"enableJsonFlag": true,
|
|
7390
|
-
"title": "
|
|
7391
|
-
"
|
|
7252
|
+
},
|
|
7253
|
+
"hasDynamicHelp": true,
|
|
7254
|
+
"hiddenAliases": [],
|
|
7255
|
+
"id": "hardis:org:monitor:all",
|
|
7256
|
+
"pluginAlias": "sfdx-hardis",
|
|
7257
|
+
"pluginName": "sfdx-hardis",
|
|
7258
|
+
"pluginType": "core",
|
|
7259
|
+
"strict": true,
|
|
7260
|
+
"enableJsonFlag": true,
|
|
7261
|
+
"title": "Monitor org",
|
|
7262
|
+
"monitoringCommandsDefault": [
|
|
7263
|
+
{
|
|
7264
|
+
"key": "AUDIT_TRAIL",
|
|
7265
|
+
"title": "Detect suspect setup actions in major org",
|
|
7266
|
+
"command": "sf hardis:org:diagnose:audittrail",
|
|
7267
|
+
"frequency": "daily"
|
|
7268
|
+
},
|
|
7269
|
+
{
|
|
7270
|
+
"key": "LEGACY_API",
|
|
7271
|
+
"title": "Detect calls to deprecated API versions",
|
|
7272
|
+
"command": "sf hardis:org:diagnose:legacyapi",
|
|
7273
|
+
"frequency": "daily"
|
|
7274
|
+
},
|
|
7275
|
+
{
|
|
7276
|
+
"key": "ORG_LIMITS",
|
|
7277
|
+
"title": "Detect if org limits are close to be reached",
|
|
7278
|
+
"command": "sf hardis:org:monitor:limits",
|
|
7279
|
+
"frequency": "daily"
|
|
7280
|
+
},
|
|
7281
|
+
{
|
|
7282
|
+
"key": "LICENSES",
|
|
7283
|
+
"title": "Extract licenses information",
|
|
7284
|
+
"command": "sf hardis:org:diagnose:licenses",
|
|
7285
|
+
"frequency": "weekly"
|
|
7286
|
+
},
|
|
7287
|
+
{
|
|
7288
|
+
"key": "LINT_ACCESS",
|
|
7289
|
+
"title": "Detect custom elements with no access rights defined in permission sets",
|
|
7290
|
+
"command": "sf hardis:lint:access",
|
|
7291
|
+
"frequency": "weekly"
|
|
7292
|
+
},
|
|
7293
|
+
{
|
|
7294
|
+
"key": "UNUSED_LICENSES",
|
|
7295
|
+
"title": "Detect permission set licenses that are assigned to users that do not need them",
|
|
7296
|
+
"command": "sf hardis:org:diagnose:unusedlicenses",
|
|
7297
|
+
"frequency": "weekly"
|
|
7298
|
+
},
|
|
7299
|
+
{
|
|
7300
|
+
"key": "UNUSED_USERS",
|
|
7301
|
+
"title": "Detect active users without recent logins",
|
|
7302
|
+
"command": "sf hardis:org:diagnose:unusedusers",
|
|
7303
|
+
"frequency": "weekly"
|
|
7304
|
+
},
|
|
7305
|
+
{
|
|
7306
|
+
"key": "ACTIVE_USERS",
|
|
7307
|
+
"title": "Detect active users with recent logins",
|
|
7308
|
+
"command": "sf hardis:org:diagnose:unusedusers --returnactiveusers",
|
|
7309
|
+
"frequency": "weekly"
|
|
7310
|
+
},
|
|
7311
|
+
{
|
|
7312
|
+
"key": "ORG_INFO",
|
|
7313
|
+
"title": "Get org info + SF instance info + next major upgrade date",
|
|
7314
|
+
"command": "sf hardis:org:diagnose:instanceupgrade",
|
|
7315
|
+
"frequency": "weekly"
|
|
7316
|
+
},
|
|
7317
|
+
{
|
|
7318
|
+
"key": "RELEASE_UPDATES",
|
|
7319
|
+
"title": "Gather warnings about incoming and overdue Release Updates",
|
|
7320
|
+
"command": "sf hardis:org:diagnose:releaseupdates",
|
|
7321
|
+
"frequency": "weekly"
|
|
7322
|
+
},
|
|
7323
|
+
{
|
|
7324
|
+
"key": "UNUSED_METADATAS",
|
|
7325
|
+
"title": "Detect custom labels and custom permissions that are not in use",
|
|
7326
|
+
"command": "sf hardis:lint:unusedmetadatas",
|
|
7327
|
+
"frequency": "weekly"
|
|
7328
|
+
},
|
|
7329
|
+
{
|
|
7330
|
+
"key": "UNUSED_APEX_CLASSES",
|
|
7331
|
+
"title": "Detect unused Apex classes in an org",
|
|
7332
|
+
"command": "sf hardis:org:diagnose:unused-apex-classes",
|
|
7333
|
+
"frequency": "weekly"
|
|
7334
|
+
},
|
|
7335
|
+
{
|
|
7336
|
+
"key": "CONNECTED_APPS",
|
|
7337
|
+
"title": "Detect unused Connected Apps in an org",
|
|
7338
|
+
"command": "sf hardis:org:diagnose:unused-connected-apps",
|
|
7339
|
+
"frequency": "weekly"
|
|
7340
|
+
},
|
|
7341
|
+
{
|
|
7342
|
+
"key": "METADATA_STATUS",
|
|
7343
|
+
"title": "Detect inactive metadata",
|
|
7344
|
+
"command": "sf hardis:lint:metadatastatus",
|
|
7345
|
+
"frequency": "weekly"
|
|
7346
|
+
},
|
|
7347
|
+
{
|
|
7348
|
+
"key": "MISSING_ATTRIBUTES",
|
|
7349
|
+
"title": "Detect missing description on custom field",
|
|
7350
|
+
"command": "sf hardis:lint:missingattributes",
|
|
7351
|
+
"frequency": "weekly"
|
|
7352
|
+
}
|
|
7353
|
+
],
|
|
7354
|
+
"requiresProject": true,
|
|
7355
|
+
"triggerNotification": true,
|
|
7392
7356
|
"isESM": true,
|
|
7393
7357
|
"relativePath": [
|
|
7394
7358
|
"lib",
|
|
7395
7359
|
"commands",
|
|
7396
7360
|
"hardis",
|
|
7397
7361
|
"org",
|
|
7398
|
-
"
|
|
7399
|
-
"
|
|
7362
|
+
"monitor",
|
|
7363
|
+
"all.js"
|
|
7400
7364
|
],
|
|
7401
7365
|
"aliasPermutations": [],
|
|
7402
7366
|
"permutations": [
|
|
7403
|
-
"hardis:org:
|
|
7404
|
-
"org:hardis:
|
|
7405
|
-
"org:
|
|
7406
|
-
"org:
|
|
7407
|
-
"hardis:
|
|
7408
|
-
"
|
|
7409
|
-
"
|
|
7410
|
-
"
|
|
7411
|
-
"hardis:
|
|
7412
|
-
"
|
|
7413
|
-
"
|
|
7414
|
-
"
|
|
7415
|
-
"hardis:org:
|
|
7416
|
-
"org:hardis:
|
|
7417
|
-
"org:
|
|
7418
|
-
"org:
|
|
7419
|
-
"hardis:
|
|
7420
|
-
"
|
|
7421
|
-
"
|
|
7422
|
-
"
|
|
7423
|
-
"hardis:
|
|
7424
|
-
"
|
|
7425
|
-
"
|
|
7426
|
-
"
|
|
7367
|
+
"hardis:org:monitor:all",
|
|
7368
|
+
"org:hardis:monitor:all",
|
|
7369
|
+
"org:monitor:hardis:all",
|
|
7370
|
+
"org:monitor:all:hardis",
|
|
7371
|
+
"hardis:monitor:org:all",
|
|
7372
|
+
"monitor:hardis:org:all",
|
|
7373
|
+
"monitor:org:hardis:all",
|
|
7374
|
+
"monitor:org:all:hardis",
|
|
7375
|
+
"hardis:monitor:all:org",
|
|
7376
|
+
"monitor:hardis:all:org",
|
|
7377
|
+
"monitor:all:hardis:org",
|
|
7378
|
+
"monitor:all:org:hardis",
|
|
7379
|
+
"hardis:org:all:monitor",
|
|
7380
|
+
"org:hardis:all:monitor",
|
|
7381
|
+
"org:all:hardis:monitor",
|
|
7382
|
+
"org:all:monitor:hardis",
|
|
7383
|
+
"hardis:all:org:monitor",
|
|
7384
|
+
"all:hardis:org:monitor",
|
|
7385
|
+
"all:org:hardis:monitor",
|
|
7386
|
+
"all:org:monitor:hardis",
|
|
7387
|
+
"hardis:all:monitor:org",
|
|
7388
|
+
"all:hardis:monitor:org",
|
|
7389
|
+
"all:monitor:hardis:org",
|
|
7390
|
+
"all:monitor:org:hardis"
|
|
7427
7391
|
]
|
|
7428
7392
|
},
|
|
7429
|
-
"hardis:org:
|
|
7393
|
+
"hardis:org:monitor:backup": {
|
|
7430
7394
|
"aliases": [],
|
|
7431
7395
|
"args": {},
|
|
7432
|
-
"description": "
|
|
7396
|
+
"description": "Retrieve sfdx sources in the context of a monitoring backup\n\nThe command exists in 2 modes: filtered(default & recommended) and full.\n\n## Filtered mode (default, better performances)\n\nAutomatically skips metadatas from installed packages with namespace. \n\nYou can remove more metadata types from backup, especially in case you have too many metadatas and that provokes a crash, using:\n\n- Manual update of `manifest/package-skip-items.xml` config file (then commit & push in the same branch)\n\n - Works with full wildcard (`<members>*</members>`) , named metadata (`<members>Account.Name</members>`) or partial wildcards names (`<members>pi__*</members>` , `<members>*__dlm</members>` , or `<members>prefix*suffix</members>`)\n\n- Environment variable MONITORING_BACKUP_SKIP_METADATA_TYPES (example: `MONITORING_BACKUP_SKIP_METADATA_TYPES=CustomLabel,StaticResource,Translation`): that will be applied to all monitoring branches.\n\n## Full mode\n\nActivate it with **--full** parameter, or variable MONITORING_BACKUP_MODE_FULL=true\n\nIgnores filters (namespaces items & manifest/package-skip-items.xml) to retrieve ALL metadatas, including those you might not care about (reports, translations...)\n\nAs we can retrieve only 10000 files by call, the list of all metadatas will be chunked to make multiple calls (and take more time than filtered mode)\n\n- if you use `--full-apply-filters` , manifest/package-skip-items.xml and MONITORING_BACKUP_SKIP_METADATA_TYPES filters will be applied anyway\n- if you use `--exclude-namespaces` , namespaced items will be ignored\n\n_With those both options, it's like if you are not using --full, but with chunked metadata download_\n\n## In CI/CD\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-metadata-backup/) and can output Grafana, Slack and MsTeams Notifications.\n\n## Troubleshooting\n\nIf you have unknown errors (it happens !), you can investigate using the full command with smaller chunks.\n\nExample: `sf hardis:org:monitor:backup --full --exclude-namespaces --full-apply-filters --max-by-chunk 500`\n\nIt will allow you the identify the responsible metadata and ignore it using package-skip-items.xml or MONITORING_BACKUP_SKIP_METADATA_TYPES env variable.\n\n## Documentation\n\n[Doc generation (including visual flows)](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) is triggered at the end of the command.\n\nIf you want to also upload HTML Documentation on your Salesforce Org as static resource, use variable **SFDX_HARDIS_DOC_DEPLOY_TO_ORG=\"true\"**\n\nIf you want to also upload HTML Documentation on Cloudflare, use variable **SFDX_HARDIS_DOC_DEPLOY_TO_CLOUDFLARE=\"true\"**\n\nIf Flow history doc always display a single state, you probably need to update your workflow configuration:\n\n- on Gitlab: Env variable [`GIT_FETCH_EXTRA_FLAGS: --depth 10000`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.gitlab-ci.yml#L11)\n- on GitHub: [`fetch-depth: 0`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.github/workflows/org-monitoring.yml#L58)\n- on Azure: [`fetchDepth: \"0\"`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/azure-pipelines.yml#L39)\n- on Bitbucket: [`step: clone: depth: full`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/bitbucket-pipelines.yml#L18)\n",
|
|
7433
7397
|
"examples": [
|
|
7434
|
-
"$ sf hardis:org:
|
|
7435
|
-
"$ sf hardis:org:
|
|
7436
|
-
"$ sf hardis:org:
|
|
7398
|
+
"$ sf hardis:org:monitor:backup",
|
|
7399
|
+
"$ sf hardis:org:monitor:backup --full",
|
|
7400
|
+
"$ sf hardis:org:monitor:backup --full --exclude-namespaces",
|
|
7401
|
+
"$ sf hardis:org:monitor:backup --full --exclude-namespaces --full-apply-filters"
|
|
7437
7402
|
],
|
|
7438
7403
|
"flags": {
|
|
7439
7404
|
"json": {
|
|
@@ -7451,48 +7416,53 @@
|
|
|
7451
7416
|
"multiple": false,
|
|
7452
7417
|
"type": "option"
|
|
7453
7418
|
},
|
|
7454
|
-
"
|
|
7455
|
-
"
|
|
7456
|
-
"
|
|
7457
|
-
"
|
|
7458
|
-
"allowNo": true,
|
|
7419
|
+
"full": {
|
|
7420
|
+
"description": "Dot not take in account filtering using package-skip-items.xml and MONITORING_BACKUP_SKIP_METADATA_TYPES. Efficient but much much slower !",
|
|
7421
|
+
"name": "full",
|
|
7422
|
+
"allowNo": false,
|
|
7459
7423
|
"type": "boolean"
|
|
7460
7424
|
},
|
|
7461
|
-
"
|
|
7462
|
-
"char": "
|
|
7463
|
-
"description": "
|
|
7464
|
-
"name": "
|
|
7425
|
+
"max-by-chunk": {
|
|
7426
|
+
"char": "m",
|
|
7427
|
+
"description": "If mode --full is activated, maximum number of metadatas in a package.xml chunk",
|
|
7428
|
+
"name": "max-by-chunk",
|
|
7429
|
+
"default": 3000,
|
|
7465
7430
|
"hasDynamicHelp": false,
|
|
7466
7431
|
"multiple": false,
|
|
7467
7432
|
"type": "option"
|
|
7468
7433
|
},
|
|
7469
|
-
"
|
|
7470
|
-
"char": "
|
|
7471
|
-
"description": "
|
|
7472
|
-
"name": "
|
|
7434
|
+
"exclude-namespaces": {
|
|
7435
|
+
"char": "e",
|
|
7436
|
+
"description": "If mode --full is activated, exclude namespaced metadatas",
|
|
7437
|
+
"name": "exclude-namespaces",
|
|
7438
|
+
"allowNo": false,
|
|
7439
|
+
"type": "boolean"
|
|
7440
|
+
},
|
|
7441
|
+
"full-apply-filters": {
|
|
7442
|
+
"char": "z",
|
|
7443
|
+
"description": "If mode --full is activated, apply filters of manifest/package-skip-items.xml and MONITORING_BACKUP_SKIP_METADATA_TYPES anyway",
|
|
7444
|
+
"name": "full-apply-filters",
|
|
7445
|
+
"allowNo": false,
|
|
7446
|
+
"type": "boolean"
|
|
7447
|
+
},
|
|
7448
|
+
"start-chunk": {
|
|
7449
|
+
"description": "Use this parameter to troubleshoot a specific chunk. It will be used as the first chunk to retrieve",
|
|
7450
|
+
"name": "start-chunk",
|
|
7451
|
+
"default": 1,
|
|
7473
7452
|
"hasDynamicHelp": false,
|
|
7474
7453
|
"multiple": false,
|
|
7475
7454
|
"type": "option"
|
|
7476
7455
|
},
|
|
7477
|
-
"
|
|
7478
|
-
"
|
|
7479
|
-
"
|
|
7480
|
-
"name": "delete-flow-interviews",
|
|
7456
|
+
"skip-doc": {
|
|
7457
|
+
"description": "Skip the generation of project documentation at the end of the command",
|
|
7458
|
+
"name": "skip-doc",
|
|
7481
7459
|
"allowNo": false,
|
|
7482
7460
|
"type": "boolean"
|
|
7483
7461
|
},
|
|
7484
|
-
"
|
|
7462
|
+
"outputfile": {
|
|
7485
7463
|
"char": "f",
|
|
7486
|
-
"description": "
|
|
7487
|
-
"name": "
|
|
7488
|
-
"allowNo": true,
|
|
7489
|
-
"type": "boolean"
|
|
7490
|
-
},
|
|
7491
|
-
"instanceurl": {
|
|
7492
|
-
"char": "r",
|
|
7493
|
-
"description": "URL of org instance",
|
|
7494
|
-
"name": "instanceurl",
|
|
7495
|
-
"default": "https://login.salesforce.com",
|
|
7464
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
7465
|
+
"name": "outputfile",
|
|
7496
7466
|
"hasDynamicHelp": false,
|
|
7497
7467
|
"multiple": false,
|
|
7498
7468
|
"type": "option"
|
|
@@ -7535,58 +7505,58 @@
|
|
|
7535
7505
|
},
|
|
7536
7506
|
"hasDynamicHelp": true,
|
|
7537
7507
|
"hiddenAliases": [],
|
|
7538
|
-
"id": "hardis:org:
|
|
7508
|
+
"id": "hardis:org:monitor:backup",
|
|
7539
7509
|
"pluginAlias": "sfdx-hardis",
|
|
7540
7510
|
"pluginName": "sfdx-hardis",
|
|
7541
7511
|
"pluginType": "core",
|
|
7542
7512
|
"strict": true,
|
|
7543
7513
|
"enableJsonFlag": true,
|
|
7544
|
-
"title": "
|
|
7545
|
-
"requiresProject":
|
|
7514
|
+
"title": "Backup DX sources",
|
|
7515
|
+
"requiresProject": true,
|
|
7516
|
+
"triggerNotification": true,
|
|
7546
7517
|
"isESM": true,
|
|
7547
7518
|
"relativePath": [
|
|
7548
7519
|
"lib",
|
|
7549
7520
|
"commands",
|
|
7550
7521
|
"hardis",
|
|
7551
7522
|
"org",
|
|
7552
|
-
"
|
|
7553
|
-
"
|
|
7523
|
+
"monitor",
|
|
7524
|
+
"backup.js"
|
|
7554
7525
|
],
|
|
7555
7526
|
"aliasPermutations": [],
|
|
7556
7527
|
"permutations": [
|
|
7557
|
-
"hardis:org:
|
|
7558
|
-
"org:hardis:
|
|
7559
|
-
"org:
|
|
7560
|
-
"org:
|
|
7561
|
-
"hardis:
|
|
7562
|
-
"
|
|
7563
|
-
"
|
|
7564
|
-
"
|
|
7565
|
-
"hardis:
|
|
7566
|
-
"
|
|
7567
|
-
"
|
|
7568
|
-
"
|
|
7569
|
-
"hardis:org:
|
|
7570
|
-
"org:hardis:
|
|
7571
|
-
"org:
|
|
7572
|
-
"org:
|
|
7573
|
-
"hardis:
|
|
7574
|
-
"
|
|
7575
|
-
"
|
|
7576
|
-
"
|
|
7577
|
-
"hardis:
|
|
7578
|
-
"
|
|
7579
|
-
"
|
|
7580
|
-
"
|
|
7528
|
+
"hardis:org:monitor:backup",
|
|
7529
|
+
"org:hardis:monitor:backup",
|
|
7530
|
+
"org:monitor:hardis:backup",
|
|
7531
|
+
"org:monitor:backup:hardis",
|
|
7532
|
+
"hardis:monitor:org:backup",
|
|
7533
|
+
"monitor:hardis:org:backup",
|
|
7534
|
+
"monitor:org:hardis:backup",
|
|
7535
|
+
"monitor:org:backup:hardis",
|
|
7536
|
+
"hardis:monitor:backup:org",
|
|
7537
|
+
"monitor:hardis:backup:org",
|
|
7538
|
+
"monitor:backup:hardis:org",
|
|
7539
|
+
"monitor:backup:org:hardis",
|
|
7540
|
+
"hardis:org:backup:monitor",
|
|
7541
|
+
"org:hardis:backup:monitor",
|
|
7542
|
+
"org:backup:hardis:monitor",
|
|
7543
|
+
"org:backup:monitor:hardis",
|
|
7544
|
+
"hardis:backup:org:monitor",
|
|
7545
|
+
"backup:hardis:org:monitor",
|
|
7546
|
+
"backup:org:hardis:monitor",
|
|
7547
|
+
"backup:org:monitor:hardis",
|
|
7548
|
+
"hardis:backup:monitor:org",
|
|
7549
|
+
"backup:hardis:monitor:org",
|
|
7550
|
+
"backup:monitor:hardis:org",
|
|
7551
|
+
"backup:monitor:org:hardis"
|
|
7581
7552
|
]
|
|
7582
7553
|
},
|
|
7583
|
-
"hardis:org:
|
|
7554
|
+
"hardis:org:monitor:limits": {
|
|
7584
7555
|
"aliases": [],
|
|
7585
7556
|
"args": {},
|
|
7586
|
-
"description": "
|
|
7557
|
+
"description": "Check limits of a SF org and send notifications about limits are superior to 50%, 75% or 100%.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-org-limits/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
7587
7558
|
"examples": [
|
|
7588
|
-
"$ sf hardis:org:
|
|
7589
|
-
"sf hardis:org:retrieve:packageconfig -u myOrg"
|
|
7559
|
+
"$ sf hardis:org:monitor:limits"
|
|
7590
7560
|
],
|
|
7591
7561
|
"flags": {
|
|
7592
7562
|
"json": {
|
|
@@ -7604,6 +7574,14 @@
|
|
|
7604
7574
|
"multiple": false,
|
|
7605
7575
|
"type": "option"
|
|
7606
7576
|
},
|
|
7577
|
+
"outputfile": {
|
|
7578
|
+
"char": "f",
|
|
7579
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
7580
|
+
"name": "outputfile",
|
|
7581
|
+
"hasDynamicHelp": false,
|
|
7582
|
+
"multiple": false,
|
|
7583
|
+
"type": "option"
|
|
7584
|
+
},
|
|
7607
7585
|
"debug": {
|
|
7608
7586
|
"char": "d",
|
|
7609
7587
|
"description": "Activate debug mode (more logs)",
|
|
@@ -7642,57 +7620,59 @@
|
|
|
7642
7620
|
},
|
|
7643
7621
|
"hasDynamicHelp": true,
|
|
7644
7622
|
"hiddenAliases": [],
|
|
7645
|
-
"id": "hardis:org:
|
|
7623
|
+
"id": "hardis:org:monitor:limits",
|
|
7646
7624
|
"pluginAlias": "sfdx-hardis",
|
|
7647
7625
|
"pluginName": "sfdx-hardis",
|
|
7648
7626
|
"pluginType": "core",
|
|
7649
7627
|
"strict": true,
|
|
7650
7628
|
"enableJsonFlag": true,
|
|
7651
|
-
"title": "
|
|
7652
|
-
"requiresProject":
|
|
7629
|
+
"title": "Check org limits",
|
|
7630
|
+
"requiresProject": true,
|
|
7631
|
+
"triggerNotification": true,
|
|
7653
7632
|
"isESM": true,
|
|
7654
7633
|
"relativePath": [
|
|
7655
7634
|
"lib",
|
|
7656
7635
|
"commands",
|
|
7657
7636
|
"hardis",
|
|
7658
7637
|
"org",
|
|
7659
|
-
"
|
|
7660
|
-
"
|
|
7638
|
+
"monitor",
|
|
7639
|
+
"limits.js"
|
|
7661
7640
|
],
|
|
7662
7641
|
"aliasPermutations": [],
|
|
7663
7642
|
"permutations": [
|
|
7664
|
-
"hardis:org:
|
|
7665
|
-
"org:hardis:
|
|
7666
|
-
"org:
|
|
7667
|
-
"org:
|
|
7668
|
-
"hardis:
|
|
7669
|
-
"
|
|
7670
|
-
"
|
|
7671
|
-
"
|
|
7672
|
-
"hardis:
|
|
7673
|
-
"
|
|
7674
|
-
"
|
|
7675
|
-
"
|
|
7676
|
-
"hardis:org:
|
|
7677
|
-
"org:hardis:
|
|
7678
|
-
"org:
|
|
7679
|
-
"org:
|
|
7680
|
-
"hardis:
|
|
7681
|
-
"
|
|
7682
|
-
"
|
|
7683
|
-
"
|
|
7684
|
-
"hardis:
|
|
7685
|
-
"
|
|
7686
|
-
"
|
|
7687
|
-
"
|
|
7643
|
+
"hardis:org:monitor:limits",
|
|
7644
|
+
"org:hardis:monitor:limits",
|
|
7645
|
+
"org:monitor:hardis:limits",
|
|
7646
|
+
"org:monitor:limits:hardis",
|
|
7647
|
+
"hardis:monitor:org:limits",
|
|
7648
|
+
"monitor:hardis:org:limits",
|
|
7649
|
+
"monitor:org:hardis:limits",
|
|
7650
|
+
"monitor:org:limits:hardis",
|
|
7651
|
+
"hardis:monitor:limits:org",
|
|
7652
|
+
"monitor:hardis:limits:org",
|
|
7653
|
+
"monitor:limits:hardis:org",
|
|
7654
|
+
"monitor:limits:org:hardis",
|
|
7655
|
+
"hardis:org:limits:monitor",
|
|
7656
|
+
"org:hardis:limits:monitor",
|
|
7657
|
+
"org:limits:hardis:monitor",
|
|
7658
|
+
"org:limits:monitor:hardis",
|
|
7659
|
+
"hardis:limits:org:monitor",
|
|
7660
|
+
"limits:hardis:org:monitor",
|
|
7661
|
+
"limits:org:hardis:monitor",
|
|
7662
|
+
"limits:org:monitor:hardis",
|
|
7663
|
+
"hardis:limits:monitor:org",
|
|
7664
|
+
"limits:hardis:monitor:org",
|
|
7665
|
+
"limits:monitor:hardis:org",
|
|
7666
|
+
"limits:monitor:org:hardis"
|
|
7688
7667
|
]
|
|
7689
7668
|
},
|
|
7690
|
-
"hardis:org:
|
|
7669
|
+
"hardis:org:purge:apexlog": {
|
|
7691
7670
|
"aliases": [],
|
|
7692
7671
|
"args": {},
|
|
7693
|
-
"description": "
|
|
7672
|
+
"description": "Purge apex logs in selected org",
|
|
7694
7673
|
"examples": [
|
|
7695
|
-
"$ sf hardis:org:
|
|
7674
|
+
"$ sf hardis:org:purge:apexlog",
|
|
7675
|
+
"$ sf hardis:org:purge:apexlog --target-org nicolas.vuillamy@gmail.com"
|
|
7696
7676
|
],
|
|
7697
7677
|
"flags": {
|
|
7698
7678
|
"json": {
|
|
@@ -7710,20 +7690,12 @@
|
|
|
7710
7690
|
"multiple": false,
|
|
7711
7691
|
"type": "option"
|
|
7712
7692
|
},
|
|
7713
|
-
"
|
|
7714
|
-
"char": "
|
|
7715
|
-
"description": "
|
|
7716
|
-
"name": "
|
|
7717
|
-
"
|
|
7718
|
-
"
|
|
7719
|
-
"multiple": false,
|
|
7720
|
-
"options": [
|
|
7721
|
-
"NoTestRun",
|
|
7722
|
-
"RunSpecifiedTests",
|
|
7723
|
-
"RunLocalTests",
|
|
7724
|
-
"RunAllTestsInOrg"
|
|
7725
|
-
],
|
|
7726
|
-
"type": "option"
|
|
7693
|
+
"prompt": {
|
|
7694
|
+
"char": "z",
|
|
7695
|
+
"description": "Prompt for confirmation (true by default, use --no-prompt to skip)",
|
|
7696
|
+
"name": "prompt",
|
|
7697
|
+
"allowNo": true,
|
|
7698
|
+
"type": "boolean"
|
|
7727
7699
|
},
|
|
7728
7700
|
"debug": {
|
|
7729
7701
|
"char": "d",
|
|
@@ -7763,58 +7735,59 @@
|
|
|
7763
7735
|
},
|
|
7764
7736
|
"hasDynamicHelp": true,
|
|
7765
7737
|
"hiddenAliases": [],
|
|
7766
|
-
"id": "hardis:org:
|
|
7738
|
+
"id": "hardis:org:purge:apexlog",
|
|
7767
7739
|
"pluginAlias": "sfdx-hardis",
|
|
7768
7740
|
"pluginName": "sfdx-hardis",
|
|
7769
7741
|
"pluginType": "core",
|
|
7770
7742
|
"strict": true,
|
|
7771
7743
|
"enableJsonFlag": true,
|
|
7772
|
-
"title": "
|
|
7744
|
+
"title": "Purge Apex Logs",
|
|
7745
|
+
"requiresProject": false,
|
|
7773
7746
|
"isESM": true,
|
|
7774
7747
|
"relativePath": [
|
|
7775
7748
|
"lib",
|
|
7776
7749
|
"commands",
|
|
7777
7750
|
"hardis",
|
|
7778
7751
|
"org",
|
|
7779
|
-
"
|
|
7780
|
-
"
|
|
7752
|
+
"purge",
|
|
7753
|
+
"apexlog.js"
|
|
7781
7754
|
],
|
|
7782
7755
|
"aliasPermutations": [],
|
|
7783
7756
|
"permutations": [
|
|
7784
|
-
"hardis:org:
|
|
7785
|
-
"org:hardis:
|
|
7786
|
-
"org:
|
|
7787
|
-
"org:
|
|
7788
|
-
"hardis:
|
|
7789
|
-
"
|
|
7790
|
-
"
|
|
7791
|
-
"
|
|
7792
|
-
"hardis:
|
|
7793
|
-
"
|
|
7794
|
-
"
|
|
7795
|
-
"
|
|
7796
|
-
"hardis:org:
|
|
7797
|
-
"org:hardis:
|
|
7798
|
-
"org:
|
|
7799
|
-
"org:
|
|
7800
|
-
"hardis:
|
|
7801
|
-
"
|
|
7802
|
-
"
|
|
7803
|
-
"
|
|
7804
|
-
"hardis:
|
|
7805
|
-
"
|
|
7806
|
-
"
|
|
7807
|
-
"
|
|
7757
|
+
"hardis:org:purge:apexlog",
|
|
7758
|
+
"org:hardis:purge:apexlog",
|
|
7759
|
+
"org:purge:hardis:apexlog",
|
|
7760
|
+
"org:purge:apexlog:hardis",
|
|
7761
|
+
"hardis:purge:org:apexlog",
|
|
7762
|
+
"purge:hardis:org:apexlog",
|
|
7763
|
+
"purge:org:hardis:apexlog",
|
|
7764
|
+
"purge:org:apexlog:hardis",
|
|
7765
|
+
"hardis:purge:apexlog:org",
|
|
7766
|
+
"purge:hardis:apexlog:org",
|
|
7767
|
+
"purge:apexlog:hardis:org",
|
|
7768
|
+
"purge:apexlog:org:hardis",
|
|
7769
|
+
"hardis:org:apexlog:purge",
|
|
7770
|
+
"org:hardis:apexlog:purge",
|
|
7771
|
+
"org:apexlog:hardis:purge",
|
|
7772
|
+
"org:apexlog:purge:hardis",
|
|
7773
|
+
"hardis:apexlog:org:purge",
|
|
7774
|
+
"apexlog:hardis:org:purge",
|
|
7775
|
+
"apexlog:org:hardis:purge",
|
|
7776
|
+
"apexlog:org:purge:hardis",
|
|
7777
|
+
"hardis:apexlog:purge:org",
|
|
7778
|
+
"apexlog:hardis:purge:org",
|
|
7779
|
+
"apexlog:purge:hardis:org",
|
|
7780
|
+
"apexlog:purge:org:hardis"
|
|
7808
7781
|
]
|
|
7809
7782
|
},
|
|
7810
|
-
"hardis:org:
|
|
7783
|
+
"hardis:org:purge:flow": {
|
|
7811
7784
|
"aliases": [],
|
|
7812
7785
|
"args": {},
|
|
7813
|
-
"description": "
|
|
7786
|
+
"description": "Purge Obsolete flow versions to avoid the 50 max versions limit. Filters on Status and Name",
|
|
7814
7787
|
"examples": [
|
|
7815
|
-
"$ sf hardis:org:
|
|
7816
|
-
"$ sf hardis:org:
|
|
7817
|
-
"$ sf hardis:org:
|
|
7788
|
+
"$ sf hardis:org:purge:flow",
|
|
7789
|
+
"$ sf hardis:org:purge:flow --target-org nicolas.vuillamy@gmail.com --no-prompt --delete-flow-interviews",
|
|
7790
|
+
"$ sf hardis:org:purge:flow --target-org nicolas.vuillamy@gmail.com --status \"Obsolete,Draft,InvalidDraft\" --name TestFlow"
|
|
7818
7791
|
],
|
|
7819
7792
|
"flags": {
|
|
7820
7793
|
"json": {
|
|
@@ -7832,10 +7805,48 @@
|
|
|
7832
7805
|
"multiple": false,
|
|
7833
7806
|
"type": "option"
|
|
7834
7807
|
},
|
|
7835
|
-
"
|
|
7836
|
-
"char": "
|
|
7837
|
-
"description": "
|
|
7838
|
-
"name": "
|
|
7808
|
+
"prompt": {
|
|
7809
|
+
"char": "z",
|
|
7810
|
+
"description": "Prompt for confirmation (true by default, use --no-prompt to skip)",
|
|
7811
|
+
"name": "prompt",
|
|
7812
|
+
"allowNo": true,
|
|
7813
|
+
"type": "boolean"
|
|
7814
|
+
},
|
|
7815
|
+
"name": {
|
|
7816
|
+
"char": "n",
|
|
7817
|
+
"description": "Filter according to Name criteria",
|
|
7818
|
+
"name": "name",
|
|
7819
|
+
"hasDynamicHelp": false,
|
|
7820
|
+
"multiple": false,
|
|
7821
|
+
"type": "option"
|
|
7822
|
+
},
|
|
7823
|
+
"status": {
|
|
7824
|
+
"char": "s",
|
|
7825
|
+
"description": "Filter according to Status criteria",
|
|
7826
|
+
"name": "status",
|
|
7827
|
+
"hasDynamicHelp": false,
|
|
7828
|
+
"multiple": false,
|
|
7829
|
+
"type": "option"
|
|
7830
|
+
},
|
|
7831
|
+
"delete-flow-interviews": {
|
|
7832
|
+
"char": "w",
|
|
7833
|
+
"description": "If the presence of Flow interviews prevent to delete flows versions, delete them before retrying to delete flow versions",
|
|
7834
|
+
"name": "delete-flow-interviews",
|
|
7835
|
+
"allowNo": false,
|
|
7836
|
+
"type": "boolean"
|
|
7837
|
+
},
|
|
7838
|
+
"allowpurgefailure": {
|
|
7839
|
+
"char": "f",
|
|
7840
|
+
"description": "Allows purges to fail without exiting with 1. Use --no-allowpurgefailure to disable",
|
|
7841
|
+
"name": "allowpurgefailure",
|
|
7842
|
+
"allowNo": true,
|
|
7843
|
+
"type": "boolean"
|
|
7844
|
+
},
|
|
7845
|
+
"instanceurl": {
|
|
7846
|
+
"char": "r",
|
|
7847
|
+
"description": "URL of org instance",
|
|
7848
|
+
"name": "instanceurl",
|
|
7849
|
+
"default": "https://login.salesforce.com",
|
|
7839
7850
|
"hasDynamicHelp": false,
|
|
7840
7851
|
"multiple": false,
|
|
7841
7852
|
"type": "option"
|
|
@@ -7878,13 +7889,13 @@
|
|
|
7878
7889
|
},
|
|
7879
7890
|
"hasDynamicHelp": true,
|
|
7880
7891
|
"hiddenAliases": [],
|
|
7881
|
-
"id": "hardis:org:
|
|
7892
|
+
"id": "hardis:org:purge:flow",
|
|
7882
7893
|
"pluginAlias": "sfdx-hardis",
|
|
7883
7894
|
"pluginName": "sfdx-hardis",
|
|
7884
7895
|
"pluginType": "core",
|
|
7885
7896
|
"strict": true,
|
|
7886
7897
|
"enableJsonFlag": true,
|
|
7887
|
-
"title": "
|
|
7898
|
+
"title": "Purge Flow versions",
|
|
7888
7899
|
"requiresProject": false,
|
|
7889
7900
|
"isESM": true,
|
|
7890
7901
|
"relativePath": [
|
|
@@ -7892,46 +7903,44 @@
|
|
|
7892
7903
|
"commands",
|
|
7893
7904
|
"hardis",
|
|
7894
7905
|
"org",
|
|
7895
|
-
"
|
|
7896
|
-
"
|
|
7906
|
+
"purge",
|
|
7907
|
+
"flow.js"
|
|
7897
7908
|
],
|
|
7898
7909
|
"aliasPermutations": [],
|
|
7899
7910
|
"permutations": [
|
|
7900
|
-
"hardis:org:
|
|
7901
|
-
"org:hardis:
|
|
7902
|
-
"org:
|
|
7903
|
-
"org:
|
|
7904
|
-
"hardis:
|
|
7905
|
-
"
|
|
7906
|
-
"
|
|
7907
|
-
"
|
|
7908
|
-
"hardis:
|
|
7909
|
-
"
|
|
7910
|
-
"
|
|
7911
|
-
"
|
|
7912
|
-
"hardis:org:
|
|
7913
|
-
"org:hardis:
|
|
7914
|
-
"org:
|
|
7915
|
-
"org:
|
|
7916
|
-
"hardis:
|
|
7917
|
-
"
|
|
7918
|
-
"
|
|
7919
|
-
"
|
|
7920
|
-
"hardis:
|
|
7921
|
-
"
|
|
7922
|
-
"
|
|
7923
|
-
"
|
|
7911
|
+
"hardis:org:purge:flow",
|
|
7912
|
+
"org:hardis:purge:flow",
|
|
7913
|
+
"org:purge:hardis:flow",
|
|
7914
|
+
"org:purge:flow:hardis",
|
|
7915
|
+
"hardis:purge:org:flow",
|
|
7916
|
+
"purge:hardis:org:flow",
|
|
7917
|
+
"purge:org:hardis:flow",
|
|
7918
|
+
"purge:org:flow:hardis",
|
|
7919
|
+
"hardis:purge:flow:org",
|
|
7920
|
+
"purge:hardis:flow:org",
|
|
7921
|
+
"purge:flow:hardis:org",
|
|
7922
|
+
"purge:flow:org:hardis",
|
|
7923
|
+
"hardis:org:flow:purge",
|
|
7924
|
+
"org:hardis:flow:purge",
|
|
7925
|
+
"org:flow:hardis:purge",
|
|
7926
|
+
"org:flow:purge:hardis",
|
|
7927
|
+
"hardis:flow:org:purge",
|
|
7928
|
+
"flow:hardis:org:purge",
|
|
7929
|
+
"flow:org:hardis:purge",
|
|
7930
|
+
"flow:org:purge:hardis",
|
|
7931
|
+
"hardis:flow:purge:org",
|
|
7932
|
+
"flow:hardis:purge:org",
|
|
7933
|
+
"flow:purge:hardis:org",
|
|
7934
|
+
"flow:purge:org:hardis"
|
|
7924
7935
|
]
|
|
7925
7936
|
},
|
|
7926
|
-
"hardis:org:
|
|
7937
|
+
"hardis:org:retrieve:packageconfig": {
|
|
7927
7938
|
"aliases": [],
|
|
7928
7939
|
"args": {},
|
|
7929
|
-
"description": "
|
|
7940
|
+
"description": "Retrieve package configuration from an org",
|
|
7930
7941
|
"examples": [
|
|
7931
|
-
"$ sf hardis:org:
|
|
7932
|
-
"
|
|
7933
|
-
"$ sf hardis:org:user:freeze --includeprofiles 'Standard'",
|
|
7934
|
-
"$ sf hardis:org:user:freeze --excludeprofiles 'System Administrator,Some Other Profile'"
|
|
7942
|
+
"$ sf hardis:org:retrieve:packageconfig",
|
|
7943
|
+
"sf hardis:org:retrieve:packageconfig -u myOrg"
|
|
7935
7944
|
],
|
|
7936
7945
|
"flags": {
|
|
7937
7946
|
"json": {
|
|
@@ -7943,41 +7952,8 @@
|
|
|
7943
7952
|
},
|
|
7944
7953
|
"flags-dir": {
|
|
7945
7954
|
"helpGroup": "GLOBAL",
|
|
7946
|
-
"name": "flags-dir",
|
|
7947
|
-
"summary": "Import flag values from a directory.",
|
|
7948
|
-
"hasDynamicHelp": false,
|
|
7949
|
-
"multiple": false,
|
|
7950
|
-
"type": "option"
|
|
7951
|
-
},
|
|
7952
|
-
"name": {
|
|
7953
|
-
"char": "n",
|
|
7954
|
-
"description": "Filter according to Name criteria",
|
|
7955
|
-
"name": "name",
|
|
7956
|
-
"hasDynamicHelp": false,
|
|
7957
|
-
"multiple": false,
|
|
7958
|
-
"type": "option"
|
|
7959
|
-
},
|
|
7960
|
-
"includeprofiles": {
|
|
7961
|
-
"char": "p",
|
|
7962
|
-
"description": "List of profiles that you want to freeze, separated by commas",
|
|
7963
|
-
"name": "includeprofiles",
|
|
7964
|
-
"hasDynamicHelp": false,
|
|
7965
|
-
"multiple": false,
|
|
7966
|
-
"type": "option"
|
|
7967
|
-
},
|
|
7968
|
-
"excludeprofiles": {
|
|
7969
|
-
"char": "e",
|
|
7970
|
-
"description": "List of profiles that you want to NOT freeze, separated by commas",
|
|
7971
|
-
"name": "excludeprofiles",
|
|
7972
|
-
"hasDynamicHelp": false,
|
|
7973
|
-
"multiple": false,
|
|
7974
|
-
"type": "option"
|
|
7975
|
-
},
|
|
7976
|
-
"maxuserdisplay": {
|
|
7977
|
-
"char": "m",
|
|
7978
|
-
"description": "Maximum users to display in logs",
|
|
7979
|
-
"name": "maxuserdisplay",
|
|
7980
|
-
"default": 100,
|
|
7955
|
+
"name": "flags-dir",
|
|
7956
|
+
"summary": "Import flag values from a directory.",
|
|
7981
7957
|
"hasDynamicHelp": false,
|
|
7982
7958
|
"multiple": false,
|
|
7983
7959
|
"type": "option"
|
|
@@ -8020,13 +7996,13 @@
|
|
|
8020
7996
|
},
|
|
8021
7997
|
"hasDynamicHelp": true,
|
|
8022
7998
|
"hiddenAliases": [],
|
|
8023
|
-
"id": "hardis:org:
|
|
7999
|
+
"id": "hardis:org:retrieve:packageconfig",
|
|
8024
8000
|
"pluginAlias": "sfdx-hardis",
|
|
8025
8001
|
"pluginName": "sfdx-hardis",
|
|
8026
8002
|
"pluginType": "core",
|
|
8027
8003
|
"strict": true,
|
|
8028
8004
|
"enableJsonFlag": true,
|
|
8029
|
-
"title": "
|
|
8005
|
+
"title": "Retrieve package configuration from an org",
|
|
8030
8006
|
"requiresProject": false,
|
|
8031
8007
|
"isESM": true,
|
|
8032
8008
|
"relativePath": [
|
|
@@ -8034,46 +8010,43 @@
|
|
|
8034
8010
|
"commands",
|
|
8035
8011
|
"hardis",
|
|
8036
8012
|
"org",
|
|
8037
|
-
"
|
|
8038
|
-
"
|
|
8013
|
+
"retrieve",
|
|
8014
|
+
"packageconfig.js"
|
|
8039
8015
|
],
|
|
8040
8016
|
"aliasPermutations": [],
|
|
8041
8017
|
"permutations": [
|
|
8042
|
-
"hardis:org:
|
|
8043
|
-
"org:hardis:
|
|
8044
|
-
"org:
|
|
8045
|
-
"org:
|
|
8046
|
-
"hardis:
|
|
8047
|
-
"
|
|
8048
|
-
"
|
|
8049
|
-
"
|
|
8050
|
-
"hardis:
|
|
8051
|
-
"
|
|
8052
|
-
"
|
|
8053
|
-
"
|
|
8054
|
-
"hardis:org:
|
|
8055
|
-
"org:hardis:
|
|
8056
|
-
"org:
|
|
8057
|
-
"org:
|
|
8058
|
-
"hardis:
|
|
8059
|
-
"
|
|
8060
|
-
"
|
|
8061
|
-
"
|
|
8062
|
-
"hardis:
|
|
8063
|
-
"
|
|
8064
|
-
"
|
|
8065
|
-
"
|
|
8018
|
+
"hardis:org:retrieve:packageconfig",
|
|
8019
|
+
"org:hardis:retrieve:packageconfig",
|
|
8020
|
+
"org:retrieve:hardis:packageconfig",
|
|
8021
|
+
"org:retrieve:packageconfig:hardis",
|
|
8022
|
+
"hardis:retrieve:org:packageconfig",
|
|
8023
|
+
"retrieve:hardis:org:packageconfig",
|
|
8024
|
+
"retrieve:org:hardis:packageconfig",
|
|
8025
|
+
"retrieve:org:packageconfig:hardis",
|
|
8026
|
+
"hardis:retrieve:packageconfig:org",
|
|
8027
|
+
"retrieve:hardis:packageconfig:org",
|
|
8028
|
+
"retrieve:packageconfig:hardis:org",
|
|
8029
|
+
"retrieve:packageconfig:org:hardis",
|
|
8030
|
+
"hardis:org:packageconfig:retrieve",
|
|
8031
|
+
"org:hardis:packageconfig:retrieve",
|
|
8032
|
+
"org:packageconfig:hardis:retrieve",
|
|
8033
|
+
"org:packageconfig:retrieve:hardis",
|
|
8034
|
+
"hardis:packageconfig:org:retrieve",
|
|
8035
|
+
"packageconfig:hardis:org:retrieve",
|
|
8036
|
+
"packageconfig:org:hardis:retrieve",
|
|
8037
|
+
"packageconfig:org:retrieve:hardis",
|
|
8038
|
+
"hardis:packageconfig:retrieve:org",
|
|
8039
|
+
"packageconfig:hardis:retrieve:org",
|
|
8040
|
+
"packageconfig:retrieve:hardis:org",
|
|
8041
|
+
"packageconfig:retrieve:org:hardis"
|
|
8066
8042
|
]
|
|
8067
8043
|
},
|
|
8068
|
-
"hardis:org:
|
|
8044
|
+
"hardis:org:test:apex": {
|
|
8069
8045
|
"aliases": [],
|
|
8070
8046
|
"args": {},
|
|
8071
|
-
"description": "
|
|
8047
|
+
"description": "Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 60 minutes.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-apex-tests/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
8072
8048
|
"examples": [
|
|
8073
|
-
"$ sf hardis:org:
|
|
8074
|
-
"$ sf hardis:org:user:unfreeze --target-org my-user@myorg.com",
|
|
8075
|
-
"$ sf hardis:org:user:unfreeze --includeprofiles 'Standard'",
|
|
8076
|
-
"$ sf hardis:org:user:unfreeze --excludeprofiles 'System Administrator,Some Other Profile'"
|
|
8049
|
+
"$ sf hardis:org:test:apex"
|
|
8077
8050
|
],
|
|
8078
8051
|
"flags": {
|
|
8079
8052
|
"json": {
|
|
@@ -8091,37 +8064,19 @@
|
|
|
8091
8064
|
"multiple": false,
|
|
8092
8065
|
"type": "option"
|
|
8093
8066
|
},
|
|
8094
|
-
"
|
|
8095
|
-
"char": "
|
|
8096
|
-
"description": "
|
|
8097
|
-
"name": "
|
|
8098
|
-
"
|
|
8099
|
-
"multiple": false,
|
|
8100
|
-
"type": "option"
|
|
8101
|
-
},
|
|
8102
|
-
"includeprofiles": {
|
|
8103
|
-
"char": "p",
|
|
8104
|
-
"description": "List of profiles that you want to unfreeze, separated by commas",
|
|
8105
|
-
"name": "includeprofiles",
|
|
8106
|
-
"hasDynamicHelp": false,
|
|
8107
|
-
"multiple": false,
|
|
8108
|
-
"type": "option"
|
|
8109
|
-
},
|
|
8110
|
-
"excludeprofiles": {
|
|
8111
|
-
"char": "e",
|
|
8112
|
-
"description": "List of profiles that you want to NOT unfreeze, separated by commas",
|
|
8113
|
-
"name": "excludeprofiles",
|
|
8114
|
-
"hasDynamicHelp": false,
|
|
8115
|
-
"multiple": false,
|
|
8116
|
-
"type": "option"
|
|
8117
|
-
},
|
|
8118
|
-
"maxuserdisplay": {
|
|
8119
|
-
"char": "m",
|
|
8120
|
-
"description": "Maximum users to display in logs",
|
|
8121
|
-
"name": "maxuserdisplay",
|
|
8122
|
-
"default": 100,
|
|
8067
|
+
"testlevel": {
|
|
8068
|
+
"char": "l",
|
|
8069
|
+
"description": "Level of tests to apply to validate deployment",
|
|
8070
|
+
"name": "testlevel",
|
|
8071
|
+
"default": "RunLocalTests",
|
|
8123
8072
|
"hasDynamicHelp": false,
|
|
8124
8073
|
"multiple": false,
|
|
8074
|
+
"options": [
|
|
8075
|
+
"NoTestRun",
|
|
8076
|
+
"RunSpecifiedTests",
|
|
8077
|
+
"RunLocalTests",
|
|
8078
|
+
"RunAllTestsInOrg"
|
|
8079
|
+
],
|
|
8125
8080
|
"type": "option"
|
|
8126
8081
|
},
|
|
8127
8082
|
"debug": {
|
|
@@ -8162,57 +8117,58 @@
|
|
|
8162
8117
|
},
|
|
8163
8118
|
"hasDynamicHelp": true,
|
|
8164
8119
|
"hiddenAliases": [],
|
|
8165
|
-
"id": "hardis:org:
|
|
8120
|
+
"id": "hardis:org:test:apex",
|
|
8166
8121
|
"pluginAlias": "sfdx-hardis",
|
|
8167
8122
|
"pluginName": "sfdx-hardis",
|
|
8168
8123
|
"pluginType": "core",
|
|
8169
8124
|
"strict": true,
|
|
8170
8125
|
"enableJsonFlag": true,
|
|
8171
|
-
"title": "
|
|
8172
|
-
"requiresProject": false,
|
|
8126
|
+
"title": "Run apex tests",
|
|
8173
8127
|
"isESM": true,
|
|
8174
8128
|
"relativePath": [
|
|
8175
8129
|
"lib",
|
|
8176
8130
|
"commands",
|
|
8177
8131
|
"hardis",
|
|
8178
8132
|
"org",
|
|
8179
|
-
"
|
|
8180
|
-
"
|
|
8133
|
+
"test",
|
|
8134
|
+
"apex.js"
|
|
8181
8135
|
],
|
|
8182
8136
|
"aliasPermutations": [],
|
|
8183
8137
|
"permutations": [
|
|
8184
|
-
"hardis:org:
|
|
8185
|
-
"org:hardis:
|
|
8186
|
-
"org:
|
|
8187
|
-
"org:
|
|
8188
|
-
"hardis:
|
|
8189
|
-
"
|
|
8190
|
-
"
|
|
8191
|
-
"
|
|
8192
|
-
"hardis:
|
|
8193
|
-
"
|
|
8194
|
-
"
|
|
8195
|
-
"
|
|
8196
|
-
"hardis:org:
|
|
8197
|
-
"org:hardis:
|
|
8198
|
-
"org:
|
|
8199
|
-
"org:
|
|
8200
|
-
"hardis:
|
|
8201
|
-
"
|
|
8202
|
-
"
|
|
8203
|
-
"
|
|
8204
|
-
"hardis:
|
|
8205
|
-
"
|
|
8206
|
-
"
|
|
8207
|
-
"
|
|
8138
|
+
"hardis:org:test:apex",
|
|
8139
|
+
"org:hardis:test:apex",
|
|
8140
|
+
"org:test:hardis:apex",
|
|
8141
|
+
"org:test:apex:hardis",
|
|
8142
|
+
"hardis:test:org:apex",
|
|
8143
|
+
"test:hardis:org:apex",
|
|
8144
|
+
"test:org:hardis:apex",
|
|
8145
|
+
"test:org:apex:hardis",
|
|
8146
|
+
"hardis:test:apex:org",
|
|
8147
|
+
"test:hardis:apex:org",
|
|
8148
|
+
"test:apex:hardis:org",
|
|
8149
|
+
"test:apex:org:hardis",
|
|
8150
|
+
"hardis:org:apex:test",
|
|
8151
|
+
"org:hardis:apex:test",
|
|
8152
|
+
"org:apex:hardis:test",
|
|
8153
|
+
"org:apex:test:hardis",
|
|
8154
|
+
"hardis:apex:org:test",
|
|
8155
|
+
"apex:hardis:org:test",
|
|
8156
|
+
"apex:org:hardis:test",
|
|
8157
|
+
"apex:org:test:hardis",
|
|
8158
|
+
"hardis:apex:test:org",
|
|
8159
|
+
"apex:hardis:test:org",
|
|
8160
|
+
"apex:test:hardis:org",
|
|
8161
|
+
"apex:test:org:hardis"
|
|
8208
8162
|
]
|
|
8209
8163
|
},
|
|
8210
|
-
"hardis:
|
|
8164
|
+
"hardis:org:user:activateinvalid": {
|
|
8211
8165
|
"aliases": [],
|
|
8212
8166
|
"args": {},
|
|
8213
|
-
"description": "
|
|
8167
|
+
"description": "Update sandbox users so their email is valid\n\n Example: replaces `toto@company.com.dev.invalid` with `toto@company.com.dev.invalid`\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d)\n",
|
|
8214
8168
|
"examples": [
|
|
8215
|
-
"$ sf hardis:
|
|
8169
|
+
"$ sf hardis:org:user:activateinvalid",
|
|
8170
|
+
"$ sf hardis:org:user:activateinvalid --target-org my-user@myorg.com",
|
|
8171
|
+
"$ sf hardis:org:user:activateinvalid --profiles 'System Administrator,MyCustomProfile' --target-org my-user@myorg.com"
|
|
8216
8172
|
],
|
|
8217
8173
|
"flags": {
|
|
8218
8174
|
"json": {
|
|
@@ -8230,41 +8186,18 @@
|
|
|
8230
8186
|
"multiple": false,
|
|
8231
8187
|
"type": "option"
|
|
8232
8188
|
},
|
|
8233
|
-
"
|
|
8234
|
-
"char": "d",
|
|
8235
|
-
"description": "Activate debug mode (more logs)",
|
|
8236
|
-
"name": "debug",
|
|
8237
|
-
"allowNo": false,
|
|
8238
|
-
"type": "boolean"
|
|
8239
|
-
},
|
|
8240
|
-
"package": {
|
|
8189
|
+
"profiles": {
|
|
8241
8190
|
"char": "p",
|
|
8242
|
-
"description": "
|
|
8243
|
-
"name": "
|
|
8244
|
-
"default": "",
|
|
8245
|
-
"hasDynamicHelp": false,
|
|
8246
|
-
"multiple": false,
|
|
8247
|
-
"type": "option"
|
|
8248
|
-
},
|
|
8249
|
-
"installkey": {
|
|
8250
|
-
"char": "k",
|
|
8251
|
-
"description": "Package installation key",
|
|
8252
|
-
"name": "installkey",
|
|
8253
|
-
"default": "",
|
|
8191
|
+
"description": "Comma-separated list of profiles names that you want to reactive users assigned to and with a .invalid email",
|
|
8192
|
+
"name": "profiles",
|
|
8254
8193
|
"hasDynamicHelp": false,
|
|
8255
8194
|
"multiple": false,
|
|
8256
8195
|
"type": "option"
|
|
8257
8196
|
},
|
|
8258
|
-
"
|
|
8259
|
-
"
|
|
8260
|
-
"
|
|
8261
|
-
"
|
|
8262
|
-
"type": "boolean"
|
|
8263
|
-
},
|
|
8264
|
-
"install": {
|
|
8265
|
-
"char": "i",
|
|
8266
|
-
"description": "Install package version on default org after generation",
|
|
8267
|
-
"name": "install",
|
|
8197
|
+
"debug": {
|
|
8198
|
+
"char": "d",
|
|
8199
|
+
"description": "Activate debug mode (more logs)",
|
|
8200
|
+
"name": "debug",
|
|
8268
8201
|
"allowNo": false,
|
|
8269
8202
|
"type": "boolean"
|
|
8270
8203
|
},
|
|
@@ -8281,16 +8214,17 @@
|
|
|
8281
8214
|
"allowNo": false,
|
|
8282
8215
|
"type": "boolean"
|
|
8283
8216
|
},
|
|
8284
|
-
"target-
|
|
8217
|
+
"target-org": {
|
|
8285
8218
|
"aliases": [
|
|
8286
|
-
"
|
|
8219
|
+
"targetusername",
|
|
8220
|
+
"u"
|
|
8287
8221
|
],
|
|
8288
|
-
"char": "
|
|
8222
|
+
"char": "o",
|
|
8289
8223
|
"deprecateAliases": true,
|
|
8290
|
-
"name": "target-
|
|
8224
|
+
"name": "target-org",
|
|
8291
8225
|
"noCacheDefault": true,
|
|
8292
8226
|
"required": true,
|
|
8293
|
-
"summary": "Username or alias of the
|
|
8227
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
8294
8228
|
"hasDynamicHelp": true,
|
|
8295
8229
|
"multiple": false,
|
|
8296
8230
|
"type": "option"
|
|
@@ -8298,57 +8232,60 @@
|
|
|
8298
8232
|
},
|
|
8299
8233
|
"hasDynamicHelp": true,
|
|
8300
8234
|
"hiddenAliases": [],
|
|
8301
|
-
"id": "hardis:
|
|
8235
|
+
"id": "hardis:org:user:activateinvalid",
|
|
8302
8236
|
"pluginAlias": "sfdx-hardis",
|
|
8303
8237
|
"pluginName": "sfdx-hardis",
|
|
8304
8238
|
"pluginType": "core",
|
|
8305
8239
|
"strict": true,
|
|
8306
8240
|
"enableJsonFlag": true,
|
|
8307
|
-
"title": "
|
|
8308
|
-
"requiresProject":
|
|
8241
|
+
"title": "Reactivate sandbox invalid users",
|
|
8242
|
+
"requiresProject": false,
|
|
8309
8243
|
"isESM": true,
|
|
8310
8244
|
"relativePath": [
|
|
8311
8245
|
"lib",
|
|
8312
8246
|
"commands",
|
|
8313
8247
|
"hardis",
|
|
8314
|
-
"
|
|
8315
|
-
"
|
|
8316
|
-
"
|
|
8248
|
+
"org",
|
|
8249
|
+
"user",
|
|
8250
|
+
"activateinvalid.js"
|
|
8317
8251
|
],
|
|
8318
8252
|
"aliasPermutations": [],
|
|
8319
8253
|
"permutations": [
|
|
8320
|
-
"hardis:
|
|
8321
|
-
"
|
|
8322
|
-
"
|
|
8323
|
-
"
|
|
8324
|
-
"hardis:
|
|
8325
|
-
"
|
|
8326
|
-
"
|
|
8327
|
-
"
|
|
8328
|
-
"hardis:
|
|
8329
|
-
"
|
|
8330
|
-
"
|
|
8331
|
-
"
|
|
8332
|
-
"hardis:
|
|
8333
|
-
"
|
|
8334
|
-
"
|
|
8335
|
-
"
|
|
8336
|
-
"hardis:
|
|
8337
|
-
"
|
|
8338
|
-
"
|
|
8339
|
-
"
|
|
8340
|
-
"hardis:
|
|
8341
|
-
"
|
|
8342
|
-
"
|
|
8343
|
-
"
|
|
8254
|
+
"hardis:org:user:activateinvalid",
|
|
8255
|
+
"org:hardis:user:activateinvalid",
|
|
8256
|
+
"org:user:hardis:activateinvalid",
|
|
8257
|
+
"org:user:activateinvalid:hardis",
|
|
8258
|
+
"hardis:user:org:activateinvalid",
|
|
8259
|
+
"user:hardis:org:activateinvalid",
|
|
8260
|
+
"user:org:hardis:activateinvalid",
|
|
8261
|
+
"user:org:activateinvalid:hardis",
|
|
8262
|
+
"hardis:user:activateinvalid:org",
|
|
8263
|
+
"user:hardis:activateinvalid:org",
|
|
8264
|
+
"user:activateinvalid:hardis:org",
|
|
8265
|
+
"user:activateinvalid:org:hardis",
|
|
8266
|
+
"hardis:org:activateinvalid:user",
|
|
8267
|
+
"org:hardis:activateinvalid:user",
|
|
8268
|
+
"org:activateinvalid:hardis:user",
|
|
8269
|
+
"org:activateinvalid:user:hardis",
|
|
8270
|
+
"hardis:activateinvalid:org:user",
|
|
8271
|
+
"activateinvalid:hardis:org:user",
|
|
8272
|
+
"activateinvalid:org:hardis:user",
|
|
8273
|
+
"activateinvalid:org:user:hardis",
|
|
8274
|
+
"hardis:activateinvalid:user:org",
|
|
8275
|
+
"activateinvalid:hardis:user:org",
|
|
8276
|
+
"activateinvalid:user:hardis:org",
|
|
8277
|
+
"activateinvalid:user:org:hardis"
|
|
8344
8278
|
]
|
|
8345
8279
|
},
|
|
8346
|
-
"hardis:
|
|
8280
|
+
"hardis:org:user:freeze": {
|
|
8347
8281
|
"aliases": [],
|
|
8348
8282
|
"args": {},
|
|
8349
|
-
"description": "
|
|
8283
|
+
"description": "Mass freeze users in org before a maintenance or go live\n\nSee user guide in the following article\n\n<https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3>\n\n[](https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3)",
|
|
8350
8284
|
"examples": [
|
|
8351
|
-
"$ sf hardis:
|
|
8285
|
+
"$ sf hardis:org:user:freeze",
|
|
8286
|
+
"$ sf hardis:org:user:freeze --target-org my-user@myorg.com",
|
|
8287
|
+
"$ sf hardis:org:user:freeze --includeprofiles 'Standard'",
|
|
8288
|
+
"$ sf hardis:org:user:freeze --excludeprofiles 'System Administrator,Some Other Profile'"
|
|
8352
8289
|
],
|
|
8353
8290
|
"flags": {
|
|
8354
8291
|
"json": {
|
|
@@ -8366,6 +8303,39 @@
|
|
|
8366
8303
|
"multiple": false,
|
|
8367
8304
|
"type": "option"
|
|
8368
8305
|
},
|
|
8306
|
+
"name": {
|
|
8307
|
+
"char": "n",
|
|
8308
|
+
"description": "Filter according to Name criteria",
|
|
8309
|
+
"name": "name",
|
|
8310
|
+
"hasDynamicHelp": false,
|
|
8311
|
+
"multiple": false,
|
|
8312
|
+
"type": "option"
|
|
8313
|
+
},
|
|
8314
|
+
"includeprofiles": {
|
|
8315
|
+
"char": "p",
|
|
8316
|
+
"description": "List of profiles that you want to freeze, separated by commas",
|
|
8317
|
+
"name": "includeprofiles",
|
|
8318
|
+
"hasDynamicHelp": false,
|
|
8319
|
+
"multiple": false,
|
|
8320
|
+
"type": "option"
|
|
8321
|
+
},
|
|
8322
|
+
"excludeprofiles": {
|
|
8323
|
+
"char": "e",
|
|
8324
|
+
"description": "List of profiles that you want to NOT freeze, separated by commas",
|
|
8325
|
+
"name": "excludeprofiles",
|
|
8326
|
+
"hasDynamicHelp": false,
|
|
8327
|
+
"multiple": false,
|
|
8328
|
+
"type": "option"
|
|
8329
|
+
},
|
|
8330
|
+
"maxuserdisplay": {
|
|
8331
|
+
"char": "m",
|
|
8332
|
+
"description": "Maximum users to display in logs",
|
|
8333
|
+
"name": "maxuserdisplay",
|
|
8334
|
+
"default": 100,
|
|
8335
|
+
"hasDynamicHelp": false,
|
|
8336
|
+
"multiple": false,
|
|
8337
|
+
"type": "option"
|
|
8338
|
+
},
|
|
8369
8339
|
"debug": {
|
|
8370
8340
|
"char": "d",
|
|
8371
8341
|
"description": "Activate debug mode (more logs)",
|
|
@@ -8386,16 +8356,17 @@
|
|
|
8386
8356
|
"allowNo": false,
|
|
8387
8357
|
"type": "boolean"
|
|
8388
8358
|
},
|
|
8389
|
-
"target-
|
|
8359
|
+
"target-org": {
|
|
8390
8360
|
"aliases": [
|
|
8391
|
-
"
|
|
8361
|
+
"targetusername",
|
|
8362
|
+
"u"
|
|
8392
8363
|
],
|
|
8393
|
-
"char": "
|
|
8364
|
+
"char": "o",
|
|
8394
8365
|
"deprecateAliases": true,
|
|
8395
|
-
"name": "target-
|
|
8366
|
+
"name": "target-org",
|
|
8396
8367
|
"noCacheDefault": true,
|
|
8397
8368
|
"required": true,
|
|
8398
|
-
"summary": "Username or alias of the
|
|
8369
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
8399
8370
|
"hasDynamicHelp": true,
|
|
8400
8371
|
"multiple": false,
|
|
8401
8372
|
"type": "option"
|
|
@@ -8403,58 +8374,60 @@
|
|
|
8403
8374
|
},
|
|
8404
8375
|
"hasDynamicHelp": true,
|
|
8405
8376
|
"hiddenAliases": [],
|
|
8406
|
-
"id": "hardis:
|
|
8377
|
+
"id": "hardis:org:user:freeze",
|
|
8407
8378
|
"pluginAlias": "sfdx-hardis",
|
|
8408
8379
|
"pluginName": "sfdx-hardis",
|
|
8409
8380
|
"pluginType": "core",
|
|
8410
8381
|
"strict": true,
|
|
8411
8382
|
"enableJsonFlag": true,
|
|
8412
|
-
"title": "
|
|
8413
|
-
"requiresProject":
|
|
8383
|
+
"title": "Freeze user logins",
|
|
8384
|
+
"requiresProject": false,
|
|
8414
8385
|
"isESM": true,
|
|
8415
8386
|
"relativePath": [
|
|
8416
8387
|
"lib",
|
|
8417
8388
|
"commands",
|
|
8418
8389
|
"hardis",
|
|
8419
|
-
"
|
|
8420
|
-
"
|
|
8421
|
-
"
|
|
8390
|
+
"org",
|
|
8391
|
+
"user",
|
|
8392
|
+
"freeze.js"
|
|
8422
8393
|
],
|
|
8423
8394
|
"aliasPermutations": [],
|
|
8424
8395
|
"permutations": [
|
|
8425
|
-
"hardis:
|
|
8426
|
-
"
|
|
8427
|
-
"
|
|
8428
|
-
"
|
|
8429
|
-
"hardis:
|
|
8430
|
-
"
|
|
8431
|
-
"
|
|
8432
|
-
"
|
|
8433
|
-
"hardis:
|
|
8434
|
-
"
|
|
8435
|
-
"
|
|
8436
|
-
"
|
|
8437
|
-
"hardis:
|
|
8438
|
-
"
|
|
8439
|
-
"
|
|
8440
|
-
"
|
|
8441
|
-
"hardis:
|
|
8442
|
-
"
|
|
8443
|
-
"
|
|
8444
|
-
"
|
|
8445
|
-
"hardis:
|
|
8446
|
-
"
|
|
8447
|
-
"
|
|
8448
|
-
"
|
|
8396
|
+
"hardis:org:user:freeze",
|
|
8397
|
+
"org:hardis:user:freeze",
|
|
8398
|
+
"org:user:hardis:freeze",
|
|
8399
|
+
"org:user:freeze:hardis",
|
|
8400
|
+
"hardis:user:org:freeze",
|
|
8401
|
+
"user:hardis:org:freeze",
|
|
8402
|
+
"user:org:hardis:freeze",
|
|
8403
|
+
"user:org:freeze:hardis",
|
|
8404
|
+
"hardis:user:freeze:org",
|
|
8405
|
+
"user:hardis:freeze:org",
|
|
8406
|
+
"user:freeze:hardis:org",
|
|
8407
|
+
"user:freeze:org:hardis",
|
|
8408
|
+
"hardis:org:freeze:user",
|
|
8409
|
+
"org:hardis:freeze:user",
|
|
8410
|
+
"org:freeze:hardis:user",
|
|
8411
|
+
"org:freeze:user:hardis",
|
|
8412
|
+
"hardis:freeze:org:user",
|
|
8413
|
+
"freeze:hardis:org:user",
|
|
8414
|
+
"freeze:org:hardis:user",
|
|
8415
|
+
"freeze:org:user:hardis",
|
|
8416
|
+
"hardis:freeze:user:org",
|
|
8417
|
+
"freeze:hardis:user:org",
|
|
8418
|
+
"freeze:user:hardis:org",
|
|
8419
|
+
"freeze:user:org:hardis"
|
|
8449
8420
|
]
|
|
8450
8421
|
},
|
|
8451
|
-
"hardis:
|
|
8422
|
+
"hardis:org:user:unfreeze": {
|
|
8452
8423
|
"aliases": [],
|
|
8453
8424
|
"args": {},
|
|
8454
|
-
"description": "
|
|
8425
|
+
"description": "Mass unfreeze users in org after a maintenance or go live\n\nSee user guide in the following article\n\n<https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3>\n\n[](https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3)",
|
|
8455
8426
|
"examples": [
|
|
8456
|
-
"$ sf hardis:
|
|
8457
|
-
"$ sf hardis:
|
|
8427
|
+
"$ sf hardis:org:user:unfreeze",
|
|
8428
|
+
"$ sf hardis:org:user:unfreeze --target-org my-user@myorg.com",
|
|
8429
|
+
"$ sf hardis:org:user:unfreeze --includeprofiles 'Standard'",
|
|
8430
|
+
"$ sf hardis:org:user:unfreeze --excludeprofiles 'System Administrator,Some Other Profile'"
|
|
8458
8431
|
],
|
|
8459
8432
|
"flags": {
|
|
8460
8433
|
"json": {
|
|
@@ -8472,12 +8445,38 @@
|
|
|
8472
8445
|
"multiple": false,
|
|
8473
8446
|
"type": "option"
|
|
8474
8447
|
},
|
|
8475
|
-
"
|
|
8476
|
-
"char": "
|
|
8477
|
-
"description": "
|
|
8478
|
-
"name": "
|
|
8479
|
-
"
|
|
8480
|
-
"
|
|
8448
|
+
"name": {
|
|
8449
|
+
"char": "n",
|
|
8450
|
+
"description": "Filter according to Name criteria",
|
|
8451
|
+
"name": "name",
|
|
8452
|
+
"hasDynamicHelp": false,
|
|
8453
|
+
"multiple": false,
|
|
8454
|
+
"type": "option"
|
|
8455
|
+
},
|
|
8456
|
+
"includeprofiles": {
|
|
8457
|
+
"char": "p",
|
|
8458
|
+
"description": "List of profiles that you want to unfreeze, separated by commas",
|
|
8459
|
+
"name": "includeprofiles",
|
|
8460
|
+
"hasDynamicHelp": false,
|
|
8461
|
+
"multiple": false,
|
|
8462
|
+
"type": "option"
|
|
8463
|
+
},
|
|
8464
|
+
"excludeprofiles": {
|
|
8465
|
+
"char": "e",
|
|
8466
|
+
"description": "List of profiles that you want to NOT unfreeze, separated by commas",
|
|
8467
|
+
"name": "excludeprofiles",
|
|
8468
|
+
"hasDynamicHelp": false,
|
|
8469
|
+
"multiple": false,
|
|
8470
|
+
"type": "option"
|
|
8471
|
+
},
|
|
8472
|
+
"maxuserdisplay": {
|
|
8473
|
+
"char": "m",
|
|
8474
|
+
"description": "Maximum users to display in logs",
|
|
8475
|
+
"name": "maxuserdisplay",
|
|
8476
|
+
"default": 100,
|
|
8477
|
+
"hasDynamicHelp": false,
|
|
8478
|
+
"multiple": false,
|
|
8479
|
+
"type": "option"
|
|
8481
8480
|
},
|
|
8482
8481
|
"debug": {
|
|
8483
8482
|
"char": "d",
|
|
@@ -8499,16 +8498,17 @@
|
|
|
8499
8498
|
"allowNo": false,
|
|
8500
8499
|
"type": "boolean"
|
|
8501
8500
|
},
|
|
8502
|
-
"target-
|
|
8501
|
+
"target-org": {
|
|
8503
8502
|
"aliases": [
|
|
8504
|
-
"
|
|
8503
|
+
"targetusername",
|
|
8504
|
+
"u"
|
|
8505
8505
|
],
|
|
8506
|
-
"char": "
|
|
8506
|
+
"char": "o",
|
|
8507
8507
|
"deprecateAliases": true,
|
|
8508
|
-
"name": "target-
|
|
8508
|
+
"name": "target-org",
|
|
8509
8509
|
"noCacheDefault": true,
|
|
8510
8510
|
"required": true,
|
|
8511
|
-
"summary": "Username or alias of the
|
|
8511
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
8512
8512
|
"hasDynamicHelp": true,
|
|
8513
8513
|
"multiple": false,
|
|
8514
8514
|
"type": "option"
|
|
@@ -8516,49 +8516,49 @@
|
|
|
8516
8516
|
},
|
|
8517
8517
|
"hasDynamicHelp": true,
|
|
8518
8518
|
"hiddenAliases": [],
|
|
8519
|
-
"id": "hardis:
|
|
8519
|
+
"id": "hardis:org:user:unfreeze",
|
|
8520
8520
|
"pluginAlias": "sfdx-hardis",
|
|
8521
8521
|
"pluginName": "sfdx-hardis",
|
|
8522
8522
|
"pluginType": "core",
|
|
8523
8523
|
"strict": true,
|
|
8524
8524
|
"enableJsonFlag": true,
|
|
8525
|
-
"title": "
|
|
8526
|
-
"requiresProject":
|
|
8525
|
+
"title": "Unfreeze user logins",
|
|
8526
|
+
"requiresProject": false,
|
|
8527
8527
|
"isESM": true,
|
|
8528
8528
|
"relativePath": [
|
|
8529
8529
|
"lib",
|
|
8530
8530
|
"commands",
|
|
8531
8531
|
"hardis",
|
|
8532
|
-
"
|
|
8533
|
-
"
|
|
8534
|
-
"
|
|
8532
|
+
"org",
|
|
8533
|
+
"user",
|
|
8534
|
+
"unfreeze.js"
|
|
8535
8535
|
],
|
|
8536
8536
|
"aliasPermutations": [],
|
|
8537
8537
|
"permutations": [
|
|
8538
|
-
"hardis:
|
|
8539
|
-
"
|
|
8540
|
-
"
|
|
8541
|
-
"
|
|
8542
|
-
"hardis:
|
|
8543
|
-
"
|
|
8544
|
-
"
|
|
8545
|
-
"
|
|
8546
|
-
"hardis:
|
|
8547
|
-
"
|
|
8548
|
-
"
|
|
8549
|
-
"
|
|
8550
|
-
"hardis:
|
|
8551
|
-
"
|
|
8552
|
-
"
|
|
8553
|
-
"
|
|
8554
|
-
"hardis:
|
|
8555
|
-
"
|
|
8556
|
-
"
|
|
8557
|
-
"
|
|
8558
|
-
"hardis:
|
|
8559
|
-
"
|
|
8560
|
-
"
|
|
8561
|
-
"
|
|
8538
|
+
"hardis:org:user:unfreeze",
|
|
8539
|
+
"org:hardis:user:unfreeze",
|
|
8540
|
+
"org:user:hardis:unfreeze",
|
|
8541
|
+
"org:user:unfreeze:hardis",
|
|
8542
|
+
"hardis:user:org:unfreeze",
|
|
8543
|
+
"user:hardis:org:unfreeze",
|
|
8544
|
+
"user:org:hardis:unfreeze",
|
|
8545
|
+
"user:org:unfreeze:hardis",
|
|
8546
|
+
"hardis:user:unfreeze:org",
|
|
8547
|
+
"user:hardis:unfreeze:org",
|
|
8548
|
+
"user:unfreeze:hardis:org",
|
|
8549
|
+
"user:unfreeze:org:hardis",
|
|
8550
|
+
"hardis:org:unfreeze:user",
|
|
8551
|
+
"org:hardis:unfreeze:user",
|
|
8552
|
+
"org:unfreeze:hardis:user",
|
|
8553
|
+
"org:unfreeze:user:hardis",
|
|
8554
|
+
"hardis:unfreeze:org:user",
|
|
8555
|
+
"unfreeze:hardis:org:user",
|
|
8556
|
+
"unfreeze:org:hardis:user",
|
|
8557
|
+
"unfreeze:org:user:hardis",
|
|
8558
|
+
"hardis:unfreeze:user:org",
|
|
8559
|
+
"unfreeze:hardis:user:org",
|
|
8560
|
+
"unfreeze:user:hardis:org",
|
|
8561
|
+
"unfreeze:user:org:hardis"
|
|
8562
8562
|
]
|
|
8563
8563
|
},
|
|
8564
8564
|
"hardis:project:audit:apiversion": {
|
|
@@ -14525,5 +14525,5 @@
|
|
|
14525
14525
|
]
|
|
14526
14526
|
}
|
|
14527
14527
|
},
|
|
14528
|
-
"version": "5.
|
|
14528
|
+
"version": "5.32.0"
|
|
14529
14529
|
}
|