Scroll to navigation

HUGO-UNDRAFT(1) Hugo Manual HUGO-UNDRAFT(1)

NAME

hugo-undraft - Undraft resets the content's draft status

SYNOPSIS

hugo undraft path/to/content [flags]

DESCRIPTION

Undraft resets the content's draft status and updates the date to the current date and time. If the content's draft status is 'False', nothing is done.

OPTIONS

-h, --help[=false]
help for undraft

OPTIONS INHERITED FROM PARENT COMMANDS

--config=""
config file (default is path/config.yaml|json|toml)

--debug[=false]
debug output

--log[=false]
enable Logging

--logFile=""
log File path (if set, logging enabled automatically)

--quiet[=false]
build in quiet mode

-v, --verbose[=false]
verbose output

--verboseLog[=false]
verbose logging

SEE ALSO

hugo(1)

Nov 2017 Hugo 0.26