fun execute(query: String, no_color: nullable Bool) do
var cmd = self.parse(query)
var error = self.error
# Translate links to doc commands
if cmd isa CmdEntityLink then
cmd = new CmdComment(model, mentity_name = query)
var opts = new CmdOptions
var status = cmd.parser_init(query, opts)
if not status isa CmdSuccess then error = status
end
if error isa CmdError or error isa CmdWarning then
error.print_message(no_color)
print ""
end
if cmd == null then return
cmd.execute(no_color)
end
src/doc/term/term.nit:23,2--41,4