Property definitions

nitc $ CmdCatalogPackages :: defaultinit
# Retrieve the packages in the catalog
class CmdCatalogPackages
	super CmdCatalog
	super CmdEntities

	autoinit(model, catalog, filter, limit, page, count, max)

	redef var sorter = new CatalogScoreSorter(catalog) is lazy

	redef fun init_results do
		if results != null then return new CmdSuccess

		var res = super
		if not res isa CmdSuccess then return res

		results = catalog.mpackages.values.to_a
		return res
	end
end
src/doc/commands/commands_catalog.nit:133,1--151,3