Skip to content

Releases: carapace-sh/carapace-bin

v0.24.0

09 Apr 13:06
cf2b19f
Compare
Choose a tag to compare

Spring Cleaning

carapace-bridge

Moved bridge actions to carapace-bridge.
The shell bridges now use custom configs at ${UserConfigDir}/carapace/bridge
(e.g. ~/.config/carapace/bridge/fish/config.fish instead of ~/.config/fish/config.fish).

removed flags

Removed --bridge and --spec flags as user specs are preferred and there are carapace-bridge and carapace-spec as well.

Changelog

  • 847dbdb ActionCarapaceBin: fallback to file completion
  • 1beac40 ActionFish: use custom config for bridge
  • 8eaa277 Merge pull request #1229 from rsteube/add-tea
  • 6d5c1f8 Merge pull request #1582 from rsteube/gh-updates-v2.25.0
  • 63909f6 Merge pull request #1583 from rsteube/gh-help-topics
  • 6a6a3db Merge pull request #1585 from rsteube/systemctl-user-manager
  • 8cd4bba Merge pull request #1586 from rsteube/systemctl-groups
  • 287d29d Merge pull request #1587 from rsteube/minikube-groups
  • 3924e32 Merge pull request #1588 from rsteube/terraform-group
  • 75a2e8b Merge pull request #1589 from rsteube/systemctl-fix-environment
  • 2b824e9 Merge pull request #1590 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.33.8
  • 92fbf8a Merge pull request #1591 from rsteube/remove-turbo
  • 8944d5d Merge pull request #1592 from rsteube/add-turbo
  • 4b648b2 Merge pull request #1593 from rsteube/git-notes
  • fcf16dd Merge pull request #1594 from rsteube/git-fix-notes
  • ebf4c22 Merge pull request #1595 from rsteube/terragrunt-group
  • 072f9fe Merge pull request #1596 from rsteube/git-revlist
  • 1d11067 Merge pull request #1597 from rsteube/git-filter-branch
  • 9100567 Merge pull request #1598 from rsteube/cargo-1.68
  • 1ae0b2a Merge pull request #1599 from rsteube/add-goimports
  • 98ed61a Merge pull request #1600 from rsteube/cargo-fix-package
  • 48dbf55 Merge pull request #1601 from rsteube/doc-linkcheck
  • b7dac76 Merge pull request #1603 from rsteube/actioncarapacebin-fallback
  • 0a92b3c Merge pull request #1605 from rsteube/scp-missing-flags
  • ec4c0fc Merge pull request #1606 from rsteube/gum-update-0.10.0
  • 15fb11a Merge pull request #1607 from rsteube/add-chroma
  • 4815a84 Merge pull request #1608 from rsteube/chroma-style
  • 93ea6c5 Merge pull request #1609 from rsteube/doc-winget
  • 69823fd Merge pull request #1611 from rsteube/add-dpkg
  • a4f8630 Merge pull request #1612 from rsteube/bridge-custom-config
  • fdcb243 Merge pull request #1613 from rsteube/carapace-bridge
  • 4b266bf Merge pull request #1614 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.33.9
  • f75cbc8 Merge pull request #1615 from rsteube/rm-flags
  • b81151d Merge pull request #1616 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-bridge-0.0.10
  • 82cf722 Merge pull request #1618 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-bridge-0.0.15
  • c092b98 Merge pull request #1619 from rsteube/git-blame-files
  • 8774d07 Merge pull request #1620 from rsteube/update-bridge
  • 81893f5 Merge pull request #1621 from rsteube/doc-fix-url
  • bf7d893 Merge pull request #1622 from rsteube/git-blame-dash
  • 4732140 Merge pull request #1623 from rsteube/doc-bridge
  • ab5a93a Merge pull request #1624 from rsteube/update-bridge
  • c9d5ff4 Merge pull request #1625 from rsteube/fix-typo
  • 7eb96e7 Merge pull request #1626 from rsteube/update-terraform
  • e9aaed4 Merge pull request #1627 from rsteube/doc-specs
  • f8b371f Merge pull request #1628 from rsteube/terraform-bool-flags
  • 89645f2 Merge pull request #1629 from rsteube/terraform-state-resources
  • 5125498 Merge pull request #1630 from rsteube/terraform-usage
  • aed63ad Merge pull request #1631 from thatsmydoing/nix-shell
  • 97097f2 Merge pull request #1632 from thatsmydoing/nix-instantiate
  • 601b064 Merge pull request #1633 from rsteube/add-svgcleaner
  • a1707e4 Merge pull request #1634 from rsteube/gh-updates-2.26.0
  • 4b69fb1 Merge pull request #1636 from rsteube/dependabot/go_modules/golang.org/x/mod-0.10.0
  • 0d5d4cc Merge pull request #1637 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.34.0
  • 7bc35d4 Merge pull request #1639 from rsteube/remove-execute-funcs
  • 4afd250 Merge pull request #1640 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-bridge-0.0.19
  • 827820c Merge pull request #1641 from rsteube/gh-updates-2.27.0
  • 8fad43f Merge pull request #1642 from rsteube/update-bridge
  • ec4e445 Merge pull request #1644 from rsteube/tea-label
  • dc34686 Merge pull request #1645 from rsteube/tea-issue
  • cf2b19f Merge pull request #1646 from rsteube/tea-pullrequest
  • ed0630e added chroma
  • 91bb192 added dpkg
  • 73499fd added goimpors
  • cb3e71f added svgcleaner
  • 662783f added tea
  • 3e40785 added turbo
  • a795e7f build(deps): bump github.com/rsteube/carapace from 0.33.11 to 0.34.0
  • 2b08c5e build(deps): bump github.com/rsteube/carapace from 0.33.7 to 0.33.8
  • 2ea672c build(deps): bump github.com/rsteube/carapace from 0.33.8 to 0.33.9
  • da49445 build(deps): bump github.com/rsteube/carapace-bridge
  • 578e60b build(deps): bump github.com/rsteube/carapace-bridge
  • da772cf build(deps): bump github.com/rsteube/carapace-bridge
  • c69d3a8 build(deps): bump golang.org/x/mod from 0.9.0 to 0.10.0
  • 68e3539 carapace-bridge
  • 1febdb1 cargo: fix package completion
  • 6039550 cargo: updates from 1.68
  • c498b24 chroma: style completion
  • 4944b21 doc: added winget install
  • dd50677 doc: fix url for bridge macros
  • 99999af doc: re-enabled linkcheck
  • 0efb324 doc: updated bridge macros
  • 07585c1 doc: updated spec
  • 5b37d14 fix typo in example
  • c6c7b44 gh: repo clone - update dash action
  • 8dd1959 gh: updated help topics
  • db300c6 gh: updates from v2.25.0
  • 662d6ed gh: updates from v2.26.0
  • adf81cb gh: updates from v2.27.0
  • c916b65 git: blame - complete files of given ref and not local ones
  • 94bd3b9 git: blame - dash completion
  • 9c301ff git: filter-branch
  • 12770f4 git: fix notes completion
  • 0da625c git: notes
  • 1559ca6 git: rev-list
  • 0571047 gum: updates from v0.10.0
  • ebffe13 minikube: added groups
  • 359e66f nix-build: pass through --arg and --argstr for attribute completion
  • 0920872 nix-instantiate: add initial support
  • db1a3a4 nix-shell: add initial support
  • 4ad66c1 removed --bridge from carapace
  • fdb2c09 removed --spec flag
  • 0a859a6 removed flags
  • def5e49 removed turbo
  • 0f8fdc8 replace execute funcs with bridge action
  • 93b82a4 scp: added missing flags
  • fd17f48 systemctl: fix wrong environment action
  • b2009af systemctl: support user manager
  • ae888e4 sytemctl: added groups
  • 8669664 tea: complete pull requests
  • c89bfbf tea: issue completion
  • e1ae23e tea: label completion
  • 35b01a9 terraform updates from v1.4.2
  • 69e3d30 terraform: added groups
  • d5fec73 terraform: added usage
  • 28e6d5c terraform: complete state resources
  • fd1425a terraform: use bool flags
  • eca35c0 terragrunt: added groups
  • b217a1b updated carapace-bridge
  • 04b06c8 updated carapace-bridge
  • 74daab4 updated carapace-bridge

