mathiassm
Safe HaskellTrustworthy
LanguageGHC2024

MathiasSM.Cli

Description

The command-line interface and its subcommands

Synopsis

Documentation

cli :: IO () Source #

Main entrypoint for the cli subcommands (usually called like cabal run site SUBCMD)

build
Generate the site into _site
clean
Clean the generated files from _site
rebuild
Runs clean + build
server
Setup a quick dev server serving the files in _site
watch
Build, serve and rebuild site pieces as code changes
check
Verify broken links in _site files

Note: build commands check for required content before running.