You are here

function site_audit_common_options in Site Audit 7

Same name and namespace in other branches
  1. 8.2 site_audit.drush.inc \site_audit_common_options()

Get common command options used by all site_audit commands.

Return value

array Associative array of common command options.

1 call to site_audit_common_options()
site_audit_drush_command in ./site_audit.drush.inc
Implements hook_drush_command().

File

./site_audit.drush.inc, line 29
Drupal site auditing commands.

Code

function site_audit_common_options() {
  return array(
    'html' => array(
      'description' => dt('If set, render as HTML report.'),
    ),
    'json' => array(
      'description' => dt('If set, render as JSON report.'),
    ),
    'detail' => array(
      'description' => dt('If set, provided detailed responses.'),
    ),
    'skip' => array(
      'description' => dt('Name(s) of reports or specific checks to skip, comma separated.'),
      'example-value' => dt('insights,ExtensionsDev'),
      'value' => 'required',
    ),
    'bootstrap' => array(
      'description' => dt('If enabled, will wrap the generated report with Twitter Bootstrap 3.0 inline HTML.'),
    ),
  );
}