piotrpress/wordpress-diff
最新稳定版本:v1.0.1
Composer 安装命令:
composer create-project piotrpress/wordpress-diff
包简介
WordPress Diff is a command line tool for comparing contents of two WordPress installations using REST API and outputting the differences to HTML files for easy comparison.
关键字:
README 文档
README
WordPress Diff is a command line tool for comparing contents of two WordPress installations using REST API and outputting the differences to HTML files for easy comparison.
Example
$ php wp-diff https://oldsite.com https://newsite.com --exclude-type=post --exclude-post=sample-page
Setup
$ docker compose up -d $ docker compose exec php bash -c "composer install" $ docker compose down
Usage
$ docker compose up -d $ docker compose exec php bash -c "php wp-diff <old-site> <new-site> [--exclude-type=<post-type>] ... [--exclude-post=<post-link>] ..." $ docker compose down
Parameters
The <old-site> and <new-site> are the URLs of the WordPress installations to compare.
NOTE: URLs can include the authentication credentials in the form: https://user:password@example.com.
The --exclude-type and --exclude-post options are used to exclude post types and posts from the comparison.
Requirements
License
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-26