通过简单的 CLI 控制 Deckset。
curl -L https://github.com/theolampert/dkst/releases/download/v1.0.3/dkst > dkst
chmod +x dkst
./dkst
将文件复制到 PATH 中的某个位置。
git clone git@github.com:theolampert/dkst.git
cd dkst
swift build -c release
复制 .build/release/dkst
到 PATH 中的某个位置。
Usage:
$ dkst
Commands:
+ export - Export the current Deckset presentation.
<path> - Path to a Deckset presentation.
--format [PDF, JPEG, PNG] - Defaults to PDF.
--printAllSteps - Defaults to false.
+ present - Present a Deckset presentation.
+ rehearse - Rehearse a Deckset presentation.
+ open - Open a Deckset presentation.
<path> - Path to a Deckset presentation.
+ preview - Toggle the Deckset preview window.
+ quit - Quit Deckset.
+ slide-index - Get or Set the current document's slide index.
--index - The optional slide index to set.