New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add HUGOFLAGS env var #5947
Labels
Milestone
Comments
Hello OP, Here Line 23 in 0e75af7
HUGOFLAGS can be added along with os.Args[1:] .
|
Boot-Error
added a commit
to Boot-Error/hugo
that referenced
this issue
Oct 12, 2019
Implements use of `HUGOFLAGS` env variable to supply flags. This is useful for personal setups or scripts that require multiple invocation of hugo with same set of flags. Inspired by `GOFLAGS` Fixes gohugoio#5947
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Saw this in the Go CLI, which I would find useful having something similar for Hugo:
E.g.
HUGOFLAGS="-D --path-warnings"
Or something.
The text was updated successfully, but these errors were encountered: