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