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{
51
51
Use : `invoke FUNCTION_NAME [--gateway GATEWAY_URL] [--content-type CONTENT_TYPE] [--query PARAM=VALUE] [--header PARAM=VALUE] [--method HTTP_METHOD]` ,
52
52
Short : "Invoke an OpenFaaS function" ,
53
53
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
56
56
faas-cli invoke env --query repo=faas-cli --query org=openfaas
57
57
faas-cli invoke env --header X-Ping-Url=http://request.bin/etc
58
58
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() {
48
48
49
49
// newFunctionCmd displays newFunction information
50
50
var 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)" ,
52
52
Short : "Create a new template in the current folder with the name given as name" ,
53
53
Long : `The new command creates a new function based upon hello-world in the given
54
54
language 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{
23
23
Use : `describe (FUNCTION_NAME|FUNCTION_TITLE) [--url STORE_URL]` ,
24
24
Short : "Show details of OpenFaaS function from a store" ,
25
25
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` ,
27
27
Aliases : []string {"inspect" },
28
28
RunE : runStoreDescribe ,
29
29
}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var storeListCmd = &cobra.Command{
26
26
Short : "List available OpenFaaS functions in a store" ,
27
27
Example : ` faas-cli store list
28
28
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` ,
30
30
RunE : runStoreList ,
31
31
}
32
32
You can’t perform that action at this time.
0 commit comments