Skip to content

Commit e735ab6

Browse files
committed
Remove uname from markdown examples
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent dc406d9 commit e735ab6

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

lab2.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,13 @@ $ faas-cli invoke markdown
118118

119119
You'll now be asked to type in some text. Hit Control + D when you're done.
120120

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.
122122

123123
```sh
124-
$ echo Hi | faas-cli invoke markdown
124+
$ echo "# Hi" | faas-cli invoke markdown
125125

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
136128
```
137129

138130
## Monitoring dashboard

0 commit comments

Comments
 (0)