hugo gen <command>

A collection of several useful generators

Arguments

NameDescription
command

Subcommands

NameDescription
autocompleteGenerate shell autocompletion script for Hugo (default outputs to stdout)
chromastylesGenerate CSS stylesheet for the Chroma code highlighter (default outputs to stdout)
docGenerate Markdown documentation for the Hugo CLI (default '/tmp/hugodoc/')
manGenerate man pages for the Hugo CLI (default 'man/')

Options

NameDescription
-h, --helphelp for gen
--config <file>Config file (default is path/config.yaml|json|toml)
--configDir <directory path>Config dir (default 'config')
--debug <boolean>Debug output (default false)
-e, --environment <environment>Build environment
--ignoreVendor <boolean>Ignores any _vendor directory (default false)
--ignoreVendorPaths <glob pattern>Ignores any _vendor for module paths matching the given Glob pattern
--log <boolean>Enable Logging (default false)
--logFile <file>Log File path (if set, logging enabled automatically)
--quiet <boolean>Build in quiet mode (default false)
-s, --source <file>Filesystem path to read files relative from
--themesDir <file>Filesystem path to themes directory
-v, --verbose <boolean>Verbose output (default false)
--verboseLog <boolean>Verbose logging (default false)