class FfizerBin < Formula
  version "${HOMEBREW_VERSION}"
  desc "ffizer is a files and folders initializer / generator. Create any kind (or part) of project from template."
  homepage "https://github.com/ffizer/ffizer"
  #bottle :unneeded

  if OS.mac?
      url "${HOMEBREW_ASSET_URL}"
      sha256 "${HOMEBREW_SHA256}"
  elsif OS.linux?
      url "${HOMEBREW_ASSET_URL_ALT}"
      sha256 "${HOMEBREW_SHA256_ALT}"
  end

  #conflicts_with "ffizer"

  def install
    bin.install "ffizer"
    # man1.install "doc/ffizer.1"

    # bash_completion.install "complete/ffizer.bash"
    # fish_completion.install "complete/ffizer.fish"
    # zsh_completion.install "complete/_ffizer"
  end

  test do
    system "#{bin}/ffizer", "--help"
  end
end
