hugo/commands
Ville Skyttä a67650b6f7 completion: Improve existing argument completions, add many more
Do not offer filenames to arguments not taking one, complete arguments
of options taking resource kinds, directory names, --logLevel, release
--step, config and new --format.

As an internal refactoring, use higher level functions to set flag
completions.  SetAnnotation works, but is more verbose than
alternatives, and uses bash specific wording.

While at it, move setting completions next to flag definitions
consistently.

Remove superfluous --destination completer setting, which is already
set elsewhere.
2024-04-11 15:34:26 +02:00
..
commandeer.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
commands.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
config.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
convert.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
deploy.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
deploy_off.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
env.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
gen.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
helpers.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
hugo_windows.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
hugobuilder.go commands: Revert the recent changes that allowed profiling on server rebuilds 2024-02-05 14:27:35 +01:00
import.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
list.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
mod.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
new.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
release.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
server.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00