Preinvoke
Generic alteration of completion before execution which enables features like directory change in git -C <DIR>
:
Spec
Experimental support for simple completions using yaml
spec files:
name: example
description:
flags:
--dynamic=: dynamic value
-o, --optarg?: optarg flag
-s, --styled=: styled values
completion:
flag:
dynamic: ["$(git branch --all | cut -c 3- | sed 's/$/\t\tblue/')", "static value"]
optarg: ["first", "second", "third"]
styled:
- "blue\tblue\tblue"
- "cyan\tcyan\tcyan"
positional:
- ["pos1-a", "pos1-b", "pos1-c"]
- ["$_files"]
Changelog
- 71e4cb7 Merge pull request #1063 from rsteube/goreleaser-nfpm
- 29cd3a2 Merge pull request #1064 from rsteube/ioutil-deprecated
- ac22f67 Merge pull request #1065 from rsteube/git-grep
- 25af053 Merge pull request #1066 from rsteube/add-gitk
- 2e9fe58 Merge pull request #1067 from rsteube/git-gui
- add820a Merge pull request #1068 from rsteube/add-tmate
- e81f4db Merge pull request #1069 from rsteube/git-whatchanged
- 16c1be4 Merge pull request #1070 from rsteube/git-lsremotes
- 58c6747 Merge pull request #1072 from rsteube/tig-preinvoke
- baa5523 Merge pull request #1073 from rsteube/loglevel-style
- 36a67d4 Merge pull request #1074 from rsteube/fix-duplicated-stylef
- 8fbb679 Merge pull request #1075 from rsteube/pulumi-updates
- 4148558 Merge pull request #1076 from rsteube/spec-completion
- 3d01818 Merge pull request #1077 from rsteube/update-carapace-spec
- 436d718 Merge pull request #1078 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-spec-0.0.5
- b97a0ea Merge pull request #1079 from rsteube/docker-compose-path-style
- 29c2082 Merge pull request #1080 from rsteube/updated-spec
- 54529a6 Merge pull request #1081 from rsteube/update-spec
- af5621a Merge pull request #968 from rsteube/preinvoke
- 30b61d7 Merge pull request #979 from rsteube/add-volta
- 74d10d2 added gitk
- dab567b added spec completion
- b88da72 added spec flag
- 74c07af added tmate
- 58a18fd added volta
- 07396b6 build(deps): bump github.com/rsteube/carapace-spec from 0.0.4 to 0.0.5
- ff41c42 docker-compose: path style
- e0846f8 fix duplicated StyleF
- 3683894 git: grep
- 47c310e git: gui
- d4da2d2 git: ls-remote
- f005ca7 git: whatchanged
- 4f025cd goreleaser: added nfpm
- 51df807 loglevel style
- b2568cb pulumi: updates from v3.31.0
- ae981bf replaced deprecated ioutil
- 94244d0 tig: use preinvoke
- bfecc8d updated carapace to v0.20.0
- a9247e7 updated carapace-spec
- 490ab4b updated carapace-spec
- 43060e3 updated spec