Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct { Version func() `short:"v" long:"version" description:"Print the version of Boooklit and exit."` In string `long:"in" short:"i" required:"true" description:"Input .lit file."` Out string `long:"out" short:"o" required:"true" description:"Output directory in which to render."` SaveSearchIndex bool `long:"save-search-index" description:"Save a search index JSON file in the destination."` ServerPort int `long:"serve" short:"s" description:"Start an HTTP server on the given port."` Plugins []string `long:"plugin" short:"p" description:"Package to import, providing a plugin."` Debug bool `long:"debug" short:"d" description:"Log at debug level."` AllowBrokenReferences bool `long:"allow-broken-references" description:"Replace broken references with a bogus tag."` HTMLEngine struct { Templates string `long:"templates" description:"Directory containing .tmpl files to load."` } `group:"HTML Rendering Engine" namespace:"html"` }
type ReexecError ¶ added in v0.6.0
func (ReexecError) Error ¶ added in v0.6.0
func (err ReexecError) Error() string
Click to show internal directories.
Click to hide internal directories.