{% extends 'layout.html' %} {% set crumbs = (('Docs',), ('Command Line',)) %} {% set toc = ( ('mynt', ( ('gen',), ('init',), ('serve',), ('watch',) )), ) %} {% block content %}
$ mynt [-l {DEBUG,INFO,WARNING,ERROR} | -q | -v] [-V] {gen,init,serve,watch}
The main command provided by mynt.
Sets mynt's log level.
Sets mynt's log level to ERROR
.
Sets mynt's log level to DEBUG
.
Prints mynt's version and exits.
The available subcommands.
$ mynt gen [-c | -f] [--base-url BASE_URL] [--locale LOCALE] [source] destination
Generates a mynt site.
Forces generation by deleting the destination if it exists.
If the destination exists and this flag is passed, mynt will delete the destination.
Forces generation by emptying the destination if it exists.
If the destination exists and this flag is passed, mynt will delete any directory or file at the root of the destination that doesn't begin with an underscore or period.
The directory mynt looks in for source files.
If not supplied, the current directory is used.
$ mynt init [-f] [-t THEME] [--bare] destination
Initializes a new mynt site.
Forces initialization by deleting the destination if it exists.
If the destination exists and this flag is passed, mynt will delete the destination.
$ mynt serve [-p PORT] [--base-url BASE_URL] [source]
Launches a local test server for displaying a generated mynt site.
This subcommand should not be used to publicly host a site. It should only be used for local development and testing.
The directory mynt will serve.
If not supplied, the current directory is used.
$ mynt watch [-f] [--base-url BASE_URL] [--locale LOCALE] [source] destination
Watches a mynt site and automatically regenerates it when changes are made.
Forces watching by emptying the destination every time a change is made if it exists.
If the destination exists and this flag is passed, every time a change is made mynt will delete any directory or file at the root of the destination that doesn't begin with an underscore or period.
The directory mynt looks in for source files.
If not supplied, the current directory is used.