Age | Commit message (Collapse) | Author |
|
See #4598
|
|
See #4598
|
|
It is out of sync with reality, has some disabled tests, and the cost
of getting it up-to-date is too high to be worth it.
|
|
Or: some more multilingual TODO-fixes.
See #2309
|
|
* Reduce the amount of global flags
* Unexport all flag vars and commands vars
* Some other minor flag cleaning
|
|
Still need to add some missing headers and an AUTHORS file.
See #1646
|
|
This is to ensure that only the relevant command-line flags
for a certain Hugo subcommand is shown to the end user,
reducing clutter and improving user experience.
Fixes #1624 - CLI UX: Flags shouldn't be global
|
|
And some other small code clean-up.
See #1502
|
|
Cobra, the CLI commander in use in Hugo, has some long awaited improvements in the error handling department.
This enables a more centralized error handling approach.
This commit introduces that by changing all the command funcs to `RunE`:
* The core part of the error logging, usage logging and `os.Exit(-1)` is now performed in one place and that one place only.
* The usage text is now only shown on invalid arguments etc. (user errors)
Fixes #1502
|
|
|
|
Trying to make them look good both in the terminal (`hugo help [command]`)
and in the web browser (http://gohugo.io/commands/). :-)
|
|
Hugo casting now in own library called "cast"
|
|
|
|
watching large sites)
|
|
Better organization of main (controller style) code.
|