From 6430b670d461445db87f0013d5bfe405f6f50f3e Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 19 Dec 2024 00:26:37 -0500 Subject: [PATCH] minijinja-cli: add shell completion support Signed-off-by: Rui Chen --- Formula/m/minijinja-cli.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/m/minijinja-cli.rb b/Formula/m/minijinja-cli.rb index 1057412a9ded4..762f976ed6bc5 100644 --- a/Formula/m/minijinja-cli.rb +++ b/Formula/m/minijinja-cli.rb @@ -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