CLI
Saaze comes bundled with an easy to use CLI to make developing and building a Saaze site much easier. To see all of the available commands run the following in a terminal from the root of your Saaze site:
To get help with a specific command and to see a list of all of the options of a command, prefix the subcommand with help
. For example:
Serve command
Serves your site using a local development server at http://127.0.0.1:8000.
The host and port can be configured using the --host
and --port
flags respectively.
Build command
Generate a completely static version of your site in the /build
directory.
The output directory can be configured using the --dest
flag.
Make collection command
Create a new collection.
Make entry command
Create a new entry.