@salesforce/cli 2.16.4 → 2.16.6
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 +26 -26
- package/npm-shrinkwrap.json +301 -677
- package/oclif.manifest.json +1039 -1
- package/package.json +11 -10
package/oclif.manifest.json
CHANGED
|
@@ -1765,6 +1765,1044 @@
|
|
|
1765
1765
|
},
|
|
1766
1766
|
"args": {}
|
|
1767
1767
|
},
|
|
1768
|
+
"deploy:functions": {
|
|
1769
|
+
"id": "deploy:functions",
|
|
1770
|
+
"summary": "Deploy a Salesforce Function to an org from your local project.",
|
|
1771
|
+
"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`.",
|
|
1772
|
+
"strict": true,
|
|
1773
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
1774
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
1775
|
+
"pluginType": "jit",
|
|
1776
|
+
"aliases": [],
|
|
1777
|
+
"examples": [
|
|
1778
|
+
"Deploy a Salesforce Function:\n<%= config.bin %> <%= command.id %> --connected-org org-alias",
|
|
1779
|
+
"Deploy to 'deploy-branch':\n<%= config.bin %> <%= command.id %> --connected-org org-alias --branch deploy-branch",
|
|
1780
|
+
"Overwrite the remote repository:\n<%= config.bin %> <%= command.id %> --connected-org org-alias --force"
|
|
1781
|
+
],
|
|
1782
|
+
"flags": {
|
|
1783
|
+
"json": {
|
|
1784
|
+
"name": "json",
|
|
1785
|
+
"type": "boolean",
|
|
1786
|
+
"description": "Format output as json.",
|
|
1787
|
+
"helpGroup": "GLOBAL",
|
|
1788
|
+
"allowNo": false
|
|
1789
|
+
},
|
|
1790
|
+
"connected-org": {
|
|
1791
|
+
"name": "connected-org",
|
|
1792
|
+
"type": "option",
|
|
1793
|
+
"char": "o",
|
|
1794
|
+
"description": "Username or alias for the org that the compute environment should be connected to.",
|
|
1795
|
+
"required": true,
|
|
1796
|
+
"multiple": false
|
|
1797
|
+
},
|
|
1798
|
+
"branch": {
|
|
1799
|
+
"name": "branch",
|
|
1800
|
+
"type": "option",
|
|
1801
|
+
"char": "b",
|
|
1802
|
+
"description": "Deploy the latest commit from a branch different from the currently active branch.",
|
|
1803
|
+
"multiple": false
|
|
1804
|
+
},
|
|
1805
|
+
"force": {
|
|
1806
|
+
"name": "force",
|
|
1807
|
+
"type": "boolean",
|
|
1808
|
+
"description": "Ignore warnings and overwrite remote repository (not allowed in production).",
|
|
1809
|
+
"allowNo": false
|
|
1810
|
+
},
|
|
1811
|
+
"quiet": {
|
|
1812
|
+
"name": "quiet",
|
|
1813
|
+
"type": "boolean",
|
|
1814
|
+
"char": "q",
|
|
1815
|
+
"description": "Limit the amount of output displayed from the deploy process.",
|
|
1816
|
+
"allowNo": false
|
|
1817
|
+
}
|
|
1818
|
+
},
|
|
1819
|
+
"args": {}
|
|
1820
|
+
},
|
|
1821
|
+
"env:delete": {
|
|
1822
|
+
"id": "env:delete",
|
|
1823
|
+
"summary": "Delete an environment.",
|
|
1824
|
+
"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.",
|
|
1825
|
+
"strict": true,
|
|
1826
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
1827
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
1828
|
+
"pluginType": "jit",
|
|
1829
|
+
"aliases": [],
|
|
1830
|
+
"examples": [
|
|
1831
|
+
"Delete a compute environment:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias",
|
|
1832
|
+
"Delete without a confirmation step:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias --confirm environment-alias"
|
|
1833
|
+
],
|
|
1834
|
+
"flags": {
|
|
1835
|
+
"json": {
|
|
1836
|
+
"name": "json",
|
|
1837
|
+
"type": "boolean",
|
|
1838
|
+
"description": "Format output as json.",
|
|
1839
|
+
"helpGroup": "GLOBAL",
|
|
1840
|
+
"allowNo": false
|
|
1841
|
+
},
|
|
1842
|
+
"target-compute": {
|
|
1843
|
+
"name": "target-compute",
|
|
1844
|
+
"type": "option",
|
|
1845
|
+
"char": "e",
|
|
1846
|
+
"description": "Environment name.",
|
|
1847
|
+
"required": false,
|
|
1848
|
+
"multiple": false,
|
|
1849
|
+
"exclusive": [
|
|
1850
|
+
"environment"
|
|
1851
|
+
]
|
|
1852
|
+
},
|
|
1853
|
+
"environment": {
|
|
1854
|
+
"name": "environment",
|
|
1855
|
+
"type": "option",
|
|
1856
|
+
"char": "e",
|
|
1857
|
+
"description": "Environment name.",
|
|
1858
|
+
"hidden": true,
|
|
1859
|
+
"required": false,
|
|
1860
|
+
"multiple": false,
|
|
1861
|
+
"exclusive": [
|
|
1862
|
+
"target-compute"
|
|
1863
|
+
]
|
|
1864
|
+
},
|
|
1865
|
+
"confirm": {
|
|
1866
|
+
"name": "confirm",
|
|
1867
|
+
"type": "option",
|
|
1868
|
+
"description": "Confirmation name.",
|
|
1869
|
+
"helpValue": "name",
|
|
1870
|
+
"multiple": true
|
|
1871
|
+
}
|
|
1872
|
+
},
|
|
1873
|
+
"args": {}
|
|
1874
|
+
},
|
|
1875
|
+
"env:log": {
|
|
1876
|
+
"id": "env:log",
|
|
1877
|
+
"summary": "Stream log output for an environment.",
|
|
1878
|
+
"strict": true,
|
|
1879
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
1880
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
1881
|
+
"pluginType": "jit",
|
|
1882
|
+
"state": "beta",
|
|
1883
|
+
"aliases": [],
|
|
1884
|
+
"examples": [
|
|
1885
|
+
"Stream log output:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias"
|
|
1886
|
+
],
|
|
1887
|
+
"flags": {
|
|
1888
|
+
"target-compute": {
|
|
1889
|
+
"name": "target-compute",
|
|
1890
|
+
"type": "option",
|
|
1891
|
+
"char": "e",
|
|
1892
|
+
"description": "Compute environment name to retrieve logs.",
|
|
1893
|
+
"required": false,
|
|
1894
|
+
"multiple": false,
|
|
1895
|
+
"exclusive": [
|
|
1896
|
+
"environment"
|
|
1897
|
+
]
|
|
1898
|
+
},
|
|
1899
|
+
"environment": {
|
|
1900
|
+
"name": "environment",
|
|
1901
|
+
"type": "option",
|
|
1902
|
+
"char": "e",
|
|
1903
|
+
"description": "Environment name.",
|
|
1904
|
+
"hidden": true,
|
|
1905
|
+
"required": false,
|
|
1906
|
+
"multiple": false,
|
|
1907
|
+
"exclusive": [
|
|
1908
|
+
"target-compute"
|
|
1909
|
+
]
|
|
1910
|
+
},
|
|
1911
|
+
"num": {
|
|
1912
|
+
"name": "num",
|
|
1913
|
+
"type": "option",
|
|
1914
|
+
"char": "n",
|
|
1915
|
+
"description": "Number of lines to display.",
|
|
1916
|
+
"multiple": false
|
|
1917
|
+
}
|
|
1918
|
+
},
|
|
1919
|
+
"args": {}
|
|
1920
|
+
},
|
|
1921
|
+
"generate:function": {
|
|
1922
|
+
"id": "generate:function",
|
|
1923
|
+
"summary": "Create a Salesforce Function with basic scaffolding specific to a given language.",
|
|
1924
|
+
"description": "Both '--language' and '--name' are required flags. Function names must start with a capital letter.",
|
|
1925
|
+
"strict": true,
|
|
1926
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
1927
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
1928
|
+
"pluginType": "jit",
|
|
1929
|
+
"aliases": [],
|
|
1930
|
+
"examples": [
|
|
1931
|
+
"Create a JavaScript function:\n<%= config.bin %> <%= command.id %> --function-name myfunction --language javascript"
|
|
1932
|
+
],
|
|
1933
|
+
"flags": {
|
|
1934
|
+
"function-name": {
|
|
1935
|
+
"name": "function-name",
|
|
1936
|
+
"type": "option",
|
|
1937
|
+
"char": "n",
|
|
1938
|
+
"description": "Function name. Must start with a capital letter.",
|
|
1939
|
+
"multiple": false,
|
|
1940
|
+
"exclusive": [
|
|
1941
|
+
"name"
|
|
1942
|
+
]
|
|
1943
|
+
},
|
|
1944
|
+
"name": {
|
|
1945
|
+
"name": "name",
|
|
1946
|
+
"type": "option",
|
|
1947
|
+
"char": "n",
|
|
1948
|
+
"description": "Function name. Must start with a capital letter.",
|
|
1949
|
+
"hidden": true,
|
|
1950
|
+
"multiple": false,
|
|
1951
|
+
"exclusive": [
|
|
1952
|
+
"function-name"
|
|
1953
|
+
]
|
|
1954
|
+
},
|
|
1955
|
+
"language": {
|
|
1956
|
+
"name": "language",
|
|
1957
|
+
"type": "option",
|
|
1958
|
+
"char": "l",
|
|
1959
|
+
"description": "The language in which the function is written.",
|
|
1960
|
+
"required": true,
|
|
1961
|
+
"multiple": false,
|
|
1962
|
+
"options": [
|
|
1963
|
+
"java",
|
|
1964
|
+
"javascript",
|
|
1965
|
+
"typescript"
|
|
1966
|
+
]
|
|
1967
|
+
}
|
|
1968
|
+
},
|
|
1969
|
+
"args": {}
|
|
1970
|
+
},
|
|
1971
|
+
"login:functions": {
|
|
1972
|
+
"id": "login:functions",
|
|
1973
|
+
"summary": "Log in to Salesforce Functions.",
|
|
1974
|
+
"description": "This step is required to develop or deploy Salesforce Functions.",
|
|
1975
|
+
"strict": true,
|
|
1976
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
1977
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
1978
|
+
"pluginType": "jit",
|
|
1979
|
+
"aliases": [],
|
|
1980
|
+
"examples": [
|
|
1981
|
+
"Log in to Salesforce Functions:\n<%= config.bin %> <%= command.id %>"
|
|
1982
|
+
],
|
|
1983
|
+
"flags": {
|
|
1984
|
+
"json": {
|
|
1985
|
+
"name": "json",
|
|
1986
|
+
"type": "boolean",
|
|
1987
|
+
"description": "Format output as json.",
|
|
1988
|
+
"helpGroup": "GLOBAL",
|
|
1989
|
+
"allowNo": false
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
"args": {}
|
|
1993
|
+
},
|
|
1994
|
+
"logout:functions": {
|
|
1995
|
+
"id": "logout:functions",
|
|
1996
|
+
"summary": "Log out of your Salesforce Functions account.",
|
|
1997
|
+
"strict": true,
|
|
1998
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
1999
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2000
|
+
"pluginType": "jit",
|
|
2001
|
+
"aliases": [],
|
|
2002
|
+
"examples": [
|
|
2003
|
+
"Log out:\n<%= config.bin %> <%= command.id %>"
|
|
2004
|
+
],
|
|
2005
|
+
"flags": {
|
|
2006
|
+
"json": {
|
|
2007
|
+
"name": "json",
|
|
2008
|
+
"type": "boolean",
|
|
2009
|
+
"description": "Format output as json.",
|
|
2010
|
+
"helpGroup": "GLOBAL",
|
|
2011
|
+
"allowNo": false
|
|
2012
|
+
}
|
|
2013
|
+
},
|
|
2014
|
+
"args": {}
|
|
2015
|
+
},
|
|
2016
|
+
"run:function": {
|
|
2017
|
+
"id": "run:function",
|
|
2018
|
+
"summary": "Send a cloudevent to a function.",
|
|
2019
|
+
"strict": true,
|
|
2020
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2021
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2022
|
+
"pluginType": "jit",
|
|
2023
|
+
"aliases": [],
|
|
2024
|
+
"examples": [
|
|
2025
|
+
"Run a function:\n<%= config.bin %> <%= command.id %> --url http://path/to/function",
|
|
2026
|
+
"Run a function with a payload and a JSON response:\n<%= config.bin %> <%= command.id %> --url http://path/to/function --payload '@file.json' --structured"
|
|
2027
|
+
],
|
|
2028
|
+
"flags": {
|
|
2029
|
+
"json": {
|
|
2030
|
+
"name": "json",
|
|
2031
|
+
"type": "boolean",
|
|
2032
|
+
"description": "Format output as json.",
|
|
2033
|
+
"helpGroup": "GLOBAL",
|
|
2034
|
+
"allowNo": false
|
|
2035
|
+
},
|
|
2036
|
+
"function-url": {
|
|
2037
|
+
"name": "function-url",
|
|
2038
|
+
"type": "option",
|
|
2039
|
+
"char": "l",
|
|
2040
|
+
"description": "URL of the function to run.",
|
|
2041
|
+
"multiple": false,
|
|
2042
|
+
"exclusive": [
|
|
2043
|
+
"url"
|
|
2044
|
+
]
|
|
2045
|
+
},
|
|
2046
|
+
"url": {
|
|
2047
|
+
"name": "url",
|
|
2048
|
+
"type": "option",
|
|
2049
|
+
"char": "l",
|
|
2050
|
+
"description": "URL of the function to run.",
|
|
2051
|
+
"hidden": true,
|
|
2052
|
+
"multiple": false,
|
|
2053
|
+
"exclusive": [
|
|
2054
|
+
"function-url"
|
|
2055
|
+
]
|
|
2056
|
+
},
|
|
2057
|
+
"headers": {
|
|
2058
|
+
"name": "headers",
|
|
2059
|
+
"type": "option",
|
|
2060
|
+
"char": "H",
|
|
2061
|
+
"description": "Set headers.",
|
|
2062
|
+
"multiple": true
|
|
2063
|
+
},
|
|
2064
|
+
"payload": {
|
|
2065
|
+
"name": "payload",
|
|
2066
|
+
"type": "option",
|
|
2067
|
+
"char": "p",
|
|
2068
|
+
"description": "Set the payload of the cloudevent as a JSON object or a path to a file via @file.json.",
|
|
2069
|
+
"multiple": false
|
|
2070
|
+
},
|
|
2071
|
+
"structured": {
|
|
2072
|
+
"name": "structured",
|
|
2073
|
+
"type": "boolean",
|
|
2074
|
+
"char": "s",
|
|
2075
|
+
"description": "Set the cloudevent to be emitted as a structured JSON cloudevent.",
|
|
2076
|
+
"allowNo": false
|
|
2077
|
+
},
|
|
2078
|
+
"connected-org": {
|
|
2079
|
+
"name": "connected-org",
|
|
2080
|
+
"type": "option",
|
|
2081
|
+
"char": "o",
|
|
2082
|
+
"description": "Username or alias for the target org; overrides default target org.",
|
|
2083
|
+
"multiple": false
|
|
2084
|
+
}
|
|
2085
|
+
},
|
|
2086
|
+
"args": {}
|
|
2087
|
+
},
|
|
2088
|
+
"whoami:functions": {
|
|
2089
|
+
"id": "whoami:functions",
|
|
2090
|
+
"summary": "Show information on your Salesforce Functions login.",
|
|
2091
|
+
"description": "Returns your email and ID. Use '--show-token' to show your Salesforce Functions token.",
|
|
2092
|
+
"strict": true,
|
|
2093
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2094
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2095
|
+
"pluginType": "jit",
|
|
2096
|
+
"aliases": [],
|
|
2097
|
+
"examples": [
|
|
2098
|
+
"Get account information:\n<%= config.bin %> <%= command.id %>",
|
|
2099
|
+
"Show token and output result as JSON:\n<%= config.bin %> <%= command.id %> --show-token --json"
|
|
2100
|
+
],
|
|
2101
|
+
"flags": {
|
|
2102
|
+
"json": {
|
|
2103
|
+
"name": "json",
|
|
2104
|
+
"type": "boolean",
|
|
2105
|
+
"description": "Format output as json.",
|
|
2106
|
+
"helpGroup": "GLOBAL",
|
|
2107
|
+
"allowNo": false
|
|
2108
|
+
},
|
|
2109
|
+
"show-token": {
|
|
2110
|
+
"name": "show-token",
|
|
2111
|
+
"type": "boolean",
|
|
2112
|
+
"description": "Show the stored functions token.",
|
|
2113
|
+
"hidden": true,
|
|
2114
|
+
"allowNo": false
|
|
2115
|
+
}
|
|
2116
|
+
},
|
|
2117
|
+
"args": {}
|
|
2118
|
+
},
|
|
2119
|
+
"env:create:compute": {
|
|
2120
|
+
"id": "env:create:compute",
|
|
2121
|
+
"summary": "Create a compute environment for use with Salesforce Functions.",
|
|
2122
|
+
"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.",
|
|
2123
|
+
"strict": true,
|
|
2124
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2125
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2126
|
+
"pluginType": "jit",
|
|
2127
|
+
"aliases": [],
|
|
2128
|
+
"examples": [
|
|
2129
|
+
"Create a compute environment to run Salesforce Functions:\n<%= config.bin %> <%= command.id %>",
|
|
2130
|
+
"Connect the environment to a specific org:\n<%= config.bin %> <%= command.id %> --connected-org=org-alias",
|
|
2131
|
+
"Create an alias for the compute environment:\n<%= config.bin %> <%= command.id %> --alias environment-alias"
|
|
2132
|
+
],
|
|
2133
|
+
"flags": {
|
|
2134
|
+
"json": {
|
|
2135
|
+
"name": "json",
|
|
2136
|
+
"type": "boolean",
|
|
2137
|
+
"description": "Format output as json.",
|
|
2138
|
+
"helpGroup": "GLOBAL",
|
|
2139
|
+
"allowNo": false
|
|
2140
|
+
},
|
|
2141
|
+
"connected-org": {
|
|
2142
|
+
"name": "connected-org",
|
|
2143
|
+
"type": "option",
|
|
2144
|
+
"char": "o",
|
|
2145
|
+
"description": "Username or alias for the org that the compute environment should be connected to.",
|
|
2146
|
+
"required": false,
|
|
2147
|
+
"multiple": false
|
|
2148
|
+
},
|
|
2149
|
+
"alias": {
|
|
2150
|
+
"name": "alias",
|
|
2151
|
+
"type": "option",
|
|
2152
|
+
"char": "a",
|
|
2153
|
+
"description": "Alias for the created environment.",
|
|
2154
|
+
"multiple": false
|
|
2155
|
+
}
|
|
2156
|
+
},
|
|
2157
|
+
"args": {}
|
|
2158
|
+
},
|
|
2159
|
+
"env:log:tail": {
|
|
2160
|
+
"id": "env:log:tail",
|
|
2161
|
+
"summary": "Stream log output for an environment.",
|
|
2162
|
+
"strict": true,
|
|
2163
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2164
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2165
|
+
"pluginType": "jit",
|
|
2166
|
+
"aliases": [],
|
|
2167
|
+
"examples": [
|
|
2168
|
+
"Stream log output:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias"
|
|
2169
|
+
],
|
|
2170
|
+
"flags": {
|
|
2171
|
+
"target-compute": {
|
|
2172
|
+
"name": "target-compute",
|
|
2173
|
+
"type": "option",
|
|
2174
|
+
"char": "e",
|
|
2175
|
+
"description": "Compute environment name to retrieve logs.",
|
|
2176
|
+
"required": false,
|
|
2177
|
+
"multiple": false,
|
|
2178
|
+
"exclusive": [
|
|
2179
|
+
"environment"
|
|
2180
|
+
]
|
|
2181
|
+
},
|
|
2182
|
+
"environment": {
|
|
2183
|
+
"name": "environment",
|
|
2184
|
+
"type": "option",
|
|
2185
|
+
"char": "e",
|
|
2186
|
+
"description": "Environment name.",
|
|
2187
|
+
"hidden": true,
|
|
2188
|
+
"required": false,
|
|
2189
|
+
"multiple": false,
|
|
2190
|
+
"exclusive": [
|
|
2191
|
+
"target-compute"
|
|
2192
|
+
]
|
|
2193
|
+
}
|
|
2194
|
+
},
|
|
2195
|
+
"args": {}
|
|
2196
|
+
},
|
|
2197
|
+
"env:logdrain:add": {
|
|
2198
|
+
"id": "env:logdrain:add",
|
|
2199
|
+
"summary": "Add log drain to a specified environment.",
|
|
2200
|
+
"description": "Both '--target-compute' and '--url' are required flags. '--url' should be a HTTP or HTTPS URL that can receive the log drain messages.",
|
|
2201
|
+
"strict": true,
|
|
2202
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2203
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2204
|
+
"pluginType": "jit",
|
|
2205
|
+
"aliases": [],
|
|
2206
|
+
"examples": [
|
|
2207
|
+
"Add a log drain:\n<%= config.bin %> <%= command.id %> --target-compute environment-name --url https://path/to/logdrain"
|
|
2208
|
+
],
|
|
2209
|
+
"flags": {
|
|
2210
|
+
"json": {
|
|
2211
|
+
"name": "json",
|
|
2212
|
+
"type": "boolean",
|
|
2213
|
+
"description": "Format output as json.",
|
|
2214
|
+
"helpGroup": "GLOBAL",
|
|
2215
|
+
"allowNo": false
|
|
2216
|
+
},
|
|
2217
|
+
"target-compute": {
|
|
2218
|
+
"name": "target-compute",
|
|
2219
|
+
"type": "option",
|
|
2220
|
+
"char": "e",
|
|
2221
|
+
"description": "Environment name.",
|
|
2222
|
+
"required": false,
|
|
2223
|
+
"multiple": false,
|
|
2224
|
+
"exclusive": [
|
|
2225
|
+
"environment"
|
|
2226
|
+
]
|
|
2227
|
+
},
|
|
2228
|
+
"environment": {
|
|
2229
|
+
"name": "environment",
|
|
2230
|
+
"type": "option",
|
|
2231
|
+
"char": "e",
|
|
2232
|
+
"description": "Environment name.",
|
|
2233
|
+
"hidden": true,
|
|
2234
|
+
"required": false,
|
|
2235
|
+
"multiple": false,
|
|
2236
|
+
"exclusive": [
|
|
2237
|
+
"target-compute"
|
|
2238
|
+
]
|
|
2239
|
+
},
|
|
2240
|
+
"drain-url": {
|
|
2241
|
+
"name": "drain-url",
|
|
2242
|
+
"type": "option",
|
|
2243
|
+
"char": "l",
|
|
2244
|
+
"description": "Endpoint that will receive sent logs.",
|
|
2245
|
+
"multiple": false,
|
|
2246
|
+
"exclusive": [
|
|
2247
|
+
"url"
|
|
2248
|
+
]
|
|
2249
|
+
},
|
|
2250
|
+
"url": {
|
|
2251
|
+
"name": "url",
|
|
2252
|
+
"type": "option",
|
|
2253
|
+
"char": "u",
|
|
2254
|
+
"description": "Endpoint that will receive sent logs.",
|
|
2255
|
+
"hidden": true,
|
|
2256
|
+
"multiple": false,
|
|
2257
|
+
"exclusive": [
|
|
2258
|
+
"drain-url"
|
|
2259
|
+
]
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
2262
|
+
"args": {}
|
|
2263
|
+
},
|
|
2264
|
+
"env:logdrain:list": {
|
|
2265
|
+
"id": "env:logdrain:list",
|
|
2266
|
+
"summary": "List log drains connected to a specified environment.",
|
|
2267
|
+
"strict": true,
|
|
2268
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2269
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2270
|
+
"pluginType": "jit",
|
|
2271
|
+
"aliases": [],
|
|
2272
|
+
"examples": [
|
|
2273
|
+
"List log drains:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias",
|
|
2274
|
+
"List log drains as json:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias --json"
|
|
2275
|
+
],
|
|
2276
|
+
"flags": {
|
|
2277
|
+
"json": {
|
|
2278
|
+
"name": "json",
|
|
2279
|
+
"type": "boolean",
|
|
2280
|
+
"description": "Format output as json.",
|
|
2281
|
+
"helpGroup": "GLOBAL",
|
|
2282
|
+
"allowNo": false
|
|
2283
|
+
},
|
|
2284
|
+
"target-compute": {
|
|
2285
|
+
"name": "target-compute",
|
|
2286
|
+
"type": "option",
|
|
2287
|
+
"char": "e",
|
|
2288
|
+
"description": "Environment name.",
|
|
2289
|
+
"required": false,
|
|
2290
|
+
"multiple": false,
|
|
2291
|
+
"exclusive": [
|
|
2292
|
+
"environment"
|
|
2293
|
+
]
|
|
2294
|
+
},
|
|
2295
|
+
"environment": {
|
|
2296
|
+
"name": "environment",
|
|
2297
|
+
"type": "option",
|
|
2298
|
+
"char": "e",
|
|
2299
|
+
"description": "Environment name.",
|
|
2300
|
+
"hidden": true,
|
|
2301
|
+
"required": false,
|
|
2302
|
+
"multiple": false,
|
|
2303
|
+
"exclusive": [
|
|
2304
|
+
"target-compute"
|
|
2305
|
+
]
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
2308
|
+
"args": {}
|
|
2309
|
+
},
|
|
2310
|
+
"env:logdrain:remove": {
|
|
2311
|
+
"id": "env:logdrain:remove",
|
|
2312
|
+
"summary": "Remove log drain from a specified environment.",
|
|
2313
|
+
"description": "Both '--target-compute' and '--drain-url' are required flags.",
|
|
2314
|
+
"strict": true,
|
|
2315
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2316
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2317
|
+
"pluginType": "jit",
|
|
2318
|
+
"aliases": [],
|
|
2319
|
+
"examples": [
|
|
2320
|
+
"Remove a logdrain:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias --url https://path/to/logdrain"
|
|
2321
|
+
],
|
|
2322
|
+
"flags": {
|
|
2323
|
+
"json": {
|
|
2324
|
+
"name": "json",
|
|
2325
|
+
"type": "boolean",
|
|
2326
|
+
"description": "Format output as json.",
|
|
2327
|
+
"helpGroup": "GLOBAL",
|
|
2328
|
+
"allowNo": false
|
|
2329
|
+
},
|
|
2330
|
+
"target-compute": {
|
|
2331
|
+
"name": "target-compute",
|
|
2332
|
+
"type": "option",
|
|
2333
|
+
"char": "e",
|
|
2334
|
+
"description": "Environment name.",
|
|
2335
|
+
"required": false,
|
|
2336
|
+
"multiple": false,
|
|
2337
|
+
"exclusive": [
|
|
2338
|
+
"environment"
|
|
2339
|
+
]
|
|
2340
|
+
},
|
|
2341
|
+
"environment": {
|
|
2342
|
+
"name": "environment",
|
|
2343
|
+
"type": "option",
|
|
2344
|
+
"char": "e",
|
|
2345
|
+
"description": "Environment name.",
|
|
2346
|
+
"hidden": true,
|
|
2347
|
+
"required": false,
|
|
2348
|
+
"multiple": false,
|
|
2349
|
+
"exclusive": [
|
|
2350
|
+
"target-compute"
|
|
2351
|
+
]
|
|
2352
|
+
},
|
|
2353
|
+
"drain-url": {
|
|
2354
|
+
"name": "drain-url",
|
|
2355
|
+
"type": "option",
|
|
2356
|
+
"char": "l",
|
|
2357
|
+
"description": "Log drain url to remove.",
|
|
2358
|
+
"multiple": false,
|
|
2359
|
+
"exclusive": [
|
|
2360
|
+
"url"
|
|
2361
|
+
]
|
|
2362
|
+
},
|
|
2363
|
+
"url": {
|
|
2364
|
+
"name": "url",
|
|
2365
|
+
"type": "option",
|
|
2366
|
+
"char": "u",
|
|
2367
|
+
"description": "Log drain url to remove.",
|
|
2368
|
+
"hidden": true,
|
|
2369
|
+
"multiple": false,
|
|
2370
|
+
"exclusive": [
|
|
2371
|
+
"drain-url"
|
|
2372
|
+
]
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
"args": {}
|
|
2376
|
+
},
|
|
2377
|
+
"env:var:get": {
|
|
2378
|
+
"id": "env:var:get",
|
|
2379
|
+
"summary": "Display a single config variable for an environment.",
|
|
2380
|
+
"description": "You must provide the '--target-compute' flag and the key to retrieve.",
|
|
2381
|
+
"strict": true,
|
|
2382
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2383
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2384
|
+
"pluginType": "jit",
|
|
2385
|
+
"aliases": [],
|
|
2386
|
+
"examples": [
|
|
2387
|
+
"Get a config variable:\n<%= config.bin %> <%= command.id %> [KEY] --target-compute environment-alias"
|
|
2388
|
+
],
|
|
2389
|
+
"flags": {
|
|
2390
|
+
"json": {
|
|
2391
|
+
"name": "json",
|
|
2392
|
+
"type": "boolean",
|
|
2393
|
+
"description": "Format output as json.",
|
|
2394
|
+
"helpGroup": "GLOBAL",
|
|
2395
|
+
"allowNo": false
|
|
2396
|
+
},
|
|
2397
|
+
"target-compute": {
|
|
2398
|
+
"name": "target-compute",
|
|
2399
|
+
"type": "option",
|
|
2400
|
+
"char": "e",
|
|
2401
|
+
"description": "Environment name.",
|
|
2402
|
+
"required": false,
|
|
2403
|
+
"multiple": false,
|
|
2404
|
+
"exclusive": [
|
|
2405
|
+
"environment"
|
|
2406
|
+
]
|
|
2407
|
+
},
|
|
2408
|
+
"environment": {
|
|
2409
|
+
"name": "environment",
|
|
2410
|
+
"type": "option",
|
|
2411
|
+
"char": "e",
|
|
2412
|
+
"description": "Environment name.",
|
|
2413
|
+
"hidden": true,
|
|
2414
|
+
"required": false,
|
|
2415
|
+
"multiple": false,
|
|
2416
|
+
"exclusive": [
|
|
2417
|
+
"target-compute"
|
|
2418
|
+
]
|
|
2419
|
+
}
|
|
2420
|
+
},
|
|
2421
|
+
"args": {
|
|
2422
|
+
"key": {
|
|
2423
|
+
"name": "key",
|
|
2424
|
+
"required": true
|
|
2425
|
+
}
|
|
2426
|
+
}
|
|
2427
|
+
},
|
|
2428
|
+
"env:var:list": {
|
|
2429
|
+
"id": "env:var:list",
|
|
2430
|
+
"summary": "List your environment's config vars in a table.",
|
|
2431
|
+
"description": "Use the '--json' flag to return config vars in JSON format.",
|
|
2432
|
+
"strict": true,
|
|
2433
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2434
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2435
|
+
"pluginType": "jit",
|
|
2436
|
+
"aliases": [],
|
|
2437
|
+
"examples": [
|
|
2438
|
+
"List config vars:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias",
|
|
2439
|
+
"List in JSON format:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias --json"
|
|
2440
|
+
],
|
|
2441
|
+
"flags": {
|
|
2442
|
+
"json": {
|
|
2443
|
+
"name": "json",
|
|
2444
|
+
"type": "boolean",
|
|
2445
|
+
"description": "Format output as json.",
|
|
2446
|
+
"helpGroup": "GLOBAL",
|
|
2447
|
+
"allowNo": false
|
|
2448
|
+
},
|
|
2449
|
+
"target-compute": {
|
|
2450
|
+
"name": "target-compute",
|
|
2451
|
+
"type": "option",
|
|
2452
|
+
"char": "e",
|
|
2453
|
+
"description": "Environment name.",
|
|
2454
|
+
"required": false,
|
|
2455
|
+
"multiple": false,
|
|
2456
|
+
"exclusive": [
|
|
2457
|
+
"environment"
|
|
2458
|
+
]
|
|
2459
|
+
},
|
|
2460
|
+
"environment": {
|
|
2461
|
+
"name": "environment",
|
|
2462
|
+
"type": "option",
|
|
2463
|
+
"char": "e",
|
|
2464
|
+
"description": "Environment name.",
|
|
2465
|
+
"hidden": true,
|
|
2466
|
+
"required": false,
|
|
2467
|
+
"multiple": false,
|
|
2468
|
+
"exclusive": [
|
|
2469
|
+
"target-compute"
|
|
2470
|
+
]
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
"args": {}
|
|
2474
|
+
},
|
|
2475
|
+
"env:var:set": {
|
|
2476
|
+
"id": "env:var:set",
|
|
2477
|
+
"summary": "Set a single config value for an environment.",
|
|
2478
|
+
"strict": false,
|
|
2479
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2480
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2481
|
+
"pluginType": "jit",
|
|
2482
|
+
"aliases": [],
|
|
2483
|
+
"examples": [
|
|
2484
|
+
"Set a config value:\n<%= config.bin %> <%= command.id %> [KEY]=[VALUE] --target-compute environment-alias"
|
|
2485
|
+
],
|
|
2486
|
+
"flags": {
|
|
2487
|
+
"json": {
|
|
2488
|
+
"name": "json",
|
|
2489
|
+
"type": "boolean",
|
|
2490
|
+
"description": "Format output as json.",
|
|
2491
|
+
"helpGroup": "GLOBAL",
|
|
2492
|
+
"allowNo": false
|
|
2493
|
+
},
|
|
2494
|
+
"target-compute": {
|
|
2495
|
+
"name": "target-compute",
|
|
2496
|
+
"type": "option",
|
|
2497
|
+
"char": "e",
|
|
2498
|
+
"description": "Environment name.",
|
|
2499
|
+
"required": false,
|
|
2500
|
+
"multiple": false,
|
|
2501
|
+
"exclusive": [
|
|
2502
|
+
"environment"
|
|
2503
|
+
]
|
|
2504
|
+
},
|
|
2505
|
+
"environment": {
|
|
2506
|
+
"name": "environment",
|
|
2507
|
+
"type": "option",
|
|
2508
|
+
"char": "e",
|
|
2509
|
+
"description": "Environment name.",
|
|
2510
|
+
"hidden": true,
|
|
2511
|
+
"required": false,
|
|
2512
|
+
"multiple": false,
|
|
2513
|
+
"exclusive": [
|
|
2514
|
+
"target-compute"
|
|
2515
|
+
]
|
|
2516
|
+
}
|
|
2517
|
+
},
|
|
2518
|
+
"args": {}
|
|
2519
|
+
},
|
|
2520
|
+
"env:var:unset": {
|
|
2521
|
+
"id": "env:var:unset",
|
|
2522
|
+
"summary": "Unset a single config value for an environment.",
|
|
2523
|
+
"description": "Run 'sf env var list' to see a list of config values that can be unset.",
|
|
2524
|
+
"strict": false,
|
|
2525
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2526
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2527
|
+
"pluginType": "jit",
|
|
2528
|
+
"aliases": [],
|
|
2529
|
+
"examples": [
|
|
2530
|
+
"Unset a value:\n<%= config.bin %> <%= command.id %> --target-compute environment-alias"
|
|
2531
|
+
],
|
|
2532
|
+
"flags": {
|
|
2533
|
+
"json": {
|
|
2534
|
+
"name": "json",
|
|
2535
|
+
"type": "boolean",
|
|
2536
|
+
"description": "Format output as json.",
|
|
2537
|
+
"helpGroup": "GLOBAL",
|
|
2538
|
+
"allowNo": false
|
|
2539
|
+
},
|
|
2540
|
+
"target-compute": {
|
|
2541
|
+
"name": "target-compute",
|
|
2542
|
+
"type": "option",
|
|
2543
|
+
"char": "e",
|
|
2544
|
+
"description": "Environment name.",
|
|
2545
|
+
"required": false,
|
|
2546
|
+
"multiple": false,
|
|
2547
|
+
"exclusive": [
|
|
2548
|
+
"environment"
|
|
2549
|
+
]
|
|
2550
|
+
},
|
|
2551
|
+
"environment": {
|
|
2552
|
+
"name": "environment",
|
|
2553
|
+
"type": "option",
|
|
2554
|
+
"char": "e",
|
|
2555
|
+
"description": "Environment name.",
|
|
2556
|
+
"hidden": true,
|
|
2557
|
+
"required": false,
|
|
2558
|
+
"multiple": false,
|
|
2559
|
+
"exclusive": [
|
|
2560
|
+
"target-compute"
|
|
2561
|
+
]
|
|
2562
|
+
}
|
|
2563
|
+
},
|
|
2564
|
+
"args": {}
|
|
2565
|
+
},
|
|
2566
|
+
"login:functions:jwt": {
|
|
2567
|
+
"id": "login:functions:jwt",
|
|
2568
|
+
"summary": "Login using JWT instead of default web-based flow. This will authenticate you with both sf and Salesforce Functions.",
|
|
2569
|
+
"description": "Use this command when executing from a script.",
|
|
2570
|
+
"strict": true,
|
|
2571
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2572
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2573
|
+
"pluginType": "jit",
|
|
2574
|
+
"aliases": [],
|
|
2575
|
+
"examples": [
|
|
2576
|
+
"Log in using JWT:\n<%= config.bin %> <%= command.id %> --username example@username.org --keyfile file.key --clientid 123456",
|
|
2577
|
+
"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"
|
|
2578
|
+
],
|
|
2579
|
+
"flags": {
|
|
2580
|
+
"json": {
|
|
2581
|
+
"name": "json",
|
|
2582
|
+
"type": "boolean",
|
|
2583
|
+
"description": "Format output as json.",
|
|
2584
|
+
"helpGroup": "GLOBAL",
|
|
2585
|
+
"allowNo": false
|
|
2586
|
+
},
|
|
2587
|
+
"username": {
|
|
2588
|
+
"name": "username",
|
|
2589
|
+
"type": "option",
|
|
2590
|
+
"char": "u",
|
|
2591
|
+
"description": "Authentication username.",
|
|
2592
|
+
"required": true,
|
|
2593
|
+
"multiple": false
|
|
2594
|
+
},
|
|
2595
|
+
"keyfile": {
|
|
2596
|
+
"name": "keyfile",
|
|
2597
|
+
"type": "option",
|
|
2598
|
+
"char": "f",
|
|
2599
|
+
"description": "Path to JWT keyfile.",
|
|
2600
|
+
"required": true,
|
|
2601
|
+
"multiple": false
|
|
2602
|
+
},
|
|
2603
|
+
"clientid": {
|
|
2604
|
+
"name": "clientid",
|
|
2605
|
+
"type": "option",
|
|
2606
|
+
"char": "i",
|
|
2607
|
+
"description": "OAuth client ID.",
|
|
2608
|
+
"required": true,
|
|
2609
|
+
"multiple": false
|
|
2610
|
+
},
|
|
2611
|
+
"instance-url": {
|
|
2612
|
+
"name": "instance-url",
|
|
2613
|
+
"type": "option",
|
|
2614
|
+
"char": "l",
|
|
2615
|
+
"description": "The login URL of the instance the org lives on.",
|
|
2616
|
+
"multiple": false,
|
|
2617
|
+
"exclusive": [
|
|
2618
|
+
"instanceurl"
|
|
2619
|
+
]
|
|
2620
|
+
},
|
|
2621
|
+
"instanceurl": {
|
|
2622
|
+
"name": "instanceurl",
|
|
2623
|
+
"type": "option",
|
|
2624
|
+
"char": "l",
|
|
2625
|
+
"description": "The login URL of the instance the org lives on.",
|
|
2626
|
+
"hidden": true,
|
|
2627
|
+
"multiple": false,
|
|
2628
|
+
"exclusive": [
|
|
2629
|
+
"instance-url"
|
|
2630
|
+
]
|
|
2631
|
+
},
|
|
2632
|
+
"alias": {
|
|
2633
|
+
"name": "alias",
|
|
2634
|
+
"type": "option",
|
|
2635
|
+
"char": "a",
|
|
2636
|
+
"description": "Alias for the org.",
|
|
2637
|
+
"multiple": false
|
|
2638
|
+
},
|
|
2639
|
+
"set-default": {
|
|
2640
|
+
"name": "set-default",
|
|
2641
|
+
"type": "boolean",
|
|
2642
|
+
"char": "d",
|
|
2643
|
+
"description": "Set the org as the default that all org-related commands run against.",
|
|
2644
|
+
"allowNo": false
|
|
2645
|
+
},
|
|
2646
|
+
"set-default-dev-hub": {
|
|
2647
|
+
"name": "set-default-dev-hub",
|
|
2648
|
+
"type": "boolean",
|
|
2649
|
+
"char": "v",
|
|
2650
|
+
"description": "Set the org as the default Dev Hub for scratch org creation.",
|
|
2651
|
+
"allowNo": false
|
|
2652
|
+
}
|
|
2653
|
+
},
|
|
2654
|
+
"args": {}
|
|
2655
|
+
},
|
|
2656
|
+
"run:function:start": {
|
|
2657
|
+
"id": "run:function:start",
|
|
2658
|
+
"summary": "Build and run a Salesforce Function.",
|
|
2659
|
+
"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.",
|
|
2660
|
+
"strict": true,
|
|
2661
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2662
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2663
|
+
"pluginType": "jit",
|
|
2664
|
+
"aliases": [],
|
|
2665
|
+
"examples": [
|
|
2666
|
+
"Build a function and start the invoker\n<%= config.bin %> <%= command.id %>",
|
|
2667
|
+
"Start the invoker with a specific language and port\n<%= config.bin %> <%= command.id %> --port 5000 --language javascript"
|
|
2668
|
+
],
|
|
2669
|
+
"flags": {
|
|
2670
|
+
"path": {
|
|
2671
|
+
"name": "path",
|
|
2672
|
+
"type": "option",
|
|
2673
|
+
"description": "Path to function directory.",
|
|
2674
|
+
"hidden": true,
|
|
2675
|
+
"multiple": false,
|
|
2676
|
+
"default": "/home/runner/work/plugin-functions/plugin-functions"
|
|
2677
|
+
},
|
|
2678
|
+
"port": {
|
|
2679
|
+
"name": "port",
|
|
2680
|
+
"type": "option",
|
|
2681
|
+
"char": "p",
|
|
2682
|
+
"description": "Port for running the function.",
|
|
2683
|
+
"multiple": false,
|
|
2684
|
+
"default": 8080
|
|
2685
|
+
},
|
|
2686
|
+
"debug-port": {
|
|
2687
|
+
"name": "debug-port",
|
|
2688
|
+
"type": "option",
|
|
2689
|
+
"char": "b",
|
|
2690
|
+
"description": "Port for remote debugging.",
|
|
2691
|
+
"multiple": false,
|
|
2692
|
+
"default": 9229
|
|
2693
|
+
},
|
|
2694
|
+
"language": {
|
|
2695
|
+
"name": "language",
|
|
2696
|
+
"type": "option",
|
|
2697
|
+
"char": "l",
|
|
2698
|
+
"description": "The language that the function runs in.",
|
|
2699
|
+
"multiple": false,
|
|
2700
|
+
"options": [
|
|
2701
|
+
"auto",
|
|
2702
|
+
"java",
|
|
2703
|
+
"javascript",
|
|
2704
|
+
"typescript"
|
|
2705
|
+
],
|
|
2706
|
+
"default": "auto"
|
|
2707
|
+
},
|
|
2708
|
+
"verbose": {
|
|
2709
|
+
"name": "verbose",
|
|
2710
|
+
"type": "boolean",
|
|
2711
|
+
"char": "v",
|
|
2712
|
+
"description": "Output additional logs.",
|
|
2713
|
+
"allowNo": false
|
|
2714
|
+
}
|
|
2715
|
+
},
|
|
2716
|
+
"args": {}
|
|
2717
|
+
},
|
|
2718
|
+
"env:compute:collaborator:add": {
|
|
2719
|
+
"id": "env:compute:collaborator:add",
|
|
2720
|
+
"summary": "Add a Heroku user as a collaborator on this Functions account, allowing them to attach Heroku add-ons to compute environments.",
|
|
2721
|
+
"strict": true,
|
|
2722
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2723
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2724
|
+
"pluginType": "jit",
|
|
2725
|
+
"aliases": [],
|
|
2726
|
+
"examples": [
|
|
2727
|
+
"Add a Heroku user as a collaborator on this Functions account.\n<%= config.bin %> <%= command.id %> --heroku-user example@heroku.com"
|
|
2728
|
+
],
|
|
2729
|
+
"flags": {
|
|
2730
|
+
"heroku-user": {
|
|
2731
|
+
"name": "heroku-user",
|
|
2732
|
+
"type": "option",
|
|
2733
|
+
"char": "h",
|
|
2734
|
+
"description": "Email address of the Heroku user you're adding as a collaborator.",
|
|
2735
|
+
"required": true,
|
|
2736
|
+
"multiple": false
|
|
2737
|
+
}
|
|
2738
|
+
},
|
|
2739
|
+
"args": {}
|
|
2740
|
+
},
|
|
2741
|
+
"run:function:start:container": {
|
|
2742
|
+
"id": "run:function:start:container",
|
|
2743
|
+
"strict": true,
|
|
2744
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2745
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2746
|
+
"pluginType": "jit",
|
|
2747
|
+
"hidden": false,
|
|
2748
|
+
"aliases": [],
|
|
2749
|
+
"flags": {},
|
|
2750
|
+
"args": {}
|
|
2751
|
+
},
|
|
2752
|
+
"run:function:start:local": {
|
|
2753
|
+
"id": "run:function:start:local",
|
|
2754
|
+
"description": "Build and run a Salesforce Function locally.",
|
|
2755
|
+
"strict": true,
|
|
2756
|
+
"pluginName": "@salesforce/plugin-functions",
|
|
2757
|
+
"pluginAlias": "@salesforce/plugin-functions",
|
|
2758
|
+
"pluginType": "jit",
|
|
2759
|
+
"aliases": [],
|
|
2760
|
+
"examples": [
|
|
2761
|
+
"Build a function and start the invoker\n<%= config.bin %> <%= command.id %>",
|
|
2762
|
+
"Start the invoker with a specific language and port\n<%= config.bin %> <%= command.id %> --port 5000 --language javascript"
|
|
2763
|
+
],
|
|
2764
|
+
"flags": {
|
|
2765
|
+
"path": {
|
|
2766
|
+
"name": "path",
|
|
2767
|
+
"type": "option",
|
|
2768
|
+
"description": "Path to function directory.",
|
|
2769
|
+
"hidden": true,
|
|
2770
|
+
"multiple": false,
|
|
2771
|
+
"default": "/home/runner/work/plugin-functions/plugin-functions"
|
|
2772
|
+
},
|
|
2773
|
+
"port": {
|
|
2774
|
+
"name": "port",
|
|
2775
|
+
"type": "option",
|
|
2776
|
+
"char": "p",
|
|
2777
|
+
"description": "Port to bind the invoker to.",
|
|
2778
|
+
"multiple": false,
|
|
2779
|
+
"default": 8080
|
|
2780
|
+
},
|
|
2781
|
+
"debug-port": {
|
|
2782
|
+
"name": "debug-port",
|
|
2783
|
+
"type": "option",
|
|
2784
|
+
"char": "b",
|
|
2785
|
+
"description": "Port to use for debugging the function.",
|
|
2786
|
+
"multiple": false,
|
|
2787
|
+
"default": 9229
|
|
2788
|
+
},
|
|
2789
|
+
"language": {
|
|
2790
|
+
"name": "language",
|
|
2791
|
+
"type": "option",
|
|
2792
|
+
"char": "l",
|
|
2793
|
+
"description": "The language in which the function is written.",
|
|
2794
|
+
"multiple": false,
|
|
2795
|
+
"options": [
|
|
2796
|
+
"auto",
|
|
2797
|
+
"java",
|
|
2798
|
+
"javascript",
|
|
2799
|
+
"typescript"
|
|
2800
|
+
],
|
|
2801
|
+
"default": "auto"
|
|
2802
|
+
}
|
|
2803
|
+
},
|
|
2804
|
+
"args": {}
|
|
2805
|
+
},
|
|
1768
2806
|
"package:convert": {
|
|
1769
2807
|
"id": "package:convert",
|
|
1770
2808
|
"summary": "Create a second-generation package version from a first-generation package.",
|
|
@@ -5557,5 +6595,5 @@
|
|
|
5557
6595
|
]
|
|
5558
6596
|
}
|
|
5559
6597
|
},
|
|
5560
|
-
"version": "2.16.
|
|
6598
|
+
"version": "2.16.6"
|
|
5561
6599
|
}
|