-
Notifications
You must be signed in to change notification settings - Fork 2
/
kurtosis-cli.rb
70 lines (62 loc) · 2.74 KB
/
kurtosis-cli.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class KurtosisCli < Formula
desc "CLI for managing Kurtosis environments."
homepage "https://www.kurtosistech.com"
version "1.4.3"
license "Apache-2.0"
on_macos do
on_intel do
url "https://github.com/kurtosis-tech/kurtosis-cli-release-artifacts/releases/download/1.4.3/kurtosis-cli_1.4.3_darwin_amd64.tar.gz"
sha256 "43ceb8386056a83a0f2dc319b04ec7bae32c5add8009244953de705e86397444"
def install
bin.install "kurtosis"
bash_completion.install "scripts/completions/scripts/kurtosis.bash" => "kurtosis"
zsh_completion.install "scripts/completions/scripts/kurtosis.zsh" => "_kurtosis"
fish_completion.install "scripts/completions/scripts/kurtosis.fish"
end
end
on_arm do
url "https://github.com/kurtosis-tech/kurtosis-cli-release-artifacts/releases/download/1.4.3/kurtosis-cli_1.4.3_darwin_arm64.tar.gz"
sha256 "8d49b136ed82788b514a576a0bd23682edefb69d1a14008846d59c2419846ee1"
def install
bin.install "kurtosis"
bash_completion.install "scripts/completions/scripts/kurtosis.bash" => "kurtosis"
zsh_completion.install "scripts/completions/scripts/kurtosis.zsh" => "_kurtosis"
fish_completion.install "scripts/completions/scripts/kurtosis.fish"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/kurtosis-tech/kurtosis-cli-release-artifacts/releases/download/1.4.3/kurtosis-cli_1.4.3_linux_amd64.tar.gz"
sha256 "5c00e5927e0be033c04926c46b0aa14f90b313ff759ce0379e185e93a8771c18"
def install
bin.install "kurtosis"
bash_completion.install "scripts/completions/scripts/kurtosis.bash" => "kurtosis"
zsh_completion.install "scripts/completions/scripts/kurtosis.zsh" => "_kurtosis"
fish_completion.install "scripts/completions/scripts/kurtosis.fish"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/kurtosis-tech/kurtosis-cli-release-artifacts/releases/download/1.4.3/kurtosis-cli_1.4.3_linux_arm64.tar.gz"
sha256 "22ee4f8b162852dc951fab063a8590cfc867bee5d917aa38bc5b4ec7709e3758"
def install
bin.install "kurtosis"
bash_completion.install "scripts/completions/scripts/kurtosis.bash" => "kurtosis"
zsh_completion.install "scripts/completions/scripts/kurtosis.zsh" => "_kurtosis"
fish_completion.install "scripts/completions/scripts/kurtosis.fish"
end
end
end
end
def caveats
<<~EOS
The kurtosis CLI is installed with tab completion support. For more details visit https://docs.kurtosis.com/.
EOS
end
end