Method: Junoser::Cli.commit_check

Defined in:
lib/junoser/cli.rb

.commit_check(io_or_string) ⇒ Object



11
12
13
14
15
16
17
18
19
# File 'lib/junoser/cli.rb', line 11

def commit_check(io_or_string)
  config = Junoser::Input.new(io_or_string).read

  if Junoser::Display.display_set?(config)
    commit_check_display_set config
  else
    commit_check_structured config
  end
end