Method: YARD::CLI::Config#run

Defined in:
lib/yard/cli/config.rb

#run(*args) ⇒ Object

Since:

  • 0.6.2

[View source]

34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/yard/cli/config.rb', line 34

def run(*args)
  optparse(*args)
  if key
    if reset || values.size > 0
      modify_item
    else
      view_item
    end
  else
    list_configuration
  end
end