Skip to content

Latest commit

 

History

History
109 lines (68 loc) · 2.1 KB

API.md

File metadata and controls

109 lines (68 loc) · 2.1 KB

quickblog.api

clean

(clean opts)

Removes cache and output directories
source

migrate

(migrate opts)

Migrates from posts.edn to post-local metadata
source

new

(new opts)

Creates new file in posts dir.
source

quickblog

(quickblog opts)

Alias for render
source

refresh-templates

(refresh-templates opts)

Updates to latest default templates
source

render

(render opts)

Renders posts declared in posts.edn to out-dir.
source

serve

(serve opts)

Runs file-server on port.
source

watch

(watch opts)

Watches posts, templates, and assets for changes. Runs file server using serve.
source

quickblog.cli

-main

(-main & args)

source

dispatch

(dispatch)
(dispatch default-opts & args)

source

run

(run default-opts)

Meant to be called using clj -M:quickblog; see Quickstart > Clojure in README
source