Skip to content

Commit

Permalink
cloudformation-guard: add shell 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 19, 2024
1 parent 19f792d commit 6ecc978
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/c/cloudformation-guard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class CloudformationGuard < Formula
def install
system "cargo", "install", *std_cargo_args(path: "guard")

generate_completions_from_executable(bin/"cfn-guard", "completions", "--shell", base_name: "cfn-guard")

doc.install "docs"
doc.install "guard-examples"
end
Expand Down

0 comments on commit 6ecc978

Please sign in to comment.