Everything Sluurp does is one binary, sluurp. sluurp --help lists the commands, and sluurp <command> --help every option of one. This page is the map.
Every command takes --dir <DIR>, the folder that holds the data, one SQLite file per project. It is sluurp_data next to where you run it, unless you say otherwise.
Serving
Command
What it does
serve
Start the server: the API, the admin UI at /_/, and the app given to --public
static
Write the app out as plain files for a file host, islands still alive; --base repo for a site served from a folder (Static sites)
compile
Build a single binary that serves one app, its files inside it
serve options:
Option
--public DIR
The app at /: a folder, or a repository’s URL. NAME=DIR serves another at /NAME/; give it more than once
--addr HOST:PORT
Where to listen; 127.0.0.1:8090 by default, this machine only