Skip to content

Commit

Permalink
kor: add completion support
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 4, 2024
1 parent 10553fb commit 0716c09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/k/kor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class Kor < Formula

def install
system "go", "build", *std_go_args(ldflags: "-s -w")

generate_completions_from_executable(bin/"kor", "completion")
end

test do
Expand Down

0 comments on commit 0716c09

Please sign in to comment.