nitc :: CmdEntityFile :: print_file
# Print file
fun print_file(title: String, no_color: nullable Bool) do
var file = self.file
if file == null then return
title = "{title} `{file}`:"
if no_color == null or not no_color then
print title.bold
else
print title
end
print ""
print file.to_path.read_all
print ""
end
src/doc/term/term.nit:428,2--441,4