Problem/Motivation

Part of #3582246: [meta] CLI in Core community initiative. Referenced from the CLI in Core Initiative spreadsheet.

Port 2 of 3 commands from Drush. I decided to combine maint:get and maint:status. maint:status now does both duties, and the command help explains how to get the status code using `|| true` if you need it for scripting.

Remaining tasks

None

User interface changes

None

Introduced terminology

None

API changes

None

Data model changes

None

Release notes snippet

None

AI-Assisted: Yes

Issue fork drupal-3627514

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

moshe weitzman created an issue. See original summary.

moshe weitzman’s picture

Issue summary: View changes
moshe weitzman’s picture

Title: Add maintenance CLI commnds » Add maintenance mode CLI commnds

moshe weitzman’s picture

Issue summary: View changes