lib/inch/cli/command/list.rb in inch-0.2.3 vs lib/inch/cli/command/list.rb in inch-0.3.0.rc1
- old
+ new
@@ -19,11 +19,12 @@
# list of objects
#
# @param [Array<String>] args the list of arguments.
# @return [void]
def run(*args)
- prepare_list(*args)
- Output::List.new(@options, objects, @grade_lists)
+ prepare_codebase(*args)
+ context = API::List.new(codebase, @options)
+ Output::List.new(@options, context.objects, context.grade_lists)
end
end
end
end
end