File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -118,21 +118,13 @@ $ faas-cli invoke markdown
118
118
119
119
You'll now be asked to type in some text. Hit Control + D when you're done.
120
120
121
- Alternatively you can use a command such as ` echo ` or ` uname -a ` as input to the ` invoke ` command which works through the use of pipes.
121
+ Alternatively you can use a command such as ` echo ` or ` curl ` as input to the ` invoke ` command which works through the use of pipes.
122
122
123
123
``` sh
124
- $ echo Hi | faas-cli invoke markdown
124
+ $ echo " # Hi " | faas-cli invoke markdown
125
125
126
- $ uname -a | faas-cli invoke markdown
127
- ```
128
-
129
- You can even generate a HTML file from this lab's markdown file with the following:
130
-
131
- ``` sh
132
- $ git clone https://github.com/openfaas/workshop \
133
- && cd workshop
134
-
135
- $ cat lab2.md | faas-cli invoke markdown
126
+ $ curl -sLS https://raw.githubusercontent.com/openfaas/faas/master/README.md \
127
+ | faas-cli invoke markdown
136
128
```
137
129
138
130
## Monitoring dashboard
You can’t perform that action at this time.
0 commit comments