v0.23.0

19 Mar 18:17
c649b95
Compare
Choose a tag to compare

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]

asciicast

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

v0.22.0

02 Mar 21:04
9d9356e
Compare
Choose a tag to compare

Running Man

Specs now support a run field enabling cross shell aliases and simple nested custom commands.

Run

run can either contain an alias ([command, arg1, arg2]) which bridges completion or a shell macro ($(echo example)) with custom completions / flag parsing.

name: runnable
description: runnable spec
commands:
  -  name: sub1
     description: alias
     run: "[git, log]"

  -  name: sub2
     description: shell
     run: "$(git show $1)"
     completion:
       positional:
         - - "$(git branch --format '%(refname:short)\t%(subject)\tblue')"
           - "$(git tag --format '%(refname:short)\t\tyellow')"

  -  name: sub3
     description: shell with flags
     run: "$(git log --author \"${C_FLAG_AUTHOR}\" $1)"
     flags:
       -a, --author=: limit to author
     completion:
       flag:
         author: ["$(git shortlog --summary --email HEAD | sed -e 's/^.*\t//' -e 's/ </\t</')"]
       positional:
         - - "$(git branch --format '%(refname:short)\t%(subject)\tblue')"
           - "$(git tag --format '%(refname:short)\t\tyellow')"

