nitc :: CmdParents :: defaultinit
# MEntity parents command
class CmdParents
super CmdInheritance
redef fun init_results do
if results != null then return new CmdSuccess
var res = super
if not res isa CmdSuccess then return res
var mentity = self.mentity.as(not null)
results = mentity.collect_parents(mainmodule, filter).to_a
return res
end
end
src/doc/commands/commands_model.nit:161,1--175,3