<commit_before># WordPress Tools

A command line tool to help manage your WordPress sites in development.

[![Build Status](https://travis-ci.org/welaika/wordpress_tools.png?branch=master)](https://travis-ci.org/welaika/wordpress_tools)

## Installation

    gem install wordpress_tools

## Usage

    wordpress new mysite

It installs and configures [WP-CLI](http://wp-cli.org/), [WP-CLI/server-command](https://github.com/wp-cli/server-command) and, finally, the latest version of [WordPress](http://wordpress.org) in `mysite` directory.

Get some help:

    wordpress help new

```bash
Options:
      [--force]                          # Overwrite existing WP-CLI / WP-CLI Server installation
  -l, [--locale=LOCALE]                  # WordPress locale
                                         # Default: en_US
  -b, [--bare=BARE]                      # Remove default themes and plugins
      [--admin-user=ADMIN_USER]          # WordPress admin user
                                         # Default: admin
      [--admin-email=ADMIN_EMAIL]        # WordPress admin email
                                         # Default: <EMAIL>
      [--admin-password=<PASSWORD>]  # WordPress admin password
                                         # Default: password
      [--db-user=DB_USER]                # MySQL database user<commit_msg>Updated readme with new badges<commit_after># WordPress Tools

A command line tool to help manage your WordPress sites in development.

[![Build Status](https://travis-ci.org/welaika/wordpress_tools.png?branch=master)](https://travis-ci.org/welaika/wordpress_tools)
[![Code Climate](https://codeclimate.com/github/welaika/wordpress_tools/badges/gpa.svg)](https://codeclimate.com/github/welaika/wordpress_tools)
[![Gem Version](http://img.shields.io/gem/v/wordpress_tools.svg)](https://rubygems.org/gems/wordpress_tools)
[![License](http://img.shields.io/:license-mit-blue.svg)](http://www.mit-license.org)

## Installation

    gem install wordpress_tools

## Usage

    wordpress new mysite

It installs and configures [WP-CLI](http://wp-cli.org/), [WP-CLI/server-command](https://github.com/wp-cli/server-command) and, finally, the latest version of [WordPress](http://wordpress.org) in `mysite` directory.

Get some help:

    wordpress help new

```bash
Options:
      [--force]                          # Overwrite existing WP-CLI / WP-CLI Server installation
  -l, [--locale=LOCALE]                  # WordPress locale
                                         # Default: en_US
  -b, [--bare=BARE]                      # Remove default themes and plugins
      [--admin-user=ADMIN_USER]          # WordPress admin user
                                         # Default: admin
      [--admin-email=ADMIN_EMAIL]        # WordPress admin email
                                         # Default: <EMAIL>
      [--admin-password=<PASSWORD>]  # WordPress admin password
                                         # Default: password
      [--db-user=DB_USER]                # MySQL database user
{'fraction_non_alphanumeric': 0.11976245463543385, 'fraction_numerical': 0.0, 'mean_word_length': 2.0229312063808575, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 9, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2571631', 'n_tokens_mistral': 856, 'n_tokens_neox': 813, 'n_words': 190}