File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ var invokeCmd = &cobra.Command{
5151 Use : `invoke FUNCTION_NAME [--gateway GATEWAY_URL] [--content-type CONTENT_TYPE] [--query PARAM=VALUE] [--header PARAM=VALUE] [--method HTTP_METHOD]` ,
5252 Short : "Invoke an OpenFaaS function" ,
5353 Long : `Invokes an OpenFaaS function and reads from STDIN for the body of the request` ,
54- Example : ` faas-cli invoke echo --gateway https://domain :port
55- faas-cli invoke echo --gateway https://domain :port --content-type application/json
54+ Example : ` faas-cli invoke echo --gateway https://host :port
55+ faas-cli invoke echo --gateway https://host :port --content-type application/json
5656 faas-cli invoke env --query repo=faas-cli --query org=openfaas
5757 faas-cli invoke env --header X-Ping-Url=http://request.bin/etc
5858 faas-cli invoke resize-img --async -H "X-Callback-Url=http://gateway:8080/function/send2slack" < image.png
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ func init() {
4848
4949// newFunctionCmd displays newFunction information
5050var newFunctionCmd = & cobra.Command {
51- Use : "new FUNCTION_NAME --lang=FUNCTION_LANGUAGE [--gateway=http://domain :port] | --list | --append=STACK_FILE)" ,
51+ Use : "new FUNCTION_NAME --lang=FUNCTION_LANGUAGE [--gateway=http://host :port] | --list | --append=STACK_FILE)" ,
5252 Short : "Create a new template in the current folder with the name given as name" ,
5353 Long : `The new command creates a new function based upon hello-world in the given
5454language or type in --list for a list of languages available.` ,
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ var storeDescribeCmd = &cobra.Command{
2323 Use : `describe (FUNCTION_NAME|FUNCTION_TITLE) [--url STORE_URL]` ,
2424 Short : "Show details of OpenFaaS function from a store" ,
2525 Example : ` faas-cli store describe NodeInfo
26- faas-cli store describe NodeInfo --url https://domain :port/store.json` ,
26+ faas-cli store describe NodeInfo --url https://host :port/store.json` ,
2727 Aliases : []string {"inspect" },
2828 RunE : runStoreDescribe ,
2929}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var storeListCmd = &cobra.Command{
2626 Short : "List available OpenFaaS functions in a store" ,
2727 Example : ` faas-cli store list
2828 faas-cli store list --verbose
29- faas-cli store list --url https://domain :port/store.json` ,
29+ faas-cli store list --url https://host :port/store.json` ,
3030 RunE : runStoreList ,
3131}
3232
You can’t perform that action at this time.
0 commit comments