1 cask "yandex-cloud-cli" do
5 url "https://storage.yandexcloud.net/yandexcloud-yc/install.sh",
6 verified: "yandexcloud.net/yandexcloud-yc/"
7 name "Yandex Cloud CLI"
8 desc "CLI for Yandex Cloud"
9 homepage "https://cloud.yandex.com/docs/cli/"
12 url "https://storage.yandexcloud.net/yandexcloud-yc/release/stable"
13 regex(/^v?(\d+(?:\.\d+)+)$/i)
17 executable: "install.sh",
18 args: ["-i", "#{staged_path}/#{token}", "-r", "/dev/null"],
20 binary "yandex-cloud-cli/bin/docker-credential-yc"
21 binary "yandex-cloud-cli/bin/yc"
22 binary "yandex-cloud-cli/completion.zsh.inc",
23 target: "#{HOMEBREW_PREFIX}/share/zsh/site-functions/_yc"
24 binary "yandex-cloud-cli/completion.bash.inc",
25 target: "#{HOMEBREW_PREFIX}/etc/bash_completion.d/yc"
27 uninstall delete: "#{staged_path}/#{token}"
29 zap trash: "~/.config/yandex-cloud"
32 To install shell completions add this to your profile:
35 source "#{staged_path}/#{token}/completion.bash.inc"
38 source "#{staged_path}/#{token}/completion.zsh.inc"