Skip to content

Commit

Permalink
Merge pull request #13 from ernilambar/update/readme
Browse files Browse the repository at this point in the history
Setup readme
  • Loading branch information
ernilambar authored Jan 13, 2024
2 parents aec71e0 + ed8f865 commit be157d2
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 49 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/regenerate-readme.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ wp database reset --author=<username>
**OPTIONS**

--author=<username>
Administrator user you want to keep after reset
Administrator user you want to keep after reset.

**EXAMPLES**

# Reset database and keep `admin` user
# Reset database and keep `admin` user.
$ wp database reset --author=admin

## Installing

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

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

Expand Down
63 changes: 32 additions & 31 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,55 +17,56 @@
],
"homepage": "https://github.com/ernilambar/database-command",
"require": {
"wp-cli/wp-cli": "^2"
"wp-cli/wp-cli": "^2.9"
},
"require-dev": {
"wp-cli/entity-command": "2.5",
"wp-cli/scaffold-package-command": "^2",
"wp-cli/wp-cli-tests": "^4"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Nilambar\\WP_CLI_Database\\DatabaseCommand\\": "src/"
},
"psr-4": {
"Nilambar\\WP_CLI_Database\\DatabaseCommand\\": "src/"
},
"files": [
"command.php"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"process-timeout": 7200,
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"process-timeout": 7200,
"sort-packages": true
},
"scripts": {
"behat": "run-behat-tests",
"behat-rerun": "rerun-behat-tests",
"lint": "run-linter-tests",
"phpcs": "run-phpcs-tests",
"phpcbf": "run-phpcbf-cleanup",
"phpunit": "run-php-unit-tests",
"prepare-tests": "install-package-tests",
"test": [
"@lint",
"@phpcs",
"@phpunit",
"@behat"
]
},
"extra": {
"commands": [
"database reset"
],
"readme": {
"sections": [
"Using",
"Installing",
"Contributing"
]
}
"readme": {
"sections": [
"Using",
"Installing",
"Contributing"
]
}
},
"scripts": {
"behat": "run-behat-tests",
"behat-rerun": "rerun-behat-tests",
"lint": "run-linter-tests",
"phpcbf": "run-phpcbf-cleanup",
"phpcs": "run-phpcs-tests",
"phpunit": "run-php-unit-tests",
"prepare-tests": "install-package-tests",
"readme": "wp scaffold package-readme . --force",
"test": [
"@lint",
"@phpcs",
"@phpunit",
"@behat"
]
}
}

0 comments on commit be157d2

Please sign in to comment.