homebrew-cask/Casks/1password-cli.rb

17 lines
566 B
Ruby

cask '1password-cli' do
version '0.8.0'
sha256 '50e340049867df058ee9dc08bc0b722c93e0e9e463238bbe2042f09793d6642b'
# cache.agilebits.com/dist/1P/op/pkg was verified as official when first introduced to the cask
url "https://cache.agilebits.com/dist/1P/op/pkg/v#{version}/op_darwin_amd64_v#{version}.pkg"
appcast 'https://app-updates.agilebits.com/product_history/CLI'
name '1Password CLI'
homepage 'https://support.1password.com/command-line/'
pkg "op_darwin_amd64_v#{version}.pkg"
uninstall pkgutil: 'com.1password.op'
zap trash: '~/.op'
end