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, #description, #long_description, #name, #options, #options_relation, #usage, #wrap_long_description

Instance Method Summary collapse

Methods inherited from Command

#formatted_usage, #initialize, #initialize_copy, #method_at_least_one_option_names, #method_exclusive_option_names, #run

Constructor Details

This class inherits a constructor from Thor::Command

Instance Method Details

#hidden?Boolean

Returns:

  • (Boolean)


130
131
132
# File 'lib/thor/command.rb', line 130

def hidden?
  true
end