Class: Cask::Cmd::NullCommand Private
- Inherits:
-
Object
- Object
- Cask::Cmd::NullCommand
- Defined in:
- Library/Homebrew/cask/cmd.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Helper class for showing help when no subcommand is given.
Class Method Summary collapse
- .help ⇒ Object private
- .run ⇒ Object private
Class Method Details
.help ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
261 262 263 |
# File 'Library/Homebrew/cask/cmd.rb', line 261 def self.help Cmd.parser.generate_help_text end |
.run ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
257 258 259 |
# File 'Library/Homebrew/cask/cmd.rb', line 257 def self.run(*) raise UsageError, "No subcommand given." end |