Skip to content

Commit 1814487

Browse files
marcozanghiMarco Zanghì
andauthored
fixed docs for ops util command (#51)
Co-authored-by: Marco Zanghì <m.zanghi@pixora.it>
1 parent 7152fee commit 1814487

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

content/en/docs/cli/assets/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ upload static assets.
1313

1414
You can upload a folder in this web area with
1515

16-
`ops web upload <folder>`
16+
`ops util upload <folder>`
1717

1818
Synopsis:
1919

@@ -22,7 +22,7 @@ You can upload a folder in this web area with
2222
Commands to upload and manage static content.
2323

2424
Usage:
25-
web upload <folder> [--quiet] [--clean]
25+
util upload <folder> [--quiet] [--clean]
2626

2727
Commands:
2828
upload <folder> Uploads a folder to the web bucket in OpenServerless.

content/en/docs/tutorial/first-steps/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ platform is deployed at, but there is an handy command that does it
6767
automatically for all files in a folder:
6868

6969
```bash
70-
ops web upload web/
70+
ops util upload web/
7171
```
7272

73-
Pass to `ops web upload` the path to folder where the index.html is
73+
Pass to `ops util upload` the path to folder where the index.html is
7474
stored in (the `web` folder) and visit again `<apihost>`.
7575

7676
Now you should see the new index page:

content/en/docs/tutorial/form-validation/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ couple of attributes to the form:
140140

141141
Upload the web folder again with the new changes:
142142

143-
ops web upload web/
143+
ops util upload web/
144144

145145
Now if you go to the contact form page the send button should work. It
146146
will invoke the submit action which in turn will return some html.

content/en/docs/tutorial/notify-message/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ And update the `index.html`:
144144
enctype="application/x-www-form-urlencoded"> <-- new
145145
```
146146

147-
Don’t forget to re-upload the web folder with `ops web upload web/`.
147+
Don’t forget to re-upload the web folder with `ops util upload web/`.
148148

149149
Now try to fill out the form again and press send! It will execute the
150150
sequence and you will receive the message from your Slack App.

0 commit comments

Comments
 (0)