blob: 6c8e3d4b3a78b4c460e1a0872fba668cd0f67c1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
class Passextract < Formula
desc "An interface to easily copy login information from Pass"
homepage "https://github.com/teddywing/Passextract"
version "0.4.0"
url "https://github.com/teddywing/Passextract/releases/download/v0.4.0/passextract-0.4.0_osx_amd64.tar.bz2"
sha256 "622439d19d2cedde4c6666d29cc9fad5487083da3e26660b66910e2f469eb54e"
def install
bin.install "passextract"
bash_completion.install "passextract.bash-completion" => "passextract"
man1.install "passextract.1"
end
def caveats; <<~EOS
To enable tab completion, add the following to your bash profile:
source #{etc}/bash_completion.d/passextract
EOS
end
end
|