Class: Thor::HiddenCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/thor/command.rb

Overview

A command that is hidden in help messages but still invocable.

Constant Summary

Constants inherited from Command

Command::FILE_REGEXP

Instance Attribute Summary

Attributes inherited from Command

#ancestor_name, #arguments, #description, #examples, #long_description, #name, #options, #usage

Instance Method Summary collapse

Methods inherited from Command

#formatted_usage, #handle_argument_error?, #handle_no_method_error?, #initialize, #initialize_copy, #local_method?, #names_by_format, #not_debugging?, #private_method?, #public_method?, #required_options, #run, #sans_backtrace, #subcommand?, #usage_name

Constructor Details

This class inherits a constructor from Thor::Command

Instance Method Details

#hidden?Boolean

Returns:

  • (Boolean)


354
355
356
# File 'lib/thor/command.rb', line 354

def hidden?
  true
end