asciicast

PATH

carapace _carapace now prepends ${UserConfigDir}/carapace/bin to PATH unless it already exists.

In nushell this needs to be done manually (see output of carapace _carapace nushell):

let-env PATH = ($env.PATH | prepend "/home/rsteube/.config/carapace/bin")

Shim

It also creates Shims in ${UserConfigDir}/carapace/bin to execute the specs.
For unix systems this is a simple shell script, but for windows an embedded binary is used.

#!/bin/sh
carapace --run "/home/rsteube/.config/carapace/specs/runnable.yaml" "$@"

The ${UserConfigDir}/carapace/bin directory is fully managed by carapace and unrelated files within it are removed.

Nargs

Initial support for flags consuming multiple arguments as seen in argparse and various nix commands.

XDG

XDG base directories for XDG_CACHE_HOME and XDG_CONFIG_HOME are now supported.

Changelog

  • 97b1359 Merge pull request #1506 from rsteube/nix-build-nargs
  • 80b4eca Merge pull request #1507 from rsteube/update-carapace
  • 2338f3b Merge pull request #1508 from rsteube/glab-1.24.1
  • 930e129 Merge pull request #1509 from rsteube/goreleaser-1.15.0
  • 439e5d8 Merge pull request #1510 from rsteube/git-ref-action
  • 3824f5e Merge pull request #1511 from rsteube/git-fix-prefix
  • e87a678 Merge pull request #1512 from rsteube/runnable-spec
  • b593eb7 Merge pull request #1513 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.33.4
  • 59ba571 Merge pull request #1514 from rsteube/gh-updates-v2.23.0
  • 96ededc Merge pull request #1515 from rsteube/dependabot/go_modules/golang.org/x/mod-0.8.0
  • 3a5a721 Merge pull request #1516 from honnip/master
  • a0a97ea Merge pull request #1517 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-spec-0.6.2
  • a96aeb8 Merge pull request #1518 from rsteube/nushell-shim-path
  • cea2f3c Merge pull request #1519 from rsteube/go-version-1.20
  • fda9e25 Merge pull request #1520 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-spec-0.6.5
  • 39f49be Merge pull request #1521 from rsteube/git-write-tree
  • 93429a1 Merge pull request #1522 from rsteube/git-show-branch
  • 3febe62 Merge pull request #1523 from rsteube/git-mergetool
  • 870f611 Merge pull request #1524 from rsteube/git-mktag
  • bccfb45 Merge pull request #1525 from rsteube/git-cherry
  • a41b9ba Merge pull request #1526 from rsteube/git-move-actions
  • 436c49a Merge pull request #1527 from rsteube/add-rust-analyzer
  • de8375f Merge pull request #1528 from rsteube/compose-updates-2.17
  • d6e9f1c Merge pull request #1530 from rsteube/add-config-env
  • 9d9356e Merge pull request #1531 from rsteube/add-conda-content-trust
  • 0a5522d added conda-content-trust
  • bfc7cbd added conda-env
  • 8a1f6a2 added rust-analyzer
  • 4687242 build(deps): bump github.com/rsteube/carapace from 0.33.1 to 0.33.4
  • e93e2e3 build(deps): bump github.com/rsteube/carapace-spec from 0.5.3 to 0.6.2
  • 0d9144e build(deps): bump github.com/rsteube/carapace-spec from 0.6.4 to 0.6.5
  • 3c463d6 build(deps): bump golang.org/x/mod from 0.7.0 to 0.8.0
  • 6228dad compose: updates from 2.17
  • 30ee35f fix: setup changes since nushell 0.72 https://www.nushell.sh/blog/2022-11-29-nushell-0.72.html
  • 6bb9982 gh: updates from v2.23.0
  • 0f66561 git: cherry
  • f3a2466 git: complete recent commits across all branches
  • 7dc8e73 git: fix head commit prefix
  • 0a49d11 git: mergetool
  • 690f9d8 git: mktag
  • 003af01 git: move actions
  • e0ee282 git: show-branch
  • c5634dc git: write-tree
  • 813b9f7 glab: updates from 1.24.1
  • 53e3398 go: add 1.20 to versions
  • 7dba349 goreleaser: updates from 1.15.0
  • 5706f4e nix-build: support nargs
  • 13a3494 nushell: update example with shim PATH
  • 60fee6f runnable spec
  • 5f1ad90 updated carapace

