API / Minn\Cli / DirectorySearch

DirectorySearch final class

Minn\Cli\DirectorySearch · public/minn/src/Minn/Cli/DirectorySearch.php · 37 lines

Shared wording for `wp theme search` and `wp plugin search`. The default table is name/slug/rating; Success prints before the rows and only for table/yaml. json/csv/count print the Formatter output alone.

Constants and properties

privateFIELDS = array ( 0 => 'name', 1 => 'slug', 2 => 'rating', )

Public

staticrun(string $kind, array $args, array $assocArgs): void#

Searches the directory (through the Minn update service) for one kind of asset and prints the page.

$assocArgsarray<string, mixed>