<commit_before>require 'pdk/util/bundler'

module PDK::CLI
  @validate_cmd = @base_cmd.define_command do
    name 'validate'
    usage _('validate [options]')
    summary _('Run static analysis tests.')
    description _('Run metadata, puppet, or ruby validation.')
<commit_msg>(maint) Update 'pdk validate' help text<commit_after>require 'pdk/util/bundler'

module PDK::CLI
  @validate_cmd = @base_cmd.define_command do
    name 'validate'
    usage _('validate [validators] [options] [targets]')
    summary _('Run static analysis tests.')
    description _(
      "Run metadata, puppet, or ruby validation.\n\n" \
      '[validators] is an optional comma separated list of validators to use. ' \
      "If not specified, all validators will be used.\n\n" \
      '[targets] is an optional space separated list of files or directories to be validated. ' \
      'If not specified, the validators will be run against all applicable files in the module.',
    )

{'fraction_non_alphanumeric': 0.104989604989605, 'fraction_numerical': 0.0, 'mean_word_length': 3.6298076923076925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1967388', 'n_tokens_mistral': 287, 'n_tokens_neox': 278, 'n_words': 103}