-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brew formula update for cli version cli-v6.12.6
- Loading branch information
1 parent
8732209
commit 63fa2e8
Showing
1 changed file
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
# This file was generated by GoReleaser. DO NOT EDIT. | ||
class CloudqueryAT6126 < Formula | ||
desc "Easily monitor and ask questions about your infrastructure." | ||
homepage "https://cloudquery.io" | ||
version "6.12.6" | ||
|
||
on_macos do | ||
on_intel do | ||
url "https://github.com/cloudquery/cloudquery/releases/download/cli-v6.12.6/cloudquery_darwin_amd64.zip" | ||
sha256 "68bb7a8baec56618346eb60a7809d388c998977112542d2c9eb0196b709da620" | ||
|
||
def install | ||
bin.install "cloudquery" | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "bash") | ||
(bash_completion/"cloudquery").write output | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "zsh") | ||
(zsh_completion/"_cloudquery").write output | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "fish") | ||
(fish_completion/"cloudquery.fish").write output | ||
end | ||
end | ||
on_arm do | ||
url "https://github.com/cloudquery/cloudquery/releases/download/cli-v6.12.6/cloudquery_darwin_arm64.zip" | ||
sha256 "a12c3cd37e2208d08af05c0913c02d19a8eccdd6183e950d147f1d59c52e307f" | ||
|
||
def install | ||
bin.install "cloudquery" | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "bash") | ||
(bash_completion/"cloudquery").write output | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "zsh") | ||
(zsh_completion/"_cloudquery").write output | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "fish") | ||
(fish_completion/"cloudquery.fish").write output | ||
end | ||
end | ||
end | ||
|
||
on_linux do | ||
on_intel do | ||
if Hardware::CPU.is_64_bit? | ||
url "https://github.com/cloudquery/cloudquery/releases/download/cli-v6.12.6/cloudquery_linux_amd64.zip" | ||
sha256 "8d3fca6c5934184adc703ff301ec87a2d9eb9db39def48ac747cb93a655def82" | ||
|
||
def install | ||
bin.install "cloudquery" | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "bash") | ||
(bash_completion/"cloudquery").write output | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "zsh") | ||
(zsh_completion/"_cloudquery").write output | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "fish") | ||
(fish_completion/"cloudquery.fish").write output | ||
end | ||
end | ||
end | ||
on_arm do | ||
if Hardware::CPU.is_64_bit? | ||
url "https://github.com/cloudquery/cloudquery/releases/download/cli-v6.12.6/cloudquery_linux_arm64.zip" | ||
sha256 "c5dab0e9793f91e7aa09c76f2b99574063f1d3f422312b79d1a2589f21817790" | ||
|
||
def install | ||
bin.install "cloudquery" | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "bash") | ||
(bash_completion/"cloudquery").write output | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "zsh") | ||
(zsh_completion/"_cloudquery").write output | ||
output = Utils.safe_popen_read("#{bin}/cloudquery", "completion", "fish") | ||
(fish_completion/"cloudquery.fish").write output | ||
end | ||
end | ||
end | ||
end | ||
end |