You are here

function yamlform_drush_help in YAML Form 8

Implements hook_drush_help().

File

drush/yamlform.drush.inc, line 166
YAML Form module drush commands.

Code

function yamlform_drush_help($section) {
  switch ($section) {
    case 'drush:yamlform-export':
      return dt('This command will export form submissions to a file.');
    case 'drush:yamlform-purge':
      return dt('This command will purge form submissions.');
    case 'drush:yamlform-libraries-status':
      return dt('This command displays the status of third party libraries required by the YAML Form module.');
    case 'drush:yamlform-libraries-download':
      return dt('This command downloads third party libraries required by the YAML Form module.');
    case 'drush:yamlform-libraries-remove':
      return dt('This command removes all downloaded third party libraries required by the YAML Form module.');
    case 'drush:yamlform-repair':
      return dt('Makes sure all YAML Form admin settings and forms are up-to-date. Only use this command if you are having problems with your existing YAML Form configuration.');
    case 'drush:yamlform-tidy':
      return dt('This command tidies exported YAML configuration files.') . "\n\n" . dt('Changes include...') . "\n" . dt('- Preserving newlines using pipe (|).') . "\n" . dt('- Removing returns after array dashes (-).');
    case 'drush:yamlform-generate':
      return dt('This command will create submissions in specified form.');
    case 'meta:yamlform:title':
      return dt('YAML Form commands');
    case 'meta:yamlform:summary':
      return dt('Enables the creation of forms and questionnaires.');
  }
}