Command line interface for Shower
npx shower-cli create my-slides
(npx comes with npm 5.2+ and higher)
Install ShowerCLI using npm
:
$ npm install --global shower-cli
or via yarn
:
$ yarn global add shower-cli
The minimum supported Node version is v8.0.0
by default.
Note: For easy creation of slides for one command,
we recommend installing the ShowerCLI
globally.
After the presentation is created, ShowerCLI
is added as dev-dependencies by default
shower [--version] [--help] <command> [<args>]
$ shower create [<directory>]
- Creating a new project
$ shower serve
- Serve a the presentation in development mode
$ shower prepare
- Gather the necessary files in a separate folder
$ shower archive
- To create an archive of the presentation
$ shower pdf
- Converts the presentation to PDF
Publish presentation with GitHub Pages
$ shower publish
- Publish your project to GitHub Pages