Method: Inch::CLI::Command::List#run

Defined in:
lib/inch/cli/command/list.rb

#run(*args) ⇒ void

This method returns an undefined value.

Runs the commandline utility, parsing arguments and displaying a list of objects

Parameters:

  • args (Array<String>)

    the list of arguments.



23
24
25
26
27
# File 'lib/inch/cli/command/list.rb', line 23

def run(*args)
  prepare_codebase(*args)
  context = API::List.new(codebase, @options)
  Output::List.new(@options, context.objects, context.grade_lists)
end