dasel: add completions

Closes #111364.

Signed-off-by: Branch Vincent <19800529+branchvincent@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Max Eisner 2022-09-09 21:25:37 +02:00 committed by BrewTestBot
parent 3f4392689d
commit 97110bd043
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 2 additions and 0 deletions

View File

@ -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