diff --git a/.goreleaser.yml b/.goreleaser.yml index 90d5bfe..c01b79d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -33,7 +33,7 @@ brews: - name: carapace-bridge description: "completion bridge" - homepage: "https://github.com/rsteube/carapace-bridge" + homepage: "https://github.com/carapace-sh/carapace-bridge" license: "MIT" tap: owner: rsteube @@ -42,7 +42,7 @@ brews: commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" scoop: description: "completion bridge" - homepage: "https://github.com/rsteube/carapace-bridge" + homepage: "https://github.com/carapace-sh/carapace-bridge" license: "MIT" bucket: owner: rsteube @@ -52,7 +52,7 @@ scoop: aurs: - description: "completion bridge" - homepage: "https://github.com/rsteube/carapace-bridge" + homepage: "https://github.com/carapace-sh/carapace-bridge" license: "MIT" maintainers: - rsteube @@ -62,7 +62,7 @@ aurs: nfpms: - description: "completion bridge" - homepage: "https://github.com/rsteube/carapace-bridge" + homepage: "https://github.com/carapace-sh/carapace-bridge" license: "MIT" maintainer: rsteube formats: diff --git a/README.md b/README.md index ddc5caa..ce413e6 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Coverage Status](https://coveralls.io/repos/github/carapace-sh/carapace-bridge/badge.svg?branch=master)](https://coveralls.io/github/carapace-sh/carapace-bridge?branch=master) [![Packaging status](https://repology.org/badge/tiny-repos/carapace-bridge.svg)](https://repology.org/project/carapace-bridge/versions) -Invokes completion of various frameworks and provides bridge actions for [carapace-bin](https://github.com/rsteube/carapace-bin). +Invokes completion of various frameworks and provides bridge actions for [carapace-bin](https://github.com/carapace-sh/carapace-bin). [![asciicast](https://asciinema.org/a/574303.svg)](https://asciinema.org/a/574303) @@ -13,7 +13,7 @@ Supported inputs: - [argcomplete](https://github.com/kislyuk/argcomplete) - [bash](https://www.gnu.org/software/bash/) - [carapace](https://github.com/carapace-sh/carapace) -- [carapace-bin](https://github.com/rsteube/carapace-bin/) +- [carapace-bin](https://github.com/carapace-sh/carapace-bin/) - [clap](https://github.com/clap-rs/clap) - [click](https://github.com/pallets/click) - [cobra](https://github.com/spf13/cobra) diff --git a/go.mod b/go.mod index 9fc8188..0b89c96 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module github.com/carapace-sh/carapace-bridge go 1.21 require ( - github.com/carapace-sh/carapace v0.50.3-0.20240311152955-f3bd62ff6a23 - github.com/carapace-sh/carapace-shlex v0.2.0 + github.com/carapace-sh/carapace v1.0.0 + github.com/carapace-sh/carapace-shlex v1.0.0 github.com/spf13/cobra v1.8.0 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index af921e3..e2fdc1f 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ -github.com/carapace-sh/carapace v0.50.3-0.20240311152955-f3bd62ff6a23 h1:WPTH+2KVYPOOCjaFSl5u67Ixkj0Inir00eacQNZ2HUA= -github.com/carapace-sh/carapace v0.50.3-0.20240311152955-f3bd62ff6a23/go.mod h1:UxflttCmX+TRfsKqA0I0cEQFn2rvwGp6iTGyO8oS4NY= -github.com/carapace-sh/carapace-shlex v0.2.0 h1:rh2wprc8Cszf4MZV+99t9vH6wblz7zlN/3C/v7Xl0Ck= -github.com/carapace-sh/carapace-shlex v0.2.0/go.mod h1:lJ4ZsdxytE0wHJ8Ta9S7Qq0XpjgjU0mdfCqiI2FHx7M= +github.com/carapace-sh/carapace v1.0.0 h1:O4XTxBjrmDG15PeSnBRvu5RdwA5Khd1k/yF6VD4sHHY= +github.com/carapace-sh/carapace v1.0.0/go.mod h1:4caYCCdFoKqiBFD8t8rxuxzgVXk9bnP/aSBOplTd1Gk= +github.com/carapace-sh/carapace-shlex v1.0.0 h1:uUi+hovGpxWF6KjptrqAOHsFPT3mcMx0JKdq20hswDI= +github.com/carapace-sh/carapace-shlex v1.0.0/go.mod h1:lJ4ZsdxytE0wHJ8Ta9S7Qq0XpjgjU0mdfCqiI2FHx7M= github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= diff --git a/pkg/actions/bridge/carapace.go b/pkg/actions/bridge/carapace.go index 371e98b..e3b7da5 100644 --- a/pkg/actions/bridge/carapace.go +++ b/pkg/actions/bridge/carapace.go @@ -76,7 +76,7 @@ func actionCommand(command ...string) func(f func(command ...string) carapace.Ac } } -// ActionCarapace bridges macros exposed with https://github.com/rsteube/carapace-bin +// ActionCarapace bridges macros exposed with https://github.com/carapace-sh/carapace-bin func ActionMacro(command ...string) carapace.Action { return actionCommand(command...)(func(command ...string) carapace.Action { return carapace.ActionCallback(func(c carapace.Context) carapace.Action {