Skip to content

Commit

Permalink
minijinja-cli: 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 6430b67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/m/minijinja-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class MinijinjaCli < Formula

def install
system "cargo", "install", *std_cargo_args(path: "minijinja-cli")

generate_completions_from_executable(bin/"minijinja-cli", "--generate-completion")
end

test do
Expand Down

0 comments on commit 6430b67

Please sign in to comment.