@salesforce/cli 2.13.2-cjs.0 → 2.13.2-cjs.1

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/README.md CHANGED
@@ -24,7 +24,7 @@ $ npm install -g @salesforce/cli
24
24
  $ sf COMMAND
25
25
  running command...
26
26
  $ sf (--version|-v)
27
- @salesforce/cli/2.13.2-cjs.0 linux-x64 node-v20.9.0
27
+ @salesforce/cli/2.13.2-cjs.1 linux-x64 node-v20.9.0
28
28
  $ sf --help [COMMAND]
29
29
  USAGE
30
30
  $ sf COMMAND
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "2.13.2-cjs.0",
3
+ "version": "2.13.2-cjs.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "2.13.2-cjs.0",
9
+ "version": "2.13.2-cjs.1",
10
10
  "hasInstallScript": true,
11
11
  "license": "BSD-3-Clause",
12
12
  "dependencies": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.13.2-cjs.0",
2
+ "version": "2.13.2-cjs.1",
3
3
  "commands": {
4
4
  "cmdt:generate:field": {
5
5
  "id": "cmdt:generate:field",
@@ -1766,1044 +1766,6 @@
1766
1766
  },
1767
1767
  "args": {}
1768
1768
  },
1769
- "deploy:functions": {
1770
- "id": "deploy:functions",
1771
- "summary": "Deploy a Salesforce Function to an org from your local project.",
1772
- "description": "You must run this command from within a git repository. Only committed changes to Functions are deployed. The active branch is deployed unless specified otherwise with `--branch`.",
1773
- "strict": true,
1774
- "pluginName": "@salesforce/plugin-functions",
1775
- "pluginAlias": "@salesforce/plugin-functions",
1776
- "pluginType": "jit",
1777
- "aliases": [],
1778
- "examples": [
1779
- "Deploy a Salesforce Function:\n<%= config.bin %> <%= command.id %> --connected-org org-alias",
1780
- "Deploy to 'deploy-branch':\n<%= config.bin %> <%= command.id %> --connected-org org-alias --branch deploy-branch",
1781
- "Overwrite the remote repository:\n<%= config.bin %> <%= command.id %> --connected-org org-alias --force"
1782
- ],
1783
- "flags": {
1784
- "json": {
1785
- "name": "json",
1786
- "type": "boolean",
1787
- "description": "Format output as json.",
1788
- "helpGroup": "GLOBAL",
1789
- "allowNo": false
1790
- },
1791
- "connected-org": {
1792
- "name": "connected-org",
1793
- "type": "option",
1794
- "char": "o",
1795
- "description": "Username or alias for the org that the compute environment should be connected to.",
1796
- "required": true,
1797
- "multiple": false
1798
- },
1799
- "branch": {
1800
- "name": "branch",
1801
- "type": "option",
1802
- "char": "b",
1803
- "description": "Deploy the latest commit from a branch different from the currently active branch.",
1804
- "multiple": false
1805
- },
1806
- "force": {
1807
- "name": "force",
1808
- "type": "boolean",
1809
- "description": "Ignore warnings and overwrite remote repository (not allowed in production).",
1810
- "allowNo": false
1811
- },
1812
- "quiet": {
1813
- "name": "quiet",
1814
- "type": "boolean",
1815
- "char": "q",
1816
- "description": "Limit the amount of output displayed from the deploy process.",
1817
- "allowNo": false
1818
- }
1819
- },
1820
- "args": {}
1821
- },
1822
- "env:delete": {
1823
- "id": "env:delete",
1824
- "summary": "Delete an environment.",
1825
- "description": "You must include the name of the environment to delete using '--target-compute'. Run 'sf env list' to see a list of environments.\n\nRunning this command will prompt a confirmation. If you want to skip this confirmation, use the '--confirm' flag and the environment alias to skip confirmation.",
1826
- "strict": true,
1827
- "pluginName": "@salesforce/plugin-functions",
1828
- "pluginAlias": "@salesforce/plugin-functions",
1829
- "pluginType": "jit",
1830
- "aliases": [],
1831
- "examples": [
1832
- "Delete a compute environment:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias",
1833
- "Delete without a confirmation step:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias --confirm environment-alias"
1834
- ],
1835
- "flags": {
1836
- "json": {
1837
- "name": "json",
1838
- "type": "boolean",
1839
- "description": "Format output as json.",
1840
- "helpGroup": "GLOBAL",
1841
- "allowNo": false
1842
- },
1843
- "target-compute": {
1844
- "name": "target-compute",
1845
- "type": "option",
1846
- "char": "e",
1847
- "description": "Environment name.",
1848
- "required": false,
1849
- "multiple": false,
1850
- "exclusive": [
1851
- "environment"
1852
- ]
1853
- },
1854
- "environment": {
1855
- "name": "environment",
1856
- "type": "option",
1857
- "char": "e",
1858
- "description": "Environment name.",
1859
- "hidden": true,
1860
- "required": false,
1861
- "multiple": false,
1862
- "exclusive": [
1863
- "target-compute"
1864
- ]
1865
- },
1866
- "confirm": {
1867
- "name": "confirm",
1868
- "type": "option",
1869
- "description": "Confirmation name.",
1870
- "helpValue": "name",
1871
- "multiple": true
1872
- }
1873
- },
1874
- "args": {}
1875
- },
1876
- "env:log": {
1877
- "id": "env:log",
1878
- "summary": "Stream log output for an environment.",
1879
- "strict": true,
1880
- "pluginName": "@salesforce/plugin-functions",
1881
- "pluginAlias": "@salesforce/plugin-functions",
1882
- "pluginType": "jit",
1883
- "state": "beta",
1884
- "aliases": [],
1885
- "examples": [
1886
- "Stream log output:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias"
1887
- ],
1888
- "flags": {
1889
- "target-compute": {
1890
- "name": "target-compute",
1891
- "type": "option",
1892
- "char": "e",
1893
- "description": "Compute environment name to retrieve logs.",
1894
- "required": false,
1895
- "multiple": false,
1896
- "exclusive": [
1897
- "environment"
1898
- ]
1899
- },
1900
- "environment": {
1901
- "name": "environment",
1902
- "type": "option",
1903
- "char": "e",
1904
- "description": "Environment name.",
1905
- "hidden": true,
1906
- "required": false,
1907
- "multiple": false,
1908
- "exclusive": [
1909
- "target-compute"
1910
- ]
1911
- },
1912
- "num": {
1913
- "name": "num",
1914
- "type": "option",
1915
- "char": "n",
1916
- "description": "Number of lines to display.",
1917
- "multiple": false
1918
- }
1919
- },
1920
- "args": {}
1921
- },
1922
- "generate:function": {
1923
- "id": "generate:function",
1924
- "summary": "Create a Salesforce Function with basic scaffolding specific to a given language.",
1925
- "description": "Both '--language' and '--name' are required flags. Function names must start with a capital letter.",
1926
- "strict": true,
1927
- "pluginName": "@salesforce/plugin-functions",
1928
- "pluginAlias": "@salesforce/plugin-functions",
1929
- "pluginType": "jit",
1930
- "aliases": [],
1931
- "examples": [
1932
- "Create a JavaScript function:\n<%= config.bin %> <%= command.id %> --function-name myfunction --language javascript"
1933
- ],
1934
- "flags": {
1935
- "function-name": {
1936
- "name": "function-name",
1937
- "type": "option",
1938
- "char": "n",
1939
- "description": "Function name. Must start with a capital letter.",
1940
- "multiple": false,
1941
- "exclusive": [
1942
- "name"
1943
- ]
1944
- },
1945
- "name": {
1946
- "name": "name",
1947
- "type": "option",
1948
- "char": "n",
1949
- "description": "Function name. Must start with a capital letter.",
1950
- "hidden": true,
1951
- "multiple": false,
1952
- "exclusive": [
1953
- "function-name"
1954
- ]
1955
- },
1956
- "language": {
1957
- "name": "language",
1958
- "type": "option",
1959
- "char": "l",
1960
- "description": "The language in which the function is written.",
1961
- "required": true,
1962
- "multiple": false,
1963
- "options": [
1964
- "java",
1965
- "javascript",
1966
- "typescript"
1967
- ]
1968
- }
1969
- },
1970
- "args": {}
1971
- },
1972
- "login:functions": {
1973
- "id": "login:functions",
1974
- "summary": "Log in to Salesforce Functions.",
1975
- "description": "This step is required to develop or deploy Salesforce Functions.",
1976
- "strict": true,
1977
- "pluginName": "@salesforce/plugin-functions",
1978
- "pluginAlias": "@salesforce/plugin-functions",
1979
- "pluginType": "jit",
1980
- "aliases": [],
1981
- "examples": [
1982
- "Log in to Salesforce Functions:\n<%= config.bin %> <%= command.id %>"
1983
- ],
1984
- "flags": {
1985
- "json": {
1986
- "name": "json",
1987
- "type": "boolean",
1988
- "description": "Format output as json.",
1989
- "helpGroup": "GLOBAL",
1990
- "allowNo": false
1991
- }
1992
- },
1993
- "args": {}
1994
- },
1995
- "logout:functions": {
1996
- "id": "logout:functions",
1997
- "summary": "Log out of your Salesforce Functions account.",
1998
- "strict": true,
1999
- "pluginName": "@salesforce/plugin-functions",
2000
- "pluginAlias": "@salesforce/plugin-functions",
2001
- "pluginType": "jit",
2002
- "aliases": [],
2003
- "examples": [
2004
- "Log out:\n<%= config.bin %> <%= command.id %>"
2005
- ],
2006
- "flags": {
2007
- "json": {
2008
- "name": "json",
2009
- "type": "boolean",
2010
- "description": "Format output as json.",
2011
- "helpGroup": "GLOBAL",
2012
- "allowNo": false
2013
- }
2014
- },
2015
- "args": {}
2016
- },
2017
- "run:function": {
2018
- "id": "run:function",
2019
- "summary": "Send a cloudevent to a function.",
2020
- "strict": true,
2021
- "pluginName": "@salesforce/plugin-functions",
2022
- "pluginAlias": "@salesforce/plugin-functions",
2023
- "pluginType": "jit",
2024
- "aliases": [],
2025
- "examples": [
2026
- "Run a function:\n<%= config.bin %> <%= command.id %> --url http://path/to/function",
2027
- "Run a function with a payload and a JSON response:\n<%= config.bin %> <%= command.id %> --url http://path/to/function --payload '@file.json' --structured"
2028
- ],
2029
- "flags": {
2030
- "json": {
2031
- "name": "json",
2032
- "type": "boolean",
2033
- "description": "Format output as json.",
2034
- "helpGroup": "GLOBAL",
2035
- "allowNo": false
2036
- },
2037
- "function-url": {
2038
- "name": "function-url",
2039
- "type": "option",
2040
- "char": "l",
2041
- "description": "URL of the function to run.",
2042
- "multiple": false,
2043
- "exclusive": [
2044
- "url"
2045
- ]
2046
- },
2047
- "url": {
2048
- "name": "url",
2049
- "type": "option",
2050
- "char": "l",
2051
- "description": "URL of the function to run.",
2052
- "hidden": true,
2053
- "multiple": false,
2054
- "exclusive": [
2055
- "function-url"
2056
- ]
2057
- },
2058
- "headers": {
2059
- "name": "headers",
2060
- "type": "option",
2061
- "char": "H",
2062
- "description": "Set headers.",
2063
- "multiple": true
2064
- },
2065
- "payload": {
2066
- "name": "payload",
2067
- "type": "option",
2068
- "char": "p",
2069
- "description": "Set the payload of the cloudevent as a JSON object or a path to a file via @file.json.",
2070
- "multiple": false
2071
- },
2072
- "structured": {
2073
- "name": "structured",
2074
- "type": "boolean",
2075
- "char": "s",
2076
- "description": "Set the cloudevent to be emitted as a structured JSON cloudevent.",
2077
- "allowNo": false
2078
- },
2079
- "connected-org": {
2080
- "name": "connected-org",
2081
- "type": "option",
2082
- "char": "o",
2083
- "description": "Username or alias for the target org; overrides default target org.",
2084
- "multiple": false
2085
- }
2086
- },
2087
- "args": {}
2088
- },
2089
- "whoami:functions": {
2090
- "id": "whoami:functions",
2091
- "summary": "Show information on your Salesforce Functions login.",
2092
- "description": "Returns your email and ID. Use '--show-token' to show your Salesforce Functions token.",
2093
- "strict": true,
2094
- "pluginName": "@salesforce/plugin-functions",
2095
- "pluginAlias": "@salesforce/plugin-functions",
2096
- "pluginType": "jit",
2097
- "aliases": [],
2098
- "examples": [
2099
- "Get account information:\n<%= config.bin %> <%= command.id %>",
2100
- "Show token and output result as JSON:\n<%= config.bin %> <%= command.id %> --show-token --json"
2101
- ],
2102
- "flags": {
2103
- "json": {
2104
- "name": "json",
2105
- "type": "boolean",
2106
- "description": "Format output as json.",
2107
- "helpGroup": "GLOBAL",
2108
- "allowNo": false
2109
- },
2110
- "show-token": {
2111
- "name": "show-token",
2112
- "type": "boolean",
2113
- "description": "Show the stored functions token.",
2114
- "hidden": true,
2115
- "allowNo": false
2116
- }
2117
- },
2118
- "args": {}
2119
- },
2120
- "env:create:compute": {
2121
- "id": "env:create:compute",
2122
- "summary": "Create a compute environment for use with Salesforce Functions.",
2123
- "description": "Compute environments must be connected to a Salesforce org. By default the command uses your local environment's connected org. Use the '--connected-org' flag to specify a specific org. Run 'sf env list' to see a list of environments.",
2124
- "strict": true,
2125
- "pluginName": "@salesforce/plugin-functions",
2126
- "pluginAlias": "@salesforce/plugin-functions",
2127
- "pluginType": "jit",
2128
- "aliases": [],
2129
- "examples": [
2130
- "Create a compute environment to run Salesforce Functions:\n<%= config.bin %> <%= command.id %>",
2131
- "Connect the environment to a specific org:\n<%= config.bin %> <%= command.id %> --connected-org=org-alias",
2132
- "Create an alias for the compute environment:\n<%= config.bin %> <%= command.id %> --alias environment-alias"
2133
- ],
2134
- "flags": {
2135
- "json": {
2136
- "name": "json",
2137
- "type": "boolean",
2138
- "description": "Format output as json.",
2139
- "helpGroup": "GLOBAL",
2140
- "allowNo": false
2141
- },
2142
- "connected-org": {
2143
- "name": "connected-org",
2144
- "type": "option",
2145
- "char": "o",
2146
- "description": "Username or alias for the org that the compute environment should be connected to.",
2147
- "required": false,
2148
- "multiple": false
2149
- },
2150
- "alias": {
2151
- "name": "alias",
2152
- "type": "option",
2153
- "char": "a",
2154
- "description": "Alias for the created environment.",
2155
- "multiple": false
2156
- }
2157
- },
2158
- "args": {}
2159
- },
2160
- "env:log:tail": {
2161
- "id": "env:log:tail",
2162
- "summary": "Stream log output for an environment.",
2163
- "strict": true,
2164
- "pluginName": "@salesforce/plugin-functions",
2165
- "pluginAlias": "@salesforce/plugin-functions",
2166
- "pluginType": "jit",
2167
- "aliases": [],
2168
- "examples": [
2169
- "Stream log output:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias"
2170
- ],
2171
- "flags": {
2172
- "target-compute": {
2173
- "name": "target-compute",
2174
- "type": "option",
2175
- "char": "e",
2176
- "description": "Compute environment name to retrieve logs.",
2177
- "required": false,
2178
- "multiple": false,
2179
- "exclusive": [
2180
- "environment"
2181
- ]
2182
- },
2183
- "environment": {
2184
- "name": "environment",
2185
- "type": "option",
2186
- "char": "e",
2187
- "description": "Environment name.",
2188
- "hidden": true,
2189
- "required": false,
2190
- "multiple": false,
2191
- "exclusive": [
2192
- "target-compute"
2193
- ]
2194
- }
2195
- },
2196
- "args": {}
2197
- },
2198
- "env:logdrain:add": {
2199
- "id": "env:logdrain:add",
2200
- "summary": "Add log drain to a specified environment.",
2201
- "description": "Both '--target-compute' and '--url' are required flags. '--url' should be a HTTP or HTTPS URL that can receive the log drain messages.",
2202
- "strict": true,
2203
- "pluginName": "@salesforce/plugin-functions",
2204
- "pluginAlias": "@salesforce/plugin-functions",
2205
- "pluginType": "jit",
2206
- "aliases": [],
2207
- "examples": [
2208
- "Add a log drain:\n<%= config.bin %> <%= command.id %> --target-compute environment-name --url https://path/to/logdrain"
2209
- ],
2210
- "flags": {
2211
- "json": {
2212
- "name": "json",
2213
- "type": "boolean",
2214
- "description": "Format output as json.",
2215
- "helpGroup": "GLOBAL",
2216
- "allowNo": false
2217
- },
2218
- "target-compute": {
2219
- "name": "target-compute",
2220
- "type": "option",
2221
- "char": "e",
2222
- "description": "Environment name.",
2223
- "required": false,
2224
- "multiple": false,
2225
- "exclusive": [
2226
- "environment"
2227
- ]
2228
- },
2229
- "environment": {
2230
- "name": "environment",
2231
- "type": "option",
2232
- "char": "e",
2233
- "description": "Environment name.",
2234
- "hidden": true,
2235
- "required": false,
2236
- "multiple": false,
2237
- "exclusive": [
2238
- "target-compute"
2239
- ]
2240
- },
2241
- "drain-url": {
2242
- "name": "drain-url",
2243
- "type": "option",
2244
- "char": "l",
2245
- "description": "Endpoint that will receive sent logs.",
2246
- "multiple": false,
2247
- "exclusive": [
2248
- "url"
2249
- ]
2250
- },
2251
- "url": {
2252
- "name": "url",
2253
- "type": "option",
2254
- "char": "u",
2255
- "description": "Endpoint that will receive sent logs.",
2256
- "hidden": true,
2257
- "multiple": false,
2258
- "exclusive": [
2259
- "drain-url"
2260
- ]
2261
- }
2262
- },
2263
- "args": {}
2264
- },
2265
- "env:logdrain:list": {
2266
- "id": "env:logdrain:list",
2267
- "summary": "List log drains connected to a specified environment.",
2268
- "strict": true,
2269
- "pluginName": "@salesforce/plugin-functions",
2270
- "pluginAlias": "@salesforce/plugin-functions",
2271
- "pluginType": "jit",
2272
- "aliases": [],
2273
- "examples": [
2274
- "List log drains:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias",
2275
- "List log drains as json:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias --json"
2276
- ],
2277
- "flags": {
2278
- "json": {
2279
- "name": "json",
2280
- "type": "boolean",
2281
- "description": "Format output as json.",
2282
- "helpGroup": "GLOBAL",
2283
- "allowNo": false
2284
- },
2285
- "target-compute": {
2286
- "name": "target-compute",
2287
- "type": "option",
2288
- "char": "e",
2289
- "description": "Environment name.",
2290
- "required": false,
2291
- "multiple": false,
2292
- "exclusive": [
2293
- "environment"
2294
- ]
2295
- },
2296
- "environment": {
2297
- "name": "environment",
2298
- "type": "option",
2299
- "char": "e",
2300
- "description": "Environment name.",
2301
- "hidden": true,
2302
- "required": false,
2303
- "multiple": false,
2304
- "exclusive": [
2305
- "target-compute"
2306
- ]
2307
- }
2308
- },
2309
- "args": {}
2310
- },
2311
- "env:logdrain:remove": {
2312
- "id": "env:logdrain:remove",
2313
- "summary": "Remove log drain from a specified environment.",
2314
- "description": "Both '--target-compute' and '--drain-url' are required flags.",
2315
- "strict": true,
2316
- "pluginName": "@salesforce/plugin-functions",
2317
- "pluginAlias": "@salesforce/plugin-functions",
2318
- "pluginType": "jit",
2319
- "aliases": [],
2320
- "examples": [
2321
- "Remove a logdrain:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias --url https://path/to/logdrain"
2322
- ],
2323
- "flags": {
2324
- "json": {
2325
- "name": "json",
2326
- "type": "boolean",
2327
- "description": "Format output as json.",
2328
- "helpGroup": "GLOBAL",
2329
- "allowNo": false
2330
- },
2331
- "target-compute": {
2332
- "name": "target-compute",
2333
- "type": "option",
2334
- "char": "e",
2335
- "description": "Environment name.",
2336
- "required": false,
2337
- "multiple": false,
2338
- "exclusive": [
2339
- "environment"
2340
- ]
2341
- },
2342
- "environment": {
2343
- "name": "environment",
2344
- "type": "option",
2345
- "char": "e",
2346
- "description": "Environment name.",
2347
- "hidden": true,
2348
- "required": false,
2349
- "multiple": false,
2350
- "exclusive": [
2351
- "target-compute"
2352
- ]
2353
- },
2354
- "drain-url": {
2355
- "name": "drain-url",
2356
- "type": "option",
2357
- "char": "l",
2358
- "description": "Log drain url to remove.",
2359
- "multiple": false,
2360
- "exclusive": [
2361
- "url"
2362
- ]
2363
- },
2364
- "url": {
2365
- "name": "url",
2366
- "type": "option",
2367
- "char": "u",
2368
- "description": "Log drain url to remove.",
2369
- "hidden": true,
2370
- "multiple": false,
2371
- "exclusive": [
2372
- "drain-url"
2373
- ]
2374
- }
2375
- },
2376
- "args": {}
2377
- },
2378
- "env:var:get": {
2379
- "id": "env:var:get",
2380
- "summary": "Display a single config variable for an environment.",
2381
- "description": "You must provide the '--target-compute' flag and the key to retrieve.",
2382
- "strict": true,
2383
- "pluginName": "@salesforce/plugin-functions",
2384
- "pluginAlias": "@salesforce/plugin-functions",
2385
- "pluginType": "jit",
2386
- "aliases": [],
2387
- "examples": [
2388
- "Get a config variable:\n<%= config.bin %> <%= command.id %> [KEY] --target-compute environment-alias"
2389
- ],
2390
- "flags": {
2391
- "json": {
2392
- "name": "json",
2393
- "type": "boolean",
2394
- "description": "Format output as json.",
2395
- "helpGroup": "GLOBAL",
2396
- "allowNo": false
2397
- },
2398
- "target-compute": {
2399
- "name": "target-compute",
2400
- "type": "option",
2401
- "char": "e",
2402
- "description": "Environment name.",
2403
- "required": false,
2404
- "multiple": false,
2405
- "exclusive": [
2406
- "environment"
2407
- ]
2408
- },
2409
- "environment": {
2410
- "name": "environment",
2411
- "type": "option",
2412
- "char": "e",
2413
- "description": "Environment name.",
2414
- "hidden": true,
2415
- "required": false,
2416
- "multiple": false,
2417
- "exclusive": [
2418
- "target-compute"
2419
- ]
2420
- }
2421
- },
2422
- "args": {
2423
- "key": {
2424
- "name": "key",
2425
- "required": true
2426
- }
2427
- }
2428
- },
2429
- "env:var:list": {
2430
- "id": "env:var:list",
2431
- "summary": "List your environment's config vars in a table.",
2432
- "description": "Use the '--json' flag to return config vars in JSON format.",
2433
- "strict": true,
2434
- "pluginName": "@salesforce/plugin-functions",
2435
- "pluginAlias": "@salesforce/plugin-functions",
2436
- "pluginType": "jit",
2437
- "aliases": [],
2438
- "examples": [
2439
- "List config vars:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias",
2440
- "List in JSON format:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias --json"
2441
- ],
2442
- "flags": {
2443
- "json": {
2444
- "name": "json",
2445
- "type": "boolean",
2446
- "description": "Format output as json.",
2447
- "helpGroup": "GLOBAL",
2448
- "allowNo": false
2449
- },
2450
- "target-compute": {
2451
- "name": "target-compute",
2452
- "type": "option",
2453
- "char": "e",
2454
- "description": "Environment name.",
2455
- "required": false,
2456
- "multiple": false,
2457
- "exclusive": [
2458
- "environment"
2459
- ]
2460
- },
2461
- "environment": {
2462
- "name": "environment",
2463
- "type": "option",
2464
- "char": "e",
2465
- "description": "Environment name.",
2466
- "hidden": true,
2467
- "required": false,
2468
- "multiple": false,
2469
- "exclusive": [
2470
- "target-compute"
2471
- ]
2472
- }
2473
- },
2474
- "args": {}
2475
- },
2476
- "env:var:set": {
2477
- "id": "env:var:set",
2478
- "summary": "Set a single config value for an environment.",
2479
- "strict": false,
2480
- "pluginName": "@salesforce/plugin-functions",
2481
- "pluginAlias": "@salesforce/plugin-functions",
2482
- "pluginType": "jit",
2483
- "aliases": [],
2484
- "examples": [
2485
- "Set a config value:\n<%= config.bin %> <%= command.id %> [KEY]=[VALUE] --target-compute environment-alias"
2486
- ],
2487
- "flags": {
2488
- "json": {
2489
- "name": "json",
2490
- "type": "boolean",
2491
- "description": "Format output as json.",
2492
- "helpGroup": "GLOBAL",
2493
- "allowNo": false
2494
- },
2495
- "target-compute": {
2496
- "name": "target-compute",
2497
- "type": "option",
2498
- "char": "e",
2499
- "description": "Environment name.",
2500
- "required": false,
2501
- "multiple": false,
2502
- "exclusive": [
2503
- "environment"
2504
- ]
2505
- },
2506
- "environment": {
2507
- "name": "environment",
2508
- "type": "option",
2509
- "char": "e",
2510
- "description": "Environment name.",
2511
- "hidden": true,
2512
- "required": false,
2513
- "multiple": false,
2514
- "exclusive": [
2515
- "target-compute"
2516
- ]
2517
- }
2518
- },
2519
- "args": {}
2520
- },
2521
- "env:var:unset": {
2522
- "id": "env:var:unset",
2523
- "summary": "Unset a single config value for an environment.",
2524
- "description": "Run 'sf env var list' to see a list of config values that can be unset.",
2525
- "strict": false,
2526
- "pluginName": "@salesforce/plugin-functions",
2527
- "pluginAlias": "@salesforce/plugin-functions",
2528
- "pluginType": "jit",
2529
- "aliases": [],
2530
- "examples": [
2531
- "Unset a value:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias"
2532
- ],
2533
- "flags": {
2534
- "json": {
2535
- "name": "json",
2536
- "type": "boolean",
2537
- "description": "Format output as json.",
2538
- "helpGroup": "GLOBAL",
2539
- "allowNo": false
2540
- },
2541
- "target-compute": {
2542
- "name": "target-compute",
2543
- "type": "option",
2544
- "char": "e",
2545
- "description": "Environment name.",
2546
- "required": false,
2547
- "multiple": false,
2548
- "exclusive": [
2549
- "environment"
2550
- ]
2551
- },
2552
- "environment": {
2553
- "name": "environment",
2554
- "type": "option",
2555
- "char": "e",
2556
- "description": "Environment name.",
2557
- "hidden": true,
2558
- "required": false,
2559
- "multiple": false,
2560
- "exclusive": [
2561
- "target-compute"
2562
- ]
2563
- }
2564
- },
2565
- "args": {}
2566
- },
2567
- "login:functions:jwt": {
2568
- "id": "login:functions:jwt",
2569
- "summary": "Login using JWT instead of default web-based flow. This will authenticate you with both sf and Salesforce Functions.",
2570
- "description": "Use this command when executing from a script.",
2571
- "strict": true,
2572
- "pluginName": "@salesforce/plugin-functions",
2573
- "pluginAlias": "@salesforce/plugin-functions",
2574
- "pluginType": "jit",
2575
- "aliases": [],
2576
- "examples": [
2577
- "Log in using JWT:\n<%= config.bin %> <%= command.id %> --username example@username.org --keyfile file.key --clientid 123456",
2578
- "Log in and specify the org alias and URL, set as default org and default Dev Hub, and format output as JSON:\n<%= config.bin %> <%= command.id %> --username example@username.org --keyfile file.key --clientid 123456 --alias org-alias --set-default --set-default-dev-hub --instance-url https://path/to/instance --json"
2579
- ],
2580
- "flags": {
2581
- "json": {
2582
- "name": "json",
2583
- "type": "boolean",
2584
- "description": "Format output as json.",
2585
- "helpGroup": "GLOBAL",
2586
- "allowNo": false
2587
- },
2588
- "username": {
2589
- "name": "username",
2590
- "type": "option",
2591
- "char": "u",
2592
- "description": "Authentication username.",
2593
- "required": true,
2594
- "multiple": false
2595
- },
2596
- "keyfile": {
2597
- "name": "keyfile",
2598
- "type": "option",
2599
- "char": "f",
2600
- "description": "Path to JWT keyfile.",
2601
- "required": true,
2602
- "multiple": false
2603
- },
2604
- "clientid": {
2605
- "name": "clientid",
2606
- "type": "option",
2607
- "char": "i",
2608
- "description": "OAuth client ID.",
2609
- "required": true,
2610
- "multiple": false
2611
- },
2612
- "instance-url": {
2613
- "name": "instance-url",
2614
- "type": "option",
2615
- "char": "l",
2616
- "description": "The login URL of the instance the org lives on.",
2617
- "multiple": false,
2618
- "exclusive": [
2619
- "instanceurl"
2620
- ]
2621
- },
2622
- "instanceurl": {
2623
- "name": "instanceurl",
2624
- "type": "option",
2625
- "char": "l",
2626
- "description": "The login URL of the instance the org lives on.",
2627
- "hidden": true,
2628
- "multiple": false,
2629
- "exclusive": [
2630
- "instance-url"
2631
- ]
2632
- },
2633
- "alias": {
2634
- "name": "alias",
2635
- "type": "option",
2636
- "char": "a",
2637
- "description": "Alias for the org.",
2638
- "multiple": false
2639
- },
2640
- "set-default": {
2641
- "name": "set-default",
2642
- "type": "boolean",
2643
- "char": "d",
2644
- "description": "Set the org as the default that all org-related commands run against.",
2645
- "allowNo": false
2646
- },
2647
- "set-default-dev-hub": {
2648
- "name": "set-default-dev-hub",
2649
- "type": "boolean",
2650
- "char": "v",
2651
- "description": "Set the org as the default Dev Hub for scratch org creation.",
2652
- "allowNo": false
2653
- }
2654
- },
2655
- "args": {}
2656
- },
2657
- "run:function:start": {
2658
- "id": "run:function:start",
2659
- "summary": "Build and run a Salesforce Function.",
2660
- "description": "Run this command from the directory of your Salesforce Functions project.\n\nThis command will run the target function locally (on the same operating system as this CLI), just like the `local` subcommand.",
2661
- "strict": true,
2662
- "pluginName": "@salesforce/plugin-functions",
2663
- "pluginAlias": "@salesforce/plugin-functions",
2664
- "pluginType": "jit",
2665
- "aliases": [],
2666
- "examples": [
2667
- "Build a function and start the invoker\n<%= config.bin %> <%= command.id %>",
2668
- "Start the invoker with a specific language and port\n<%= config.bin %> <%= command.id %> --port 5000 --language javascript"
2669
- ],
2670
- "flags": {
2671
- "path": {
2672
- "name": "path",
2673
- "type": "option",
2674
- "description": "Path to function directory.",
2675
- "hidden": true,
2676
- "multiple": false,
2677
- "default": "/home/runner/work/plugin-functions/plugin-functions"
2678
- },
2679
- "port": {
2680
- "name": "port",
2681
- "type": "option",
2682
- "char": "p",
2683
- "description": "Port for running the function.",
2684
- "multiple": false,
2685
- "default": 8080
2686
- },
2687
- "debug-port": {
2688
- "name": "debug-port",
2689
- "type": "option",
2690
- "char": "b",
2691
- "description": "Port for remote debugging.",
2692
- "multiple": false,
2693
- "default": 9229
2694
- },
2695
- "language": {
2696
- "name": "language",
2697
- "type": "option",
2698
- "char": "l",
2699
- "description": "The language that the function runs in.",
2700
- "multiple": false,
2701
- "options": [
2702
- "auto",
2703
- "java",
2704
- "javascript",
2705
- "typescript"
2706
- ],
2707
- "default": "auto"
2708
- },
2709
- "verbose": {
2710
- "name": "verbose",
2711
- "type": "boolean",
2712
- "char": "v",
2713
- "description": "Output additional logs.",
2714
- "allowNo": false
2715
- }
2716
- },
2717
- "args": {}
2718
- },
2719
- "env:compute:collaborator:add": {
2720
- "id": "env:compute:collaborator:add",
2721
- "summary": "Add a Heroku user as a collaborator on this Functions account, allowing them to attach Heroku add-ons to compute environments.",
2722
- "strict": true,
2723
- "pluginName": "@salesforce/plugin-functions",
2724
- "pluginAlias": "@salesforce/plugin-functions",
2725
- "pluginType": "jit",
2726
- "aliases": [],
2727
- "examples": [
2728
- "Add a Heroku user as a collaborator on this Functions account.\n<%= config.bin %> <%= command.id %> --heroku-user example@heroku.com"
2729
- ],
2730
- "flags": {
2731
- "heroku-user": {
2732
- "name": "heroku-user",
2733
- "type": "option",
2734
- "char": "h",
2735
- "description": "Email address of the Heroku user you're adding as a collaborator.",
2736
- "required": true,
2737
- "multiple": false
2738
- }
2739
- },
2740
- "args": {}
2741
- },
2742
- "run:function:start:container": {
2743
- "id": "run:function:start:container",
2744
- "strict": true,
2745
- "pluginName": "@salesforce/plugin-functions",
2746
- "pluginAlias": "@salesforce/plugin-functions",
2747
- "pluginType": "jit",
2748
- "hidden": false,
2749
- "aliases": [],
2750
- "flags": {},
2751
- "args": {}
2752
- },
2753
- "run:function:start:local": {
2754
- "id": "run:function:start:local",
2755
- "description": "Build and run a Salesforce Function locally.",
2756
- "strict": true,
2757
- "pluginName": "@salesforce/plugin-functions",
2758
- "pluginAlias": "@salesforce/plugin-functions",
2759
- "pluginType": "jit",
2760
- "aliases": [],
2761
- "examples": [
2762
- "Build a function and start the invoker\n<%= config.bin %> <%= command.id %>",
2763
- "Start the invoker with a specific language and port\n<%= config.bin %> <%= command.id %> --port 5000 --language javascript"
2764
- ],
2765
- "flags": {
2766
- "path": {
2767
- "name": "path",
2768
- "type": "option",
2769
- "description": "Path to function directory.",
2770
- "hidden": true,
2771
- "multiple": false,
2772
- "default": "/home/runner/work/plugin-functions/plugin-functions"
2773
- },
2774
- "port": {
2775
- "name": "port",
2776
- "type": "option",
2777
- "char": "p",
2778
- "description": "Port to bind the invoker to.",
2779
- "multiple": false,
2780
- "default": 8080
2781
- },
2782
- "debug-port": {
2783
- "name": "debug-port",
2784
- "type": "option",
2785
- "char": "b",
2786
- "description": "Port to use for debugging the function.",
2787
- "multiple": false,
2788
- "default": 9229
2789
- },
2790
- "language": {
2791
- "name": "language",
2792
- "type": "option",
2793
- "char": "l",
2794
- "description": "The language in which the function is written.",
2795
- "multiple": false,
2796
- "options": [
2797
- "auto",
2798
- "java",
2799
- "javascript",
2800
- "typescript"
2801
- ],
2802
- "default": "auto"
2803
- }
2804
- },
2805
- "args": {}
2806
- },
2807
1769
  "package:convert": {
2808
1770
  "id": "package:convert",
2809
1771
  "summary": "Create a second-generation package version from a first-generation package.",
@@ -5850,214 +4812,6 @@
5850
4812
  "args": {},
5851
4813
  "hasDynamicHelp": true
5852
4814
  },
