class Lview < Formula desc "TUI for viewing remote logs over SSH" homepage "https://git.janvete.com/seth/lview" url "https://git.janvete.com/seth/lview/archive/v0.1.7.tar.gz" sha256 "d5983835e198b9dcb72709b44e389241503426367a8505b5c91fd87930ed414d" license "MIT" head "https://git.janvete.com/seth/lview.git", branch: "master" depends_on "rust" => :build def install system "cargo", "install", *std_cargo_args end test do assert_match "TUI for viewing remote logs over SSH", shell_output("#{bin}/lview --help") end end