Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-20 | commands: Fix autocomplete docs | Bjørn Erik Pedersen | |
2021-02-09 | commands: Add PowerShell completion support | Anthony Fok | |
Revert "Refactor: Remove powershell support" with fixes Thanks to Ben Mezger (@benmezger) for the original code. See #8122 This reverts commit a7c515e1b56e8cab34ca2647b4116904df9c8250. | |||
2021-02-04 | Refactor: Write to stdout by default | Ben Mezger | |
2021-02-04 | Refactor: Remove powershell support | Ben Mezger | |
2021-02-04 | Feat: Add zsh, fish and powershell completion support | Ben Mezger | |
See issue #4296 | |||
2020-12-03 | all: Format code with gofumpt | Bjørn Erik Pedersen | |
See https://github.com/mvdan/gofumpt | |||
2018-04-11 | commands: Make the hugo command non-global | Bjørn Erik Pedersen | |
See #4598 | |||
2018-04-11 | commands: Make the gen commands non-global | Bjørn Erik Pedersen | |
See #4598 | |||
2017-04-26 | commands: Make first letter of flags' usage lowercase | Albert Nigmatzianov | |
2016-06-22 | Fix example for autocomplete | Bjørn Erik Pedersen | |
See #2235 | |||
2016-03-23 | commands: Fix remaining Golint warning | Bjørn Erik Pedersen | |
2015-12-10 | Add copyright header to that source files that don’t have one. | Anthony Fok | |
See #1646 | |||
2015-12-02 | Improve error handling in commands | Bjø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-12-02 | Enable dirname and filename completion for more flags | Anthony Fok | |
These flags are: * --source (-s), --cacheDir, --destination (-d) and --logFile * --completionfile and --dir. | |||
2015-11-23 | Restructure the gen commands | Bjørn Erik Pedersen | |
Fixes #1603 | |||
2015-08-09 | Print feedback for `hugo genautocomplete` | Anthony Fok | |
2015-08-04 | Improve formatting of Hugo command descriptions | Anthony Fok | |
Trying to make them look good both in the terminal (`hugo help [command]`) and in the web browser (http://gohugo.io/commands/). :-) | |||
2015-05-16 | Remove trailing spaces in completionfile flag | bep | |
2015-05-16 | Add Bash completion | bep | |
Add a new command, genautocomplete, wich generates a Bash completion script (zsh and others later). The script is by default written to `/etc/bash_completion.d/hugo.sh`; this can be set in `--completionfile=/some/file`. Fixes #438 |