mksite(1)
mksite - generate a website from template files
mksite [-q | --log-level level ] command++ mksite -V++ mksite -h
mksite is a tool for generating a static website using the information in the \‘mksite.toml’ file in the working directory, the template files in the configured source directory, and the static assets in the configured asset directory, if any.
-q, --quiet Do not print log messages. Conflicts with --log-level option.
--log-level LEVEL Enable logging at the given level (error, warn, info, or debug). Defaults to info. Conflicts with -q.
-h, --help Print help information and exit.
-V, --version Print version information and exit.
build Build the website according to the \‘mksite.toml’ config file.
clean Delete all build outputs.
init Initialize a scaffold \‘mksite.toml’ file in the current working directory.
new NAME Create a new directory NAME and scaffold a website and config file in it.
help [SUBCOMMAND] Print help information or the help of the given subcommand.
mksite exits 0 on success, 2 if the provided command-line arguments are incorrect, and 1 if any other error occurs.
In order to run the build or clean subcommands, mksite requires the precense of a file named ‘mksite.toml’ in the working directory. This file is generated by the init and new subcommands.
For documentation on the configuration format and expected directory structure, see https://alterae.github.io/mksite.
For documentation on the Tera templating language, which mksite uses, see https://tera.netlify.app.
mksite is in active development, and highly incomplete. Many important features are missing.
mksite is maintained by alterae [email protected].
|[ Website: :[ https://alterae.github.io/mksite | Source code: : https://github.com/alterae/mksite
Issues can be filed at https://github.com/alterae/mksite/issues.