<commit_before>WordPress Plugin Generator
===================

Script that uses a config file to generate a functioning WordPress plugin scaffolds, with widgets and attributes.


## Basic Usage

Start by generating and filling out the configuration template.

```bash
# Creates config.yml
wp-plugin-generator -c
```

Fill out the template config.yml file which looks like this:

```yml
# config.yml
plugin:
  name: Simple Widget
  tags: comments, spam
  license: GPLv2
  short_description: A widget from completing simple tasks.
  .
  .

configuration:
  folder_name: simple_widget
  unique_prefix: wp_sw
  .
  .
```

Then run the generator on the config file. This will output a plugin template with general and advanced features implemented using the proper WordPress API, including a WordPress plugins directory compatable readme.txt. Comment out or modify what is not needed.

```bash
wp-plugin-generator config.yml
```
<commit_msg>Update README.<commit_after>WordPress Plugin Generator
===================

Script that uses a config file to generate a functioning WordPress plugin scaffolds, with widgets and attributes.


## Basic Usage

Start by generating and filling out the configuration template.

```bash
# Creates config.yml
wp-plugin-generator -c
```

Fill out the template config.yml file which looks like this:

```yml
# config.yml
plugin:
  name: Simple Widget
  tags: comments, spam
  license: GPLv2
  short_description: A widget from completing simple tasks.
  .
  .

configuration:
  folder_name: simple_widget
  unique_prefix: wp_sw
  .
  .
```

Then run the generator on the config file. This will output a plugin template with general and advanced features implemented using the proper WordPress API, including a WordPress plugins directory compatable readme.txt. Comment out or modify what is not needed.

```bash
wp-plugin-generator config.yml
```

Then just add `wp-plugin-generator` in `bin/` to your PATH.
{'fraction_non_alphanumeric': 0.08329022245214693, 'fraction_numerical': 0.0010346611484738748, 'mean_word_length': 4.342541436464089, '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': '1232035', 'n_tokens_mistral': 538, 'n_tokens_neox': 496, 'n_words': 234}