v0.21.0

29 Jan 10:48
fc79710
Compare
Choose a tag to compare

Heart Transplant

Replaced command traversal with a full rewrite.
This provides more fine-grained control and improved logging.
It is a complex core component though and while tests are looking good so far some edge cases are likely to fail.

Logging

Improved logging output (export CARAPACE_LOG=1):

// /tmp/carapace/carapace.log
2023/01/29 11:46:28.310133 elvish []string{"/home/rsteube/go/bin/carapace", "_carapace", "elvish", "git", "-C", "../carapace-bin/", "log", "--author", ""}
2023/01/29 11:46:28.310165 elvish traverse called for "git" with args []string{"-C", "../carapace-bin/", "log", "--author", ""}
2023/01/29 11:46:28.310167 elvish executing PreRun for "git" with args []string{"-C", "../carapace-bin/", "log", "--author", ""}
2023/01/29 11:46:28.310185 elvish arg "-C" is a flag
2023/01/29 11:46:28.310207 elvish arg "../carapace-bin/" is a flag argument
2023/01/29 11:46:28.310210 elvish arg "log" is a subcommand
2023/01/29 11:46:28.310211 elvish parsing flags for "git" with args []string{"-C", "../carapace-bin/"}
2023/01/29 11:46:28.310215 elvish traverse called for "log" with args []string{"--author", ""}
2023/01/29 11:46:28.310247 elvish arg "--author" is a flag
2023/01/29 11:46:28.310259 elvish removing arg "--author" since it is a flag missing its argument
2023/01/29 11:46:28.310260 elvish parsing flags for "log" with args []string{}
2023/01/29 11:46:28.310262 elvish completing flag argument of "author" for arg ""

