Skip to content

Commit

Permalink
Merge pull request #316 from carapace-sh/selfupdate
Browse files Browse the repository at this point in the history
added selfupdate
  • Loading branch information
rsteube authored Nov 30, 2024
2 parents 3ef5523 + 7f0494f commit bdcc0b6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
9 changes: 9 additions & 0 deletions cmd/carapace-spec/cmd/selfupdate.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package cmd

import selfupdate "github.com/carapace-sh/carapace-selfupdate"

var selfupdateCmd = selfupdate.Command("carapace-sh", "carapace-spec")

func init() {
rootCmd.AddCommand(selfupdateCmd)
}
3 changes: 2 additions & 1 deletion cmd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ go 1.23.1
replace github.com/carapace-sh/carapace-spec => ../

require (
github.com/carapace-sh/carapace v1.4.0
github.com/carapace-sh/carapace v1.5.0
github.com/carapace-sh/carapace-selfupdate v0.0.5
github.com/carapace-sh/carapace-spec v0.0.0-00010101000000-000000000000
github.com/invopop/jsonschema v0.12.0
github.com/spf13/cobra v1.8.1
Expand Down
6 changes: 4 additions & 2 deletions cmd/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPn
github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xWbdbCW3pNTGyYg=
github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs=
github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
github.com/carapace-sh/carapace v1.4.0 h1:GoCzicKhRgf7/BYZAS/pCBrU3dU4vzISn5XenuOgSh8=
github.com/carapace-sh/carapace v1.4.0/go.mod h1:djegtVDi/3duSAqZNU+/nCq7XtDRMRZUb5bW0O/HnEs=
github.com/carapace-sh/carapace v1.5.0 h1:rjNMTo5sY3YybMKbzEuaM19HEG6JXhvCTOrioV0QUHY=
github.com/carapace-sh/carapace v1.5.0/go.mod h1:djegtVDi/3duSAqZNU+/nCq7XtDRMRZUb5bW0O/HnEs=
github.com/carapace-sh/carapace-pflag v1.0.0 h1:uJMhl+vwEM/Eb0UdxZUuv4jo4rUAyPijkRGP5gfCuCE=
github.com/carapace-sh/carapace-pflag v1.0.0/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/carapace-sh/carapace-selfupdate v0.0.5 h1:Th7PtHlS2Kuhs1Kn+qskVoGWaPKFCwbvDrU4bVQA43c=
github.com/carapace-sh/carapace-selfupdate v0.0.5/go.mod h1:gyvAPrYpUU6pCgH+Mox+LTotxCQmUTHl+u/g4j/H9aQ=
github.com/carapace-sh/carapace-shlex v1.0.1 h1:ww0JCgWpOVuqWG7k3724pJ18Lq8gh5pHQs9j3ojUs1c=
github.com/carapace-sh/carapace-shlex v1.0.1/go.mod h1:lJ4ZsdxytE0wHJ8Ta9S7Qq0XpjgjU0mdfCqiI2FHx7M=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
Expand Down

0 comments on commit bdcc0b6

Please sign in to comment.