
This gets us pretty similar (but easier to manage) manpage output but much nicer completions etc. for all these commands.
20 lines
446 B
Ruby
20 lines
446 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
require "abstract_command"
|
|
|
|
# This Ruby command exists to allow generation of completions for the Bash
|
|
# version. It is not meant to be run.
|
|
module Homebrew
|
|
module Cmd
|
|
class Casks < AbstractCommand
|
|
cmd_args do
|
|
description "List all locally installable casks including short names."
|
|
end
|
|
|
|
sig { override.void }
|
|
def run = raise_sh_command_error!
|
|
end
|
|
end
|
|
end
|