You can store your default preferences in a configuration file.
Prez uses rc:
- JSON with comments
- INI
.prezrc
at the root of your project$HOME/.prezrc
/etc/prezrc
- More locations are supported (take a look at
rc
doc)
slides
: defaults to"slides"
skipReveal
: defaults tofalse
skipIndex
: defaults tofalse
skipUser
: defaults tofalse
keepHidden
: defaults tofalse
print
: defaults tofalse
printTheme
: defaults to"simple"
phantomjs
: defaults to"phantomjs"
suchNotes
: defaults tofalse
theme
: defaults to"solarized"
highlightTheme
: defaults to"zenburn"
dynamicTheme
: defaults totrue
watch
: defaults tofalse
subCovers
: defaults tofalse
title
: defaults to your project'spackage.json
'sname
field, or"Prez"
author
: defaults to your project'spackage.json
'sauthor
field, or""
description
: defaults to your project'spackage.json
'sdescription
field, or""
parser
: defaults to"marked"
Each option matches a command-line argument