httpie: add completions

Closes #110102.

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 14:46:48 +02:00 committed by BrewTestBot
parent caed882120
commit f963dfd9db
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 6 additions and 2 deletions

View File

@ -3,8 +3,8 @@ class Httpie < Formula
desc "User-friendly cURL replacement (command-line HTTP client)"
homepage "https://httpie.io/"
url "https://files.pythonhosted.org/packages/e9/38/e94dac67b61f4dab49c1d26dd47e0b13be8c69c8c1c4fad5a4a87de1d647/httpie-3.2.1.tar.gz"
sha256 "c9c0032ca3a8d62492b7231b2dd83d94becf3b71baf8a4bbcd9ed1038537e3ec"
url "https://github.com/httpie/httpie/archive/refs/tags/3.2.1.tar.gz"
sha256 "803e1624e005c2f7002802a77ebc687b05375aca76af42639f844405328633eb"
license "BSD-3-Clause"
head "https://github.com/httpie/httpie.git", branch: "master"
@ -92,6 +92,9 @@ class Httpie < Formula
man1.install_symlink libexec/"share/man/man1/http.1"
man1.install_symlink libexec/"share/man/man1/https.1"
man1.install_symlink libexec/"share/man/man1/httpie.1"
bash_completion.install "extras/httpie-completion.bash" => "httpie"
fish_completion.install "extras/httpie-completion.fish" => "httpie.fish"
end
test do

View File

@ -193,6 +193,7 @@
"howdoi": {
"exclude_packages": ["six"]
},
"httpie": "httpie",
"http-prompt": {
"exclude_packages": ["six"]
},