Yargs

Added bridge for yargs:

name: ng
description: CLI tool for Angular
completion:
  positionalany: ["$_bridge.Yargs(ng)"]

Changelog

  • cb6a378 ActionPosener: renamed to ActionComplete
  • 068eff1 ActionYargs: fix completion
  • 6534f09 ActionYargs: updated example
  • 34eb455 Merge pull request #1488 from rsteube/update-carapace
  • 6d26e23 Merge pull request #1489 from rsteube/gh-body-emoji
  • 0d2b71e Merge pull request #1491 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-spec-0.5.3
  • f6ad8b4 Merge pull request #1492 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.32.3
  • 7e37051 Merge pull request #1493 from rsteube/update-carapace
  • 608d04b Merge pull request #1494 from rsteube/gh-updates-2.22.0
  • a44b315 Merge pull request #1495 from rsteube/bridge-yargs
  • 9111192 Merge pull request #1496 from rsteube/fix-yargs
  • 9363233 Merge pull request #1497 from rsteube/rename-posener
  • 967d9ca Merge pull request #1498 from rsteube/yargs-example
  • d63023e Merge pull request #1499 from rsteube/update-carapace
  • e096031 Merge pull request #1500 from rsteube/gum-spin-embed
  • 3c5df3e Merge pull request #1501 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.32.6
  • 77059c2 Merge pull request #1502 from rsteube/gum-spin-dash
  • 74794f0 Merge pull request #1503 from rsteube/gh-updates-v2.22.1
  • 23b38ba Merge pull request #1504 from rsteube/ln-backup
  • fc79710 Merge pull request #1505 from rsteube/gh-release-version
  • c16000a added yargs bridge
  • 9a1e4e0 build(deps): bump github.com/rsteube/carapace from 0.32.2 to 0.32.3
  • 0800099 build(deps): bump github.com/rsteube/carapace from 0.32.5 to 0.32.6
  • 75f0b5a build(deps): bump github.com/rsteube/carapace-spec from 0.5.2 to 0.5.3
  • b786fed gh: emoji completion in body
  • 1dd76fd gh: release - complete next semantic version
  • 561b8a8 gh: updates from v2.22.0
  • bf7c622 gh: updates from v2.22.1
  • d0814bf gum: spin - dash completion
  • 39570c8 gum: spin - use EmbedCarapaceBin
  • d6a8957 ln: fix backup flag (optarg)
  • 74fe1a6 updated carapace
  • dfea6a5 updated carapace to v0.32.1
  • d7a6d78 updated carapace to v0.32.4

v0.20.3

20 Jan 12:33
e46d166
Compare
Choose a tag to compare

Changelog

  • 6d4ca68 ActionArgcomplete: fix partial positional not being completed
  • 0e66bbb Merge pull request #1480 from thatsmydoing/nix-build
  • 6befe94 Merge pull request #1481 from thatsmydoing/escape-macro-description
  • 86e2652 Merge pull request #1482 from rsteube/tail-descriptions
  • 474bf17 Merge pull request #1483 from rsteube/gh-run-view-json
  • 726e2bc Merge pull request #1484 from rsteube/nix-path-nospace
  • 7fb0109 Merge pull request #1485 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-spec-0.5.2
  • e46d166 Merge pull request #1487 from rsteube/argcomplete-fix-partial-positional
  • a602e05 build(deps): bump github.com/rsteube/carapace-spec from 0.5.1 to 0.5.2
  • 7bd5891 generate: properly escape macro descriptions
  • f1bf969 gh: run view - fix json completion
  • 49ac640 nix-build: add initial support
  • 74b3a0f nix: ActionPaths - fix nospace
  • 617b13c nix: apply channel prefix as needed
  • ed28284 tail: added missing descriptions

