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

#description, #long_description, #name, #options, #usage

Instance Method Summary collapse

Methods inherited from Command

#formatted_usage, #initialize, #initialize_copy, #run

Constructor Details

This class inherits a constructor from Thor::Command

Instance Method Details

#hidden?Boolean

Returns:

  • (Boolean)


112
113
114
# File 'lib/thor/command.rb', line 112

def hidden?
  true
end