nitc :: CmdList :: print_list
fun print_list(list_title: nullable String, list_items: nullable Array[MEntity], no_color: nullable Bool) do
if list_title != null then
if no_color == null or not no_color then
print list_title.bold
else
print list_title
end
print ""
end
if list_items != null and list_items.not_empty then
for mentity in list_items do
print mentity.cs_list_item(no_color)
print ""
end
else
print "None."
end
end
src/doc/term/term.nit:109,2--126,4