summaryrefslogtreecommitdiffstats
path: root/commands/check.go
AgeCommit message (Collapse)Author
2018-04-11commands: Make the limit command work againBjørn Erik Pedersen
See #4598
2018-04-11commands: Make the hugo command non-globalBjørn Erik Pedersen
See #4598
2018-04-11commands: Make more commands non-globalBjørn Erik Pedersen
See #4598
2016-11-23Remove ShowPlanBjørn Erik Pedersen
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.
2016-09-06Make the check command work in multilingual modeBjørn Erik Pedersen
Or: some more multilingual TODO-fixes. See #2309
2016-02-05Clean flagsBjørn Erik Pedersen
* Reduce the amount of global flags * Unexport all flag vars and commands vars * Some other minor flag cleaning
2015-12-07Fix copyright headers in source filesBjørn Erik Pedersen
Still need to add some missing headers and an AUTHORS file. See #1646
2015-12-03Change most global flags into local onesAnthony Fok
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
2015-12-02One more error fix in the server commandAnthony Fok
And some other small code clean-up. See #1502
2015-12-02Improve error handling in commandsBjørn Erik Pedersen
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
2015-11-23Change the license to Apache 2.0Steve Francia
2015-08-04Improve formatting of Hugo command descriptionsAnthony Fok
Trying to make them look good both in the terminal (`hugo help [command]`) and in the web browser (http://gohugo.io/commands/). :-)
2014-04-05Hugo config abstracted into a general purpose config library called "Viper".spf13
Hugo casting now in own library called "cast"
2014-02-18Fix buildmattn
2014-02-01Adding the ability to check the system limit on open files (important for ↵spf13
watching large sites)
2013-09-29Change the interface to use commands and flags instead of just flags.spf13
Better organization of main (controller style) code.