First Amendment
Bridge Actions (BREAKING CHANGE)
Bridge actions now take multiple arguments.
Analogue to Alias this enables embedding of subcommands in macros.
Specs need to be updated though by adding []
brackets to the bridge macro arguments:
completion:
# positionalany: ["$_bridge.CarapaceBin(git)"] # OLD
positionalany: ["$_bridge.CarapaceBin([git])"] # NEW
Overlay
Overlays are essentially Spec files placed in ${UserConfigDir}/carapace/overlays
that provide additional completions.
These are merged with the existing completion and provide a workaround for issues that have yet to be fixed in upstream.
Overlays implicitly set
CARAPACE_LENIENT
to allow unknown flags.
Flag
# ~/.config/carapace/overlays/doctl.yaml
name: doctl
persistentflags:
--output=: Desired output format [text|json]
completion:
flag:
output: [text, json]
commands:
- name: compute
description: Display commands that manage infrastructure
commands:
- name: region
description: Display commands to list datacenter regions
commands:
- name: list
description: List datacenter regions
flags:
--format=: Columns for output in a comma-separated list
completion:
flag:
format: ["$uniquelist(,)", Slug, Name, Available]
Windows
Using zip as archive for windows releases for winget compability.
Changelog
- 42cec74 Merge pull request #1532 from rsteube/git-push-forcewithlease
- 30c7a09 Merge pull request #1533 from rsteube/dependabot/go_modules/golang.org/x/mod-0.9.0
- 7a605a4 Merge pull request #1534 from rsteube/fix-bridge
- dd0765d Merge pull request #1535 from rsteube/doc-macro-links
- 27f5220 Merge pull request #1536 from rsteube/doc-spec-run
- 776eec9 Merge pull request #1537 from rsteube/gorelaser-updates-v1.16.0
- 8357527 Merge pull request #1538 from rsteube/add-terramate
- 2d35ab2 Merge pull request #1539 from rsteube/terramate-stack
- 0b92a83 Merge pull request #1541 from rsteube/git-checkout-files
- c46a34f Merge pull request #1542 from rsteube/issue-form
- 34ee1e1 Merge pull request #1543 from rsteube/issue-request
- 165eefd Merge pull request #1544 from rsteube/gh-updates-v2.24.0
- 751416d Merge pull request #1545 from rsteube/add-foot
- 7f50bab Merge pull request #1546 from rsteube/go-help
- 5b4a4fb Merge pull request #1547 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.33.5
- 98eb407 Merge pull request #1548 from rsteube/supervisor-err-message
- db36601 Merge pull request #1549 from rsteube/go-build-flags
- 3b79fbf Merge pull request #1550 from rsteube/doctl-fix-flags
- c0bfc94 Merge pull request #1553 from rsteube/bridge-vararg
- 063e9dc Merge pull request #1554 from rsteube/overlay
- b1f1cdb Merge pull request #1555 from rsteube/man-local-file
- 5c8825e Merge pull request #1556 from rsteube/doc-overlay
- 10b9cae Merge pull request #1557 from rsteube/doc-overlay
- c46df8e Merge pull request #1558 from rsteube/kubectl-groups
- 846bb2d Merge pull request #1559 from rsteube/kubectl-update
- 1727362 Merge pull request #1560 from rsteube/kubectl-profile
- 90756aa Merge pull request #1562 from rsteube/zsh-fix-duplicate
- 518588c Merge pull request #1563 from rsteube/kubectl-move-actions
- 12e2653 Merge pull request #1567 from rsteube/goreleaser-zip
- 80d5130 Merge pull request #1568 from rsteube/doc-update-style
- 1adce8b Merge pull request #1569 from rsteube/doc-style-transformer
- 103759a Merge pull request #1570 from rsteube/add-yarn
- a3c87f9 Merge pull request #1571 from rsteube/fix-powershell
- 47f7e9d Merge pull request #1572 from rsteube/fix-spec-alias-completion
- f2a8b0f Merge pull request #1573 from rsteube/add-missing-links
- d539fd1 Merge pull request #1574 from rsteube/yarn-error-message
- 79f5efc Merge pull request #1575 from rsteube/add-syft
- 6157661 Merge pull request #1576 from rsteube/add-grype
- 477190e Merge pull request #1577 from rsteube/doc-style
- 5f681fb Merge pull request #1578 from rsteube/fix-powershell
- 47cbc9e Merge pull request #1579 from rsteube/fix-windows-spec
- 90c9240 Merge pull request #1580 from rsteube/shim-stat-cache
- c649b95 Merge pull request #1581 from rsteube/shim-hidden-dir
- 8d73859 Merge pull request #805 from rsteube/add-dbt
- 708a0b8 Merge pull request #837 from rsteube/add-supervisorctl
- 8f5e470 Update README.md
- 7c11d08 Update bug_report.yaml
- 1f2b076 Update bug_report.yaml
- 2279a7b Update bug_report.yaml
- eb1884f added dbt
- c62fd61 added foot
- dce6906 added grype
- d4e240e added missing links
- 38bcc85 added supervisorctl
- 81379bd added syft
- 01cb972 added terramate
- 50a0b56 added yarn
- e4e1765 bridge: removed ActionPosener and fixed references
- 7fd3709 bridge: use vararg
- defc7e7 build(deps): bump github.com/rsteube/carapace from 0.33.4 to 0.33.5
- 5852bf6 build(deps): bump golang.org/x/mod from 0.8.0 to 0.9.0
- 8e1f73c doc: added overlay
- 41cf401 doc: added spec run
- ae8e6f6 doc: removed line not applying to carapace
- 531ae89 doc: support links in macro description
- 9cb329d doc: updated overlay
- 09b645c doc: updated style
- 7e63642 doc: updated style
- 38cb4f9 doctl: fix flags
- 27893aa gh: updates from v2.24.0
- 5307163 git: checkout - complete files
- 51c5ebe git: push - force-with-lease
- 204c397 github: added issue request
- 74be75a github: use issue form
- 55d6c81 go: added help
- 09e7611 go: added missing build flags
- f9efa49 goreleaser: updates from v1.16.0
- 729666f goreleaser: use zip for windows
- 7345f5b kubectl: added groups
- eb1acc0 kubectl: moved actions
- eb02ad0 kubectl: profile completion
- 2f6a879 kubectl: updates from v0.26.2
- 11e8848 man: complete local files
- e5946a7 overlay completion
- 33774fc powershell: fix completion
- d12c77b powershell: fix script
- 5e87261 shim: use cache dir for stats
- 1f7bcd7 shim: use hidded dir for stats
- 0cf923b spec: fix alias completion
- 17cd5dc spec: fix filepath delimiter for windows
- 623920c supervisor: fix error message
- 9835818 terramate: stack completion
- b62fc67 yarn: fix error message
- 7d06ed4 zsh: fix duplicate output