hugo gen doc
· โ˜• 1 min read
hugo gen doc Generate Markdown documentation for the Hugo CLI. Synopsis Generate Markdown documentation for the Hugo CLI. This command is, mostly, used to create up-to-date documentation of Hugo’s command-line interface for http://gohugo.io/. It creates one Markdown file per command with front matter suitable for rendering in Hugo. hugo gen doc [flags] Options --dir string the directory to write the doc. (default "/tmp/hugodoc/") -h, --help help for doc Options inherited from parent commands --config string config file (default is path/config.

hugo gen man
· โ˜• 1 min read
hugo gen man Generate man pages for the Hugo CLI Synopsis This command automatically generates up-to-date man pages of Hugo’s command-line interface. By default, it creates the man page files in the “man” directory under the current directory. hugo gen man [flags] Options --dir string the directory to write the man pages. (default "man/") -h, --help help for man Options inherited from parent commands --config string config file (default is path/config.

hugo import
· โ˜• 1 min read
hugo import Import your site from others. Synopsis Import your site from other web site generators like Jekyll. Import requires a subcommand, e.g. hugo import jekyll jekyll_root_path target_path. Options -h, --help help for import Options inherited from parent commands --config string config file (default is path/config.yaml|json|toml) --configDir string config dir (default "config") --debug debug output -e, --environment string build environment --ignoreVendor ignores any _vendor directory --log enable Logging --logFile string log File path (if set, logging enabled automatically) --quiet build in quiet mode -s, --source string filesystem path to read files relative from --themesDir string filesystem path to themes directory -v, --verbose verbose output --verboseLog verbose logging SEE ALSO hugo - hugo builds your site hugo import jekyll - hugo import from Jekyll Auto generated by spf13/cobra on 26-Aug-2020

hugo import jekyll
· โ˜• 1 min read
hugo import jekyll hugo import from Jekyll Synopsis hugo import from Jekyll. Import from Jekyll requires two paths, e.g. hugo import jekyll jekyll_root_path target_path. hugo import jekyll [flags] Options --force allow import into non-empty target directory -h, --help help for jekyll Options inherited from parent commands --config string config file (default is path/config.yaml|json|toml) --configDir string config dir (default "config") --debug debug output -e, --environment string build environment --ignoreVendor ignores any _vendor directory --log enable Logging --logFile string log File path (if set, logging enabled automatically) --quiet build in quiet mode -s, --source string filesystem path to read files relative from --themesDir string filesystem path to themes directory -v, --verbose verbose output --verboseLog verbose logging SEE ALSO hugo import - Import your site from others.

hugo list
· โ˜• 1 min read
hugo list Listing out various types of content Synopsis Listing out various types of content. List requires a subcommand, e.g. hugo list drafts. Options -h, --help help for list Options inherited from parent commands --config string config file (default is path/config.yaml|json|toml) --configDir string config dir (default "config") --debug debug output -e, --environment string build environment --ignoreVendor ignores any _vendor directory --log enable Logging --logFile string log File path (if set, logging enabled automatically) --quiet build in quiet mode -s, --source string filesystem path to read files relative from --themesDir string filesystem path to themes directory -v, --verbose verbose output --verboseLog verbose logging SEE ALSO hugo - hugo builds your site hugo list all - List all posts hugo list drafts - List all drafts hugo list expired - List all posts already expired hugo list future - List all posts dated in the future Auto generated by spf13/cobra on 26-Aug-2020

hugo list all
· โ˜• 1 min read
hugo list all List all posts Synopsis List all of the posts in your content directory, include drafts, future and expired pages. hugo list all [flags] Options -h, --help help for all Options inherited from parent commands --config string config file (default is path/config.yaml|json|toml) --configDir string config dir (default "config") --debug debug output -e, --environment string build environment --ignoreVendor ignores any _vendor directory --log enable Logging --logFile string log File path (if set, logging enabled automatically) --quiet build in quiet mode -s, --source string filesystem path to read files relative from --themesDir string filesystem path to themes directory -v, --verbose verbose output --verboseLog verbose logging SEE ALSO hugo list - Listing out various types of content Auto generated by spf13/cobra on 26-Aug-2020

hugo list drafts
· โ˜• 1 min read
hugo list drafts List all drafts Synopsis List all of the drafts in your content directory. hugo list drafts [flags] Options -h, --help help for drafts Options inherited from parent commands --config string config file (default is path/config.yaml|json|toml) --configDir string config dir (default "config") --debug debug output -e, --environment string build environment --ignoreVendor ignores any _vendor directory --log enable Logging --logFile string log File path (if set, logging enabled automatically) --quiet build in quiet mode -s, --source string filesystem path to read files relative from --themesDir string filesystem path to themes directory -v, --verbose verbose output --verboseLog verbose logging SEE ALSO hugo list - Listing out various types of content Auto generated by spf13/cobra on 26-Aug-2020

hugo list expired
· โ˜• 1 min read
hugo list expired List all posts already expired Synopsis List all of the posts in your content directory which has already expired. hugo list expired [flags] Options -h, --help help for expired Options inherited from parent commands --config string config file (default is path/config.yaml|json|toml) --configDir string config dir (default "config") --debug debug output -e, --environment string build environment --ignoreVendor ignores any _vendor directory --log enable Logging --logFile string log File path (if set, logging enabled automatically) --quiet build in quiet mode -s, --source string filesystem path to read files relative from --themesDir string filesystem path to themes directory -v, --verbose verbose output --verboseLog verbose logging SEE ALSO hugo list - Listing out various types of content Auto generated by spf13/cobra on 26-Aug-2020

hugo list future
· โ˜• 1 min read
hugo list future List all posts dated in the future Synopsis List all of the posts in your content directory which will be posted in the future. hugo list future [flags] Options -h, --help help for future Options inherited from parent commands --config string config file (default is path/config.yaml|json|toml) --configDir string config dir (default "config") --debug debug output -e, --environment string build environment --ignoreVendor ignores any _vendor directory --log enable Logging --logFile string log File path (if set, logging enabled automatically) --quiet build in quiet mode -s, --source string filesystem path to read files relative from --themesDir string filesystem path to themes directory -v, --verbose verbose output --verboseLog verbose logging SEE ALSO hugo list - Listing out various types of content Auto generated by spf13/cobra on 26-Aug-2020

hugo mod
· โ˜• 3 min read
hugo mod Various Hugo Modules helpers. Synopsis Various helpers to help manage the modules in your project’s dependency graph. Most operations here requires a Go version installed on your system (>= Go 1.12) and the relevant VCS client (typically Git). This is not needed if you only operate on modules inside /themes or if you have vendored them via “hugo mod vendor”. Note that Hugo will always start out by resolving the components defined in the site

hugo mod clean
· โ˜• 1 min read
hugo mod clean Delete the Hugo Module cache for the current project. Synopsis Delete the Hugo Module cache for the current project. Note that after you run this command, all of your dependencies will be re-downloaded next time you run “hugo”. Also note that if you configure a positive maxAge for the “modules” file cache, it will also be cleaned as part of “hugo –gc”. hugo mod clean [flags] Options --all clean entire module cache -h, --help help for clean --pattern string pattern matching module paths to clean (all if not set), e.

hugo mod get
· โ˜• 2 min read
hugo mod get Resolves dependencies in your current Hugo Project. Synopsis Resolves dependencies in your current Hugo Project. Some examples: Install the latest version possible for a given module: hugo mod get github.com/gohugoio/testshortcodes Install a specific version: hugo mod get github.com/gohugoio/testshortcodes@v0.3.0 Install the latest versions of all module dependencies: hugo mod get -u hugo mod get -u ./... (recursive) Run “go help get” for more information. All flags available for “go get” is also relevant here.

hugo mod graph
· โ˜• 1 min read
hugo mod graph Print a module dependency graph. Synopsis Print a module dependency graph with information about module status (disabled, vendored). Note that for vendored modules, that is the version listed and not the one from go.mod. hugo mod graph [flags] Options -h, --help help for graph Options inherited from parent commands --config string config file (default is path/config.yaml|json|toml) --configDir string config dir (default "config") --debug debug output -e, --environment string build environment --ignoreVendor ignores any _vendor directory --log enable Logging --logFile string log File path (if set, logging enabled automatically) --quiet build in quiet mode -s, --source string filesystem path to read files relative from --themesDir string filesystem path to themes directory -v, --verbose verbose output --verboseLog verbose logging SEE ALSO hugo mod - Various Hugo Modules helpers.