Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a30640c
commit 68df806
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
cask "1password-cli@beta" do | ||
version "2.23.0-beta.01" | ||
sha256 "79f6b4fb2b58733c6b69a1ac9ccfb4f7255eec20a089ed29322ca93c76710856" | ||
|
||
url "https://cache.agilebits.com/dist/1P/op2/pkg/v#{version}/op_apple_universal_v#{version}.pkg", | ||
verified: "cache.agilebits.com/dist/1P/op2/pkg/" | ||
name "1Password CLI" | ||
desc "Command-line helper for the 1Password password manager" | ||
homepage "https://developer.1password.com/docs/cli" | ||
|
||
livecheck do | ||
url "https://app-updates.agilebits.com/product_history/CLI2" | ||
regex(%r{href=.*?/op_apple_universal[._-]v?(\d+(?:\.\d+)+-beta\.\d+)\.pkg}i) | ||
end | ||
|
||
conflicts_with cask: [ | ||
"1password-cli", | ||
"1password-cli@1", | ||
] | ||
|
||
pkg "op_apple_universal_v#{version}.pkg" | ||
|
||
uninstall pkgutil: "com.1password.op" | ||
|
||
zap trash: "~/.config/op" | ||
end |