17 lines
566 B
Ruby
17 lines
566 B
Ruby
cask '1password-cli' do
|
|
version '0.9.4'
|
|
sha256 'b22238cc2c981abda2e59cb55396b34d95996c52f41f62de1c4903f77477eb3b'
|
|
|
|
# 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
|