diff --git a/Formula/dasel.rb b/Formula/dasel.rb index 6b41dccdd27..30c6750e4d0 100644 --- a/Formula/dasel.rb +++ b/Formula/dasel.rb @@ -20,6 +20,8 @@ class Dasel < Formula def install ldflags = "-X 'github.com/tomwright/dasel/internal.Version=#{version}'" system "go", "build", *std_go_args(ldflags: ldflags), "./cmd/dasel" + + generate_completions_from_executable(bin/"dasel", "completion") end test do