description: 'Switch site into maintenance mode'
arguments:
  mode: 'Site maintenance mode [on/off]'
messages:
  maintenance-on: 'Operating in maintenance mode on'
  maintenance-off: 'Operating in maintenance mode off'
errors:
  invalid-mode: 'Invalid maintenance mode'
examples:
  - description: 'Switch on maintenance'
    execution: |
      drupal site:maintenance  on
  - description: 'Switch off maintenance'
    execution: |
      drupal site:maintenance  off
