Class: Codebot::Options::Base

Inherits:
Thor
  • Object
show all
Defined in:
lib/codebot/options/base.rb

Overview

A class that handles the codebot command. This class delegates handling of any commands to the respective class for the appropriate subcommand.

Class Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Ensures that thor uses the correct exit code.

Returns:

  • (Boolean)

    true



43
44
45
# File 'lib/codebot/options/base.rb', line 43

def self.exit_on_failure?
  true
end