/**
* Prints the resources in the short style (without the "-l" option).
*
* @param IO $io The I/O.
* @param ResourceCollection $resources The resources.
*/
private function listShort(IO $io, ResourceCollection $resources)
{
$style = GridStyle::borderless();
$style->getBorderStyle()->setLineVCChar(' ');
$grid = new Grid($style);
foreach ($resources as $resource) {
$grid->addCell($this->formatName($resource));
}
$grid->render($io);
}