Class: SakaiInfo::CLI::Special

Inherits:
Object
  • Object
show all
Defined in:
lib/sakai-info/cli/special.rb

Class Method Summary collapse

Class Method Details

.process(args, flags) ⇒ Object



15
16
17
18
19
20
21
22
# File 'lib/sakai-info/cli/special.rb', line 15

def self.process(args, flags)
  mode = args.shift

  STDERR.puts "WARNING:"
  STDERR.puts "  Looking up items of type '#{mode}' can return ambiguous results."
  STDERR.puts "  Please use #{SpecialModes[mode]} types instead."
  exit 1
end