mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
22 lines
401 B
Ruby
22 lines
401 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
require "abstract_command"
|
|
|
|
module Homebrew
|
|
module Cmd
|
|
class Docs < AbstractCommand
|
|
cmd_args do
|
|
description <<~EOS
|
|
Open Homebrew's online documentation at <#{HOMEBREW_DOCS_WWW}> in a browser.
|
|
EOS
|
|
end
|
|
|
|
sig { override.void }
|
|
def run
|
|
exec_browser HOMEBREW_DOCS_WWW
|
|
end
|
|
end
|
|
end
|
|
end
|