# 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 "d5bba18d1d43108efdf2b900b2322b512e1e9b880e579bba1c5ef75e71c9567f" 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 "91effe60e35c2724ef709a0a55d443f4d4245000328d06b1477d11e125d0820c" else url "https://github.com/Dark-Alex-17/gman/releases/download/v0.1.0/gman-x86_64-unknown-linux-musl.tar.gz" sha256 "a1f8b197689bdec426180f6c60e3aadfc22cc9dcf3878776ad4a79accc3861dc" end version "0.1.0" license "MIT" def install bin.install "gman" ohai "You're done! Get started with \"gman --help\"" end end