dkst 构建状态

通过简单的 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 中的某个位置。

使用 dkst

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.