5853
- "force:lightning:lwc:test:create": {
5854
- "id": "force:lightning:lwc:test:create",
5855
- "description": "creates a Lightning web component test file with boilerplate code inside a __tests__ directory.",
5856
- "strict": true,
5857
- "usage": "<%= command.id %> -f <string> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
5858
- "pluginName": "@salesforce/sfdx-plugin-lwc-test",
5859
- "pluginAlias": "@salesforce/sfdx-plugin-lwc-test",
5860
- "pluginType": "jit",
5861
- "aliases": [],
5862
- "examples": [
5863
- "$ sfdx force:lightning:lwc:test:create -f force-app/main/default/lwc/myButton/myButton.js"
5864
- ],
5865
- "flags": {
5866
- "json": {
5867
- "name": "json",
5868
- "type": "boolean",
5869
- "description": "format output as json",
5870
- "allowNo": false
5871
- },
5872
- "loglevel": {
5873
- "name": "loglevel",
5874
- "type": "option",
5875
- "description": "logging level for this command invocation",
5876
- "required": false,
5877
- "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
5878
- "multiple": false,
5879
- "options": [
5880
- "trace",
5881
- "debug",
5882
- "info",
5883
- "warn",
5884
- "error",
5885
- "fatal",
5886
- "TRACE",
5887
- "DEBUG",
5888
- "INFO",
5889
- "WARN",
5890
- "ERROR",
5891
- "FATAL"
5892
- ],
5893
- "default": "warn"
5894
- },
5895
- "filepath": {
5896
- "name": "filepath",
5897
- "type": "option",
5898
- "char": "f",
5899
- "description": "path to Lightning web component .js file to create a test for",
5900
- "required": true,
5901
- "multiple": false
5902
- }
5903
- },
5904
- "args": {},
5905
- "longDescription": "Creates a __tests__ directory in the specified directory. Creates a yourComponentName.test.js file with boilerplate code in the __tests__ directory.",
5906
- "requiresProject": true,
5907
- "flagsConfig": {
5908
- "filepath": {
5909
- "kind": "string",
5910
- "char": "f",
5911
- "description": "path to Lightning web component .js file to create a test for",
5912
- "longDescription": "Path to Lightning web component .js file to create a test for.",
5913
- "required": true,
5914
- "input": [],
5915
- "multiple": false,
5916
- "type": "option"
5917
- }
5918
- }
5919
- },
5920
- "force:lightning:lwc:test:run": {
5921
- "id": "force:lightning:lwc:test:run",
5922
- "description": "invokes Lightning Web Components Jest unit tests.",
5923
- "strict": true,
5924
- "usage": "<%= command.id %> [-d | --watch] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
5925
- "pluginName": "@salesforce/sfdx-plugin-lwc-test",
5926
- "pluginAlias": "@salesforce/sfdx-plugin-lwc-test",
5927
- "pluginType": "jit",
5928
- "aliases": [],
5929
- "examples": [
5930
- "$ sfdx force:lightning:lwc:test:run",
5931
- "$ sfdx force:lightning:lwc:test:run -w"
5932
- ],
5933
- "flags": {
5934
- "json": {
5935
- "name": "json",
5936
- "type": "boolean",
5937
- "description": "format output as json",
5938
- "allowNo": false
5939
- },
5940
- "loglevel": {
5941
- "name": "loglevel",
5942
- "type": "option",
5943
- "description": "logging level for this command invocation",
5944
- "required": false,
5945
- "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
5946
- "multiple": false,
5947
- "options": [
5948
- "trace",
5949
- "debug",
5950
- "info",
5951
- "warn",
5952
- "error",
5953
- "fatal",
5954
- "TRACE",
5955
- "DEBUG",
5956
- "INFO",
5957
- "WARN",
5958
- "ERROR",
5959
- "FATAL"
5960
- ],
5961
- "default": "warn"
5962
- },
5963
- "debug": {
5964
- "name": "debug",
5965
- "type": "boolean",
5966
- "char": "d",
5967
- "description": "run tests in debug mode",
5968
- "allowNo": false,
5969
- "exclusive": [
5970
- "watch"
5971
- ]
5972
- },
5973
- "watch": {
5974
- "name": "watch",
5975
- "type": "boolean",
5976
- "description": "run tests in watch mode",
5977
- "allowNo": false,
5978
- "exclusive": [
5979
- "debug"
5980
- ]
5981
- }
5982
- },
5983
- "args": {
5984
- "passthrough": {
5985
- "name": "passthrough"
5986
- }
5987
- },
5988
- "longDescription": "Invokes Lightning Web Components Jest unit tests.",
5989
- "requiresProject": true,
5990
- "flagsConfig": {
5991
- "debug": {
5992
- "kind": "boolean",
5993
- "char": "d",
5994
- "description": "run tests in debug mode",
5995
- "longDescription": "Runs tests in a Node process that an external debugger can connect to. The run pauses until the debugger is connected. For more information, see: https://jestjs.io/docs/en/troubleshooting",
5996
- "exclusive": [
5997
- "watch"
5998
- ],
5999
- "allowNo": false,
6000
- "type": "boolean"
6001
- },
6002
- "watch": {
6003
- "kind": "boolean",
6004
- "description": "run tests in watch mode",
6005
- "longDescription": "Runs tests when a watched file changes. Watched files include the component under test and any files it references.",
6006
- "exclusive": [
6007
- "debug"
6008
- ],
6009
- "allowNo": false,
6010
- "type": "boolean"
6011
- }
6012
- }
6013
- },
6014
- "force:lightning:lwc:test:setup": {
6015
- "id": "force:lightning:lwc:test:setup",
6016
- "description": "install Jest unit testing tools for Lightning Web Components.",
6017
- "strict": true,
6018
- "usage": "<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
6019
- "pluginName": "@salesforce/sfdx-plugin-lwc-test",
6020
- "pluginAlias": "@salesforce/sfdx-plugin-lwc-test",
6021
- "pluginType": "jit",
6022
- "aliases": [],
6023
- "examples": [
6024
- "$ sfdx force:lightning:lwc:test:setup"
6025
- ],
6026
- "flags": {
6027
- "json": {
6028
- "name": "json",
6029
- "type": "boolean",
6030
- "description": "format output as json",
6031
- "allowNo": false
6032
- },
6033
- "loglevel": {
6034
- "name": "loglevel",
6035
- "type": "option",
6036
- "description": "logging level for this command invocation",
6037
- "required": false,
6038
- "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
6039
- "multiple": false,
6040
- "options": [
6041
- "trace",
6042
- "debug",
6043
- "info",
6044
- "warn",
6045
- "error",
6046
- "fatal",
6047
- "TRACE",
6048
- "DEBUG",
6049
- "INFO",
6050
- "WARN",
6051
- "ERROR",
6052
- "FATAL"
6053
- ],
6054
- "default": "warn"
6055
- }
6056
- },
6057
- "args": {},
6058
- "longDescription": "Installs Jest unit testing tools for Lightning Web Components. For more information, see the Lightning Web Components Dev Guide: https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.testing",
6059
- "requiresProject": true
6060
- },
6061
4815
  "scanner:run": {
6062
4816
  "id": "scanner:run",
6063
4817
  "description": "scan a codebase with a selection of rules",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.13.2-cjs.0",
4
+ "version": "2.13.2-cjs.1",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run",
@@ -75,10 +75,8 @@
75
75
  "@salesforce/plugin-dev": "1.2.0",
76
76
  "@salesforce/plugin-devops-center": "1.2.2",
77
77
  "@salesforce/plugin-env": "2.2.4",
78
- "@salesforce/plugin-functions": "1.22.3",
79
78
  "@salesforce/plugin-packaging": "1.26.3",
80
79
  "@salesforce/plugin-signups": "1.5.3",
81
- "@salesforce/sfdx-plugin-lwc-test": "1.1.0",
82
80
  "@salesforce/sfdx-scanner": "3.17.0"
83
81
  },
84
82
  "devPlugins": [