Method: Thor::Base::ClassMethods#disable_required_check?

Defined in:
lib/thor/base.rb

#disable_required_check?(command_name) ⇒ Boolean

If true, option set will not suspend the execution of the command when a required option is not provided.

Returns:

  • (Boolean)

207
208
209
# File 'lib/thor/base.rb', line 207

def disable_required_check?(command_name) #:nodoc:
  false
end