hugo_install: Install specified version of hugo

Description Usage Arguments Examples

View source: R/hugo-install.R

Description

Downloads binary from hugo releases, and installs in system wide cache.

Usage

1
hugo_install(version = NULL, os = hugo_os(), arch = "64bit", extended = TRUE)

Arguments

version

String giving version (e.g. "0.69.0"). If omitted will default to latest release.

os

Operating system, one of "Linux", "Windows", "macOS". Defaults to current operating system.

arch

Architecture

extended

Installed hugo-extended which also includes SCSS etc?

Examples

1
2
3
4
## Not run: 
hugo_install()

## End(Not run)

r-lib/hugodown documentation built on Feb. 1, 2021, 6:47 a.m.