Merge pull request #200213 from Homebrew/bump-tidelift-1.14.0
[Homebrew/homebrew-cask.git] / Casks / s / sfdx.rb
blob1940270b2330a0d9003bccb5ff3b64f57a70f6b3
1 cask "sfdx" do
2   arch arm: "arm64", intel: "x64"
4   version "7.209.6"
5   sha256 :no_check
7   url "https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-#{arch}.pkg"
8   name "Salesforce DX CLI"
9   desc "SalesForce CLI tools"
10   homepage "https://developer.salesforce.com/tools/sfdxcli"
12   disable! date: "2024-12-16", because: :discontinued
14   pkg "sfdx-#{arch}.pkg"
16   uninstall pkgutil: [
17               "com.salesforce.cli",
18               "com.salesforce.developer.cli",
19             ],
20             delete:  "/usr/local/bin/sfdx"
22   zap trash: [
23     "~/.cache/sfdx",
24     "~/.config/sfdx",
25     "~/.local/share/sfdx",
26   ]
28   caveats do
29     <<~EOS
30       `sf` is the official successor to this software
32         brew install --cask sf
33     EOS
34   end
35 end