public static function show($alias = null) { $treasures = \Model_Site::get_treasures($alias); foreach ($treasures as $alias => $files) { echo sprintf('%s %s file(s)', $alias, count($files)) . "\n"; foreach ($files as $file) { echo $file['url'] . "\n"; } } }