v0.20.2

15 Jan 00:34
44f5a13
Compare
Choose a tag to compare

Changelog

  • 00a4ddd Merge pull request #1477 from rsteube/update-spec
  • 44f5a13 Merge pull request #1478 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-spec-0.5.1
  • c740193 build(deps): bump github.com/rsteube/carapace-spec from 0.5.0 to 0.5.1
  • c9c96fb updated carapace-spec

v0.20.1

13 Jan 19:04
bd4810f
Compare
Choose a tag to compare

Changelog

  • bd4810f Merge pull request #1476 from rsteube/fix-generate
  • 8fad444 generate: fix external usage

v0.20.0

13 Jan 18:14
ca3c18f
Compare
Choose a tag to compare

Blinkers

Export

Contains breaking changes on the export format.
Since there is no backward compability any embedded external carapace based completion must be >= v0.31.0.

Lenient

When environment variable CARAPACE_LENIENT is set (e.g. export CARAPACE_LENIENT=1) unknown flags are ignored.
Completers are supposed to be aware of all existing flags but can out of date or not yet working correctly.
This can be used to suppress the errors until issues are fixed.

Changelog

  • fd8e660 Action256Colors: fix color numbers
  • f5b2f6c Merge pull request #1465 from rsteube/docker-hide-legacy
  • 58d7698 Merge pull request #1466 from rsteube/docker-update-commands
  • 3612c48 Merge pull request #1467 from rsteube/docker-compose-update
  • 40e3cbb Merge pull request #1468 from rsteube/go-tidy
  • 48635f4 Merge pull request #1469 from rsteube/docker-buildx-updates
  • 0ec047b Merge pull request #1470 from rsteube/gh-extension-group
  • 770d472 Merge pull request #1471 from rsteube/gh-alias-completion
  • 3b0efd2 Merge pull request #1472 from rsteube/gum-updated-0.9.0
  • ec3aa82 Merge pull request #1473 from rsteube/gum-emoji
  • ca3c18f Merge pull request #1474 from rsteube/fix-256-colors
  • 21be783 Merge pull request #1475 from rsteube/update
  • e7c0ab4 docker-buildx: updates from v0.9.1
  • 622ee61 docker-compose: updates from 2.15.0
  • 122e6b5 docker: hide legacy commands
  • 0ed0010 docker: updated commands
  • 34e1f3e gh: added alias argument completion
  • 34b7b0e gh: added extension command group
  • 10ead2d go: tidy - added missing flags
  • 110b88d gum: added emoji completion
  • 5c28e27 gum: updates from v0.9.0
  • 9b651dc udpated carapace and carapace-spec

v0.19.1

02 Jan 15:56
e3a77fe
Compare
Choose a tag to compare

Changelog

  • 6627271 Merge pull request #1447 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.29.2
  • 4065352 Merge pull request #1449 from rsteube/gradle-group
  • 28b9c80 Merge pull request #1450 from rsteube/style-tags
  • d6069b6 Merge pull request #1451 from rsteube/add-gitui
  • e748b90 Merge pull request #1452 from rsteube/cargo-groups
  • f984bf9 Merge pull request #1453 from rsteube/glab-update
  • 4c5b32c Merge pull request #1454 from rsteube/carg-doc-alias
  • 48ddab2 Merge pull request #1455 from rsteube/add-viu
  • 10aa39f Merge pull request #1456 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.29.3
  • f85ebab Merge pull request #1457 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-spec-0.3.1
  • e6e0058 Merge pull request #1458 from rsteube/gh-updates-v2.21.0
  • ac187e4 Merge pull request #1459 from rsteube/gh-dash-flags
  • a267347 Merge pull request #1460 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.29.4
  • 46193f3 Merge pull request #1462 from rsteube/update-carapace
  • 67e057d Merge pull request #1463 from rsteube/git-extras-authors
  • e3a77fe Merge pull request #1464 from rsteube/add-git-info
  • 4889388 added git-archive-file and git-authors
  • b8bf031 added git-info
  • 8a29a04 added gitui
  • 8ab2c92 added more tags
  • 8a72c59 added viu
  • b0671cb build(deps): bump github.com/rsteube/carapace from 0.29.1 to 0.29.2
  • 94dc0fa build(deps): bump github.com/rsteube/carapace from 0.29.2 to 0.29.3
  • b57e3a8 build(deps): bump github.com/rsteube/carapace from 0.29.3 to 0.29.4
  • c16e6e4 build(deps): bump github.com/rsteube/carapace-spec from 0.3.0 to 0.3.1
  • 6560898 cargo: added command groups
  • ff69a19 cargo: doc - added missing alias
  • 116fdb3 gh-dash: added config flag
  • 43e103e gh: updates from v2.21.0
  • 37966f3 glab: updated commands
  • 14f5d04 gradle: group tasks
  • fa19b0f style: added tags
  • 9f613df updated carapace to v0.30.0

