mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
36 lines
734 B
Ruby
36 lines
734 B
Ruby
cask "sfdx" do
|
|
arch arm: "arm64", intel: "x64"
|
|
|
|
version "7.209.6"
|
|
sha256 :no_check
|
|
|
|
url "https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-#{arch}.pkg"
|
|
name "Salesforce DX CLI"
|
|
desc "SalesForce CLI tools"
|
|
homepage "https://developer.salesforce.com/tools/sfdxcli"
|
|
|
|
pkg "sfdx-#{arch}.pkg"
|
|
|
|
uninstall pkgutil: [
|
|
"com.salesforce.cli",
|
|
"com.salesforce.developer.cli",
|
|
],
|
|
delete: "/usr/local/bin/sfdx"
|
|
|
|
zap trash: [
|
|
"~/.cache/sfdx",
|
|
"~/.config/sfdx",
|
|
"~/.local/share/sfdx",
|
|
]
|
|
|
|
caveats do
|
|
discontinued
|
|
|
|
<<~EOS
|
|
`sf` is the official successor to this software
|
|
|
|
brew install --cask sf
|
|
EOS
|
|
end
|
|
end
|