{"id":28619618,"url":"https://github.com/wp-cli/find-command","last_synced_at":"2025-06-12T04:40:48.000Z","repository":{"id":17777400,"uuid":"82691158","full_name":"wp-cli/find-command","owner":"wp-cli","description":"Find WordPress installations on the filesystem","archived":false,"fork":false,"pushed_at":"2025-03-06T19:57:10.000Z","size":143,"stargazers_count":16,"open_issues_count":1,"forks_count":7,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-08T06:17:11.679Z","etag":null,"topics":["cli","find","hacktoberfest","wordpress","wp-cli","wp-cli-package"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wp-cli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-21T14:48:30.000Z","updated_at":"2025-03-06T19:57:14.000Z","dependencies_parsed_at":"2024-07-29T17:39:05.141Z","dependency_job_id":"48f0e1c2-a52d-43e4-9a3d-567adffa37bd","html_url":"https://github.com/wp-cli/find-command","commit_stats":{"total_commits":112,"total_committers":14,"mean_commits":8.0,"dds":0.5892857142857143,"last_synced_commit":"d076b0750ff035945bd3f455ecd4197365ee26e5"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/wp-cli/find-command","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Ffind-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Ffind-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Ffind-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Ffind-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-cli","download_url":"https://codeload.github.com/wp-cli/find-command/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Ffind-command/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259400433,"owners_count":22851809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","find","hacktoberfest","wordpress","wp-cli","wp-cli-package"],"created_at":"2025-06-12T04:40:45.986Z","updated_at":"2025-06-12T04:40:47.987Z","avatar_url":"https://github.com/wp-cli.png","language":"PHP","readme":"wp-cli/find-command\n===================\n\nFind WordPress installations on the filesystem.\n\n[![Testing](https://github.com/wp-cli/find-command/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/find-command/actions/workflows/testing.yml)\n\nQuick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing) | [Support](#support)\n\n## Using\n\n~~~\nwp find \u003cpath\u003e [--skip-ignored-paths] [--include_ignored_paths=\u003cpaths\u003e] [--max_depth=\u003cmax-depth\u003e] [--fields=\u003cfields\u003e] [--field=\u003cfield\u003e] [--format=\u003cformat\u003e] [--verbose]\n~~~\n\nRecursively iterates subdirectories of provided \u003cpath\u003e to find and\nreport WordPress installations. A WordPress installation is a wp-includes\ndirectory with a version.php file.\n\nAvoids recursing some known paths (e.g. /node_modules/, hidden sys dirs)\nto significantly improve performance.\n\nIndicates depth at which the WordPress installations was found, and its\nalias, if it has one.\n\n**OPTIONS**\n\n\t\u003cpath\u003e\n\t\tPath to search the subdirectories of.\n\n\t[--skip-ignored-paths]\n\t\tSkip the paths that are ignored by default.\n\n\t[--include_ignored_paths=\u003cpaths\u003e]\n\t\tInclude additional ignored paths as CSV (e.g. '/sys-backup/,/temp/').\n\n\t[--max_depth=\u003cmax-depth\u003e]\n\t\tOnly recurse to a specified depth, inclusive.\n\n\t[--fields=\u003cfields\u003e]\n\t\tLimit the output to specific row fields.\n\n\t[--field=\u003cfield\u003e]\n\t\tOutput a specific field for each row.\n\n\t[--format=\u003cformat\u003e]\n\t\tRender output in a specific format.\n\t\t---\n\t\tdefault: table\n\t\toptions:\n\t\t  - table\n\t\t  - json\n\t\t  - csv\n\t\t  - yaml\n\t\t  - count\n\t\t---\n\n\t[--verbose]\n\t\tLog useful information to STDOUT.\n\n**AVAILABLE FIELDS**\n\nThese fields will be displayed by default for each installation:\n\n* version_path - Path to the version.php file.\n* version - WordPress version.\n* depth - Directory depth at which the installation was found.\n* alias - WP-CLI alias, if one is registered.\n\nThese fields are optionally available:\n\n* wp_path - Path that can be passed to `--path=\u003cpath\u003e` global parameter.\n* db_host - Host name for the database.\n* db_user - User name for the database.\n* db_name - Database name for the database.\n\n**EXAMPLES**\n\n    # Find WordPress installations.\n    $ wp find ./\n    +--------------------------------------+---------------------+-------+--------+\n    | version_path                         | version             | depth | alias  |\n    +--------------------------------------+---------------------+-------+--------+\n    | /Users/wpcli/wp-includes/version.php | 4.8-alpha-39357-src | 2     | @wpcli |\n    +--------------------------------------+---------------------+-------+--------+\n\n## Installing\n\nInstalling this package requires WP-CLI v2.12 or greater. Update to the latest stable release with `wp cli update`.\n\nOnce you've done so, you can install the latest stable version of this package with:\n\n```bash\nwp package install wp-cli/find-command:@stable\n```\n\nTo install the latest development version of this package, use the following command instead:\n\n```bash\nwp package install wp-cli/find-command:dev-main\n```\n\n## Contributing\n\nWe appreciate you taking the initiative to contribute to this project.\n\nContributing isn’t limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.\n\nFor a more thorough introduction, [check out WP-CLI's guide to contributing](https://make.wordpress.org/cli/handbook/contributing/). This package follows those policy and guidelines.\n\n### Reporting a bug\n\nThink you’ve found a bug? We’d love for you to help us get it fixed.\n\nBefore you create a new issue, you should [search existing issues](https://github.com/wp-cli/find-command/issues?q=label%3Abug%20) to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version.\n\nOnce you’ve done a bit of searching and discovered there isn’t an open or fixed issue for your bug, please [create a new issue](https://github.com/wp-cli/find-command/issues/new). Include as much detail as you can, and clear steps to reproduce if possible. For more guidance, [review our bug report documentation](https://make.wordpress.org/cli/handbook/bug-reports/).\n\n### Creating a pull request\n\nWant to contribute a new feature? Please first [open a new issue](https://github.com/wp-cli/find-command/issues/new) to discuss whether the feature is a good fit for the project.\n\nOnce you've decided to commit the time to seeing your pull request through, [please follow our guidelines for creating a pull request](https://make.wordpress.org/cli/handbook/pull-requests/) to make sure it's a pleasant experience. See \"[Setting up](https://make.wordpress.org/cli/handbook/pull-requests/#setting-up)\" for details specific to working on this package locally.\n\n## Support\n\nGitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support\n\n\n*This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-cli%2Ffind-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-cli%2Ffind-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-cli%2Ffind-command/lists"}