v0.19.0

14 Dec 20:34
4c6b368
Compare
Choose a tag to compare

Group Therapy

Error messages

Multiple error message are now supported.
In elvish and zsh these are shown separate from the completion values.

errormessage

Usage message

Added Usage message which defaults to flag description / command usage.
This is only supported in elvish and zsh.
Since notifications are persistent in elvish it is only shown when there are no values to complete.

usagemessage

Tags

Completion values can now be tagged. Based on this they are grouped in zsh.

tag

Command groups

Subcommands can now be grouped and will be highlighted in different colors.

taggroup

Group names

Group names can be shown in zsh with the following zstyle.

zstyle ':completion:*' format $'\e[2;37mCompleting %d\e[m'

Group ordering

Order of the groups can be configured in zsh with the following zstyle.

zstyle ':completion:*:git:*' group-order 'main commands' 'alias commands' 'external commands'

_describe

_describe is now used in zsh which enables the grouping of tags.
With this aliased commands and flags are now also arranged side by side.

describe

Changelog

  • 400ecdb Merge pull request #1433 from rsteube/docs-nix-install
  • 9f32da2 Merge pull request #1434 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.28.0
  • a5fae2f Merge pull request #1435 from rsteube/gh-body-file
  • 16bb512 Merge pull request #1436 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.28.1
  • 3e8ac7a Merge pull request #1437 from rsteube/http-fix-multiparts-completion
  • 908b604 Merge pull request #1438 from rsteube/add-delta
  • 939aeb1 Merge pull request #1439 from rsteube/go-work
  • c458349 Merge pull request #1440 from rsteube/add-newrelic
  • 5f48bcb Merge pull request #1441 from rsteube/git-headcommits-tag
  • 9d5cfcf Merge pull request #1442 from rsteube/git-groups
  • 3081d80 Merge pull request #1443 from rsteube/dependabot/go_modules/github.com/rsteube/carapace-0.29.1
  • 35adbd6 Merge pull request #1444 from rsteube/docker-tags
  • 4c6b368 Merge pull request #1446 from rsteube/termux
  • 9d39bc0 Update bug_report.md
  • ce7ad2f added delta
  • df07ea1 added newrelic
  • e4390cc build(deps): bump github.com/rsteube/carapace from 0.27.0 to 0.28.0
  • 28a43d8 build(deps): bump github.com/rsteube/carapace from 0.28.0 to 0.28.1
  • 37845f4 build(deps): bump github.com/rsteube/carapace from 0.28.1 to 0.29.1
  • 4a02c08 doc: updated nix installation
  • 037fb7e docker: added tags
  • b26fa18 gh: added missing body-file completion
  • 25a64e2 git: added command groups
  • c3e9291 git: separate tag for headcommits
  • 69fdde4 go: added work command
  • ab7f9f7 goreleaser: added termux packaging
  • 1349b97 http: fix multiparts completion