module DTK::Client::CommandBaseThor::CommonOptionDefs::Mixin
Public Instance Methods
required_option(key)
click to toggle source
# File lib/parser/adapters/thor/common_option_defs.rb, line 22 def required_option(key) key = key.to_s unless options.has_key?(key) raise DtkError, "[ERROR] The mandatory option --#{key} is missing" end options[key] end