artem328/maintenance-command
Allows to control maintenance mode from cli, (*1)
Quick links: Using | Installing | Contributing, (*2)
Using
Enabling maintenance mode
For enable maintenance mode, use
wp maintenance enable
, (*3)
For more information check help page
wp help maintenance enable
, (*4)
Disabling maintenance mode
For disabling maintenance mode, use
wp maintenance disable
, (*5)
For more information check help page
wp help maintenance disable
, (*6)
Checking maintenance mode status
For check status of maintenance mode, use
wp maintenance status
, (*7)
For more information check help page
wp help maintenance status
, (*8)
Installing
Installing this package requires WP-CLI v1.1.0 or greater. Update to the latest stable release with wp cli update
., (*9)
Once you've done so, you can install this package with wp package install artem328/maintenance-command
., (*10)
Contributing
We appreciate you taking the initiative to contribute to this project., (*11)
Contributing 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., (*12)
Reporting a bug
Think youâve found a bug? Weâd love for you to help us get it fixed., (*13)
Before you create a new issue, you should search existing issues to see if thereâs an existing resolution to it, or if itâs already been fixed in a newer version., (*14)
Once 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 with the following:, (*15)
- What you were doing (e.g. "When I run
wp post list
").
- What you saw (e.g. "I see a fatal about a class being undefined.").
- What you expected to see (e.g. "I expected to see the list of posts.")
Include as much detail as you can, and clear steps to reproduce if possible., (*16)
Creating a pull request
Want to contribute a new feature? Please first open a new issue to discuss whether the feature is a good fit for the project., (*17)
Once you've decided to commit the time to seeing your pull request through, please follow our guidelines for creating a pull request to make sure it's a pleasant experience:, (*18)
- Create a feature branch for each contribution.
- Submit your pull request early for feedback.
- Include functional tests with your changes. Read the WP-CLI documentation for an introduction.
- Follow the WordPress Coding Standards.
Licence
MIT, see the LICENCE file, (*19)