excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / sfdx.rb
blob3095c7cecf42a1b1acba82644a19ed1471b44be0
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   deprecate! date: "2023-12-17", 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