You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,17 +19,17 @@ Please note that onepunch makes use of [puppeteer](https://github.com/puppeteer/
19
19
### Create a project
20
20
21
21
```
22
-
$ onepunch --init my-presentation
22
+
$ onepunch init [-n directory-name]
23
23
```
24
24
25
-
The command above creates the directory `my-presentation` with all the files needed to bootstrap the presentation. The configuration file `onepunch.json` contains configuration parameters, for the moment only the presentation *width* and *height* (in pixels) are available.
25
+
The command above creates the directory `directory-name` with all the files needed to bootstrap the presentation. The configuration file `onepunch.json` contains configuration parameters, for the moment only the presentation *width* and *height* (in pixels) are available.
26
26
27
27
### View the presentation
28
28
29
29
Inside the project directory, run:
30
30
31
31
```
32
-
$ onepunch --serve
32
+
$ onepunch serve
33
33
```
34
34
35
35
The command above starts a local server and opens the browser, use the arrow keys to see the next and previous slides.
@@ -39,7 +39,7 @@ The command above starts a local server and opens the browser, use the arrow key
0 commit comments