Files
homebrew-gman/Formula/gman.rb
2025-09-14 19:25:51 -06:00

24 lines
1.0 KiB
Ruby

# Documentation: https://docs.brew.sh/Formula-Cookbook
# https://rubydoc.brew.sh/Formula
class Gman < Formula
desc "Universal command line credential management and injection tool"
homepage "https://github.com/Dark-Alex-17/gman"
if OS.mac? and Hardware::CPU.arm?
url "https://github.com/Dark-Alex-17/gman/releases/download/v0.1.0/gman-aarch64-apple-darwin.tar.gz"
sha256 "038ab83638ea5cb0c345745332728561be998af55243d0256931cfaf0a104b95"
elsif OS.mac? and Hardware::CPU.intel?
url "https://github.com/Dark-Alex-17/gman/releases/download/v0.1.0/gman-x86_64-apple-darwin.tar.gz"
sha256 "02dffa969c9db815e773d2007c6fd122b7a61aa1e41d2e8ccdf57f93bf9aa0ae"
else
url "https://github.com/Dark-Alex-17/gman/releases/download/v0.1.0/gman-x86_64-unknown-linux-musl.tar.gz"
sha256 "48fcd51ae899e8c44b74a8a58c9084c97043426ad8d1694d28fb3671308c85f7"
end
version "0.1.0"
license "MIT"
def install
bin.install "gman"
ohai "You're done! Get started with \"gman --help\""
end
end