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