mynt
1
$ mynt [-l {DEBUG,INFO,WARNING,ERROR} | -q | -v] [-V] {gen,init,serve,watch}

The main command provided by mynt.

-l {DEBUG,INFO,WARNING,ERROR}
--level {DEBUG,INFO,WARNING,ERROR}

Sets mynt's log level.

-q
--quiet

Sets mynt's log level to ERROR.

-v
--verbose

Sets mynt's log level to DEBUG.

-V
--version

Prints mynt's version and exits.

{gen,init,serve,watch}

The available subcommands.

gen
1
$ mynt gen [-d | -f] [--base-url BASE_URL] [--locale LOCALE] [source] destination

Generates a mynt site.

-d
--delete

Forces generation by deleting the destination if it exists.

If the destination exists and this flag is passed, mynt will delete the destination.

-f
--force

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.

--base-url BASE_URL
Sets the site's base URL overriding the configuration setting.
--locale LOCALE
Sets the locale used by the renderer.
source

The directory mynt looks in for source files.

If not supplied, the current directory is used.

destination
The directory mynt outputs to.
init
1
$ mynt init [-d] [-t THEME] [--bare] destination

Initializes a new mynt site.

-d
--delete

Forces initialization by deleting the destination if it exists.

If the destination exists and this flag is passed, mynt will delete the destination.

-t THEME
--theme THEME
Sets which theme will be used.
--bare
Initializes a new site without using a theme.
destination
The directory mynt outputs to.
serve
1
$ 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.

-p PORT
--port PORT
Sets the port used by the server.
--base-url BASE_URL
Sets the site's base URL overriding the configuration setting.
source

The directory mynt will serve.

If not supplied, the current directory is used.

watch
1
$ mynt watch [-f] [--base-url BASE_URL] [--locale LOCALE] [source] destination

Watches a mynt site and automatically regenerates it when changes are made.

-f
--force

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.

--base-url BASE_URL
Sets the site's base URL overriding the configuration setting.
--locale LOCALE
Sets the locale used by the renderer.
source

The directory mynt looks in for source files.

If not supplied, the current directory is used.

destination
The directory mynt outputs to.
Fork me on Github