
This gets us pretty similar (but easier to manage) manpage output but much nicer completions etc. for all these commands.
18 lines
339 B
Ruby
18 lines
339 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
require "abstract_command"
|
|
|
|
module Homebrew
|
|
module Cmd
|
|
class Formulae < AbstractCommand
|
|
cmd_args do
|
|
description "List all locally installable formulae including short names."
|
|
end
|
|
|
|
sig { override.void }
|
|
def run = raise_sh_command_error!
|
|
end
|
|
end
|
|
end
|