mirror of
https://github.com/astefanutti/decktape.git
synced 2024-12-12 13:49:13 +03:00
Add short options for size and pause
This commit is contained in:
parent
56c4ecf158
commit
dd6065620a
@ -48,8 +48,8 @@ url URL of the slides deck
|
||||
filename Filename of the output PDF file
|
||||
|
||||
Options:
|
||||
--size Size of the slides deck viewport: <width>x<height> [1280x720]
|
||||
--pause Duration in milliseconds before each slide is exported [1000]
|
||||
-s, --size Size of the slides deck viewport: <width>x<height> [1280x720]
|
||||
-p, --pause Duration in milliseconds before each slide is exported [1000]
|
||||
--screenshots Capture each slide as an image [false]
|
||||
--screenshots-directory Screenshots output directory [screenshots]
|
||||
--screenshots-size Screenshots resolution, can be repeated [--size]
|
||||
|
@ -29,12 +29,14 @@ var parser = require("./libs/nomnom")
|
||||
help: "Filename of the output PDF file"
|
||||
},
|
||||
size: {
|
||||
abbr: 's',
|
||||
default: "1280x720",
|
||||
callback: parseResolution,
|
||||
transform: parseResolution,
|
||||
help: "Size of the slides deck viewport: <width>x<height>"
|
||||
},
|
||||
pause: {
|
||||
abbr: 'p',
|
||||
default: 1000,
|
||||
help: "Duration in milliseconds before each slide is exported"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user