Skip to content

Commit be157d2

Browse files
authored
Merge pull request #13 from ernilambar/update/readme
Setup readme
2 parents aec71e0 + ed8f865 commit be157d2

File tree

3 files changed

+35
-49
lines changed

3 files changed

+35
-49
lines changed

.github/workflows/regenerate-readme.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ wp database reset --author=<username>
1616
**OPTIONS**
1717

1818
--author=<username>
19-
Administrator user you want to keep after reset
19+
Administrator user you want to keep after reset.
2020

2121
**EXAMPLES**
2222

23-
# Reset database and keep `admin` user
23+
# Reset database and keep `admin` user.
2424
$ wp database reset --author=admin
2525

2626
## Installing
2727

28-
Installing this package requires WP-CLI v2.0 or greater. Update to the latest stable release with `wp cli update`.
28+
Installing this package requires WP-CLI v2.9 or greater. Update to the latest stable release with `wp cli update`.
2929

3030
Once you've done so, you can install the latest stable version of this package with:
3131

composer.json

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -17,55 +17,56 @@
1717
],
1818
"homepage": "https://github.com/ernilambar/database-command",
1919
"require": {
20-
"wp-cli/wp-cli": "^2"
20+
"wp-cli/wp-cli": "^2.9"
2121
},
2222
"require-dev": {
2323
"wp-cli/entity-command": "2.5",
2424
"wp-cli/scaffold-package-command": "^2",
2525
"wp-cli/wp-cli-tests": "^4"
2626
},
27+
"minimum-stability": "dev",
28+
"prefer-stable": true,
2729
"autoload": {
28-
"psr-4": {
29-
"Nilambar\\WP_CLI_Database\\DatabaseCommand\\": "src/"
30-
},
30+
"psr-4": {
31+
"Nilambar\\WP_CLI_Database\\DatabaseCommand\\": "src/"
32+
},
3133
"files": [
3234
"command.php"
3335
]
3436
},
35-
"minimum-stability": "dev",
36-
"prefer-stable": true,
3737
"config": {
38-
"process-timeout": 7200,
39-
"sort-packages": true,
4038
"allow-plugins": {
4139
"dealerdirect/phpcodesniffer-composer-installer": true
42-
}
40+
},
41+
"process-timeout": 7200,
42+
"sort-packages": true
4343
},
44-
"scripts": {
45-
"behat": "run-behat-tests",
46-
"behat-rerun": "rerun-behat-tests",
47-
"lint": "run-linter-tests",
48-
"phpcs": "run-phpcs-tests",
49-
"phpcbf": "run-phpcbf-cleanup",
50-
"phpunit": "run-php-unit-tests",
51-
"prepare-tests": "install-package-tests",
52-
"test": [
53-
"@lint",
54-
"@phpcs",
55-
"@phpunit",
56-
"@behat"
57-
]
58-
},
5944
"extra": {
6045
"commands": [
6146
"database reset"
6247
],
63-
"readme": {
64-
"sections": [
65-
"Using",
66-
"Installing",
67-
"Contributing"
68-
]
69-
}
48+
"readme": {
49+
"sections": [
50+
"Using",
51+
"Installing",
52+
"Contributing"
53+
]
54+
}
55+
},
56+
"scripts": {
57+
"behat": "run-behat-tests",
58+
"behat-rerun": "rerun-behat-tests",
59+
"lint": "run-linter-tests",
60+
"phpcbf": "run-phpcbf-cleanup",
61+
"phpcs": "run-phpcs-tests",
62+
"phpunit": "run-php-unit-tests",
63+
"prepare-tests": "install-package-tests",
64+
"readme": "wp scaffold package-readme . --force",
65+
"test": [
66+
"@lint",
67+
"@phpcs",
68+
"@phpunit",
69+
"@behat"
70+
]
7071
}
7172
}

0 commit comments

Comments
 (0)