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