nitc :: CmdIniIssuesUrl :: defaultinit
# Cmd that finds the issues link related to an `mentity`
class CmdIniIssuesUrl
super CmdIni
# Issues url
var url: nullable String = null
redef fun init_command do
var res = super
if not res isa CmdSuccess then return res
var mentity = self.mentity.as(not null)
var ini = self.ini.as(not null)
var url = ini["upstream.issues"]
if url == null then return new WarningNoIssuesUrl(mentity)
self.url = url
return res
end
end
src/doc/commands/commands_ini.nit:128,1--148,3