{"id":15065466,"url":"https://github.com/wp-cli/maintenance-mode-command","last_synced_at":"2025-04-09T21:19:25.245Z","repository":{"id":45641723,"uuid":"181301004","full_name":"wp-cli/maintenance-mode-command","owner":"wp-cli","description":"Activates, deactivates or checks the status of the maintenance mode of a site.","archived":false,"fork":false,"pushed_at":"2024-11-24T17:26:31.000Z","size":97,"stargazers_count":9,"open_issues_count":1,"forks_count":5,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-09T21:19:17.350Z","etag":null,"topics":["cli","hacktoberfest","maintenance","wordpress","wp-cli","wp-cli-package"],"latest_commit_sha":null,"homepage":null,"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":"CONTRIBUTING.md","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":"2019-04-14T11:48:25.000Z","updated_at":"2024-11-24T17:26:34.000Z","dependencies_parsed_at":"2023-11-06T22:58:31.628Z","dependency_job_id":"a1522293-6097-495f-8382-1c19a1ecd1b1","html_url":"https://github.com/wp-cli/maintenance-mode-command","commit_stats":{"total_commits":69,"total_committers":7,"mean_commits":9.857142857142858,"dds":0.5507246376811594,"last_synced_commit":"c53fab1ca9fddb2ba00edc5660b081e2c80b336b"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Fmaintenance-mode-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Fmaintenance-mode-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Fmaintenance-mode-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Fmaintenance-mode-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-cli","download_url":"https://codeload.github.com/wp-cli/maintenance-mode-command/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248111973,"owners_count":21049578,"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","hacktoberfest","maintenance","wordpress","wp-cli","wp-cli-package"],"created_at":"2024-09-25T00:38:49.089Z","updated_at":"2025-04-09T21:19:25.216Z","avatar_url":"https://github.com/wp-cli.png","language":"PHP","readme":"wp-cli/maintenance-mode-command\n===============================\n\nActivates, deactivates or checks the status of the maintenance mode of a site.\n\n[![Testing](https://github.com/wp-cli/maintenance-mode-command/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/maintenance-mode-command/actions/workflows/testing.yml)\n\nQuick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing) | [Support](#support)\n\n## Using\n\nThis package implements the following commands:\n\n### wp maintenance-mode\n\nActivates, deactivates or checks the status of the maintenance mode of a site.\n\n~~~\nwp maintenance-mode\n~~~\n\n**EXAMPLES**\n\n    # Activate Maintenance mode.\n    $ wp maintenance-mode activate\n    Enabling Maintenance mode...\n    Success: Activated Maintenance mode.\n\n    # Deactivate Maintenance mode.\n    $ wp maintenance-mode deactivate\n    Disabling Maintenance mode...\n    Success: Deactivated Maintenance mode.\n\n    # Display Maintenance mode status.\n    $ wp maintenance-mode status\n    Maintenance mode is active.\n\n    # Get Maintenance mode status for scripting purpose.\n    $ wp maintenance-mode is-active\n    $ echo $?\n    1\n\n\n\n### wp maintenance-mode activate\n\nActivates maintenance mode.\n\n~~~\nwp maintenance-mode activate [--force]\n~~~\n\n**OPTIONS**\n\n\t[--force]\n\t\tForce maintenance mode activation operation.\n\n**EXAMPLES**\n\n    $ wp maintenance-mode activate\n    Enabling Maintenance mode...\n    Success: Activated Maintenance mode.\n\n\n\n### wp maintenance-mode deactivate\n\nDeactivates maintenance mode.\n\n~~~\nwp maintenance-mode deactivate \n~~~\n\n**EXAMPLES**\n\n    $ wp maintenance-mode deactivate\n    Disabling Maintenance mode...\n    Success: Deactivated Maintenance mode.\n\n\n\n### wp maintenance-mode status\n\nDisplays maintenance mode status.\n\n~~~\nwp maintenance-mode status \n~~~\n\n**EXAMPLES**\n\n    $ wp maintenance-mode status\n    Maintenance mode is active.\n\n\n\n### wp maintenance-mode is-active\n\nDetects maintenance mode status.\n\n~~~\nwp maintenance-mode is-active \n~~~\n\n**EXAMPLES**\n\n    $ wp maintenance-mode is-active\n    $ echo $?\n    1\n\n## Installing\n\nThis package is included with WP-CLI itself, no additional installation necessary.\n\nTo install the latest version of this package over what's included in WP-CLI, run:\n\n    wp package install git@github.com:wp-cli/maintenance-mode-command.git\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/maintenance-mode-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/maintenance-mode-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/maintenance-mode-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%2Fmaintenance-mode-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-cli%2Fmaintenance-mode-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-cli%2Fmaintenance-mode-command/lists"}