<commit_before># Graviton GeneratorBundle

If you are prompted for a config type you should always choose xml
since xml is the only format we are currently supporting. If you
use other formats, chances are you will have to fix and/or implement
features that where only added to the xml templates.

### Generate new Bundle

```bash
php app/console graviton:generate:bundle --namespace=Graviton/FooBundle --dir=src --bundle-name=GravitonFooBundle
```

The generated bundle assumes thaet you will be adding resources to it. If you do not plan on doing so
you will need to fix this by removing the doctrine and serializer config in ``Resources/config/config.xml``.

### Generate a new Resource

```bash
php app/console graviton:generate:resource --entity=GravitonFooBundle:Bar --format=xml --fields="name:string" --with-repository
php app/console graviton:generate:resource --entity=GravitonFooBundle:Baz --format=xml --fields="name:string isTrue:boolean consultant:Graviton\\PersonBundle\\Document\\Consultant" --with-repository
```<commit_msg>trigger travis build..<commit_after># Graviton GeneratorBundle

If you are prompted for a config type you should always choose xml 
since xml is the only format we are currently supporting. If you
use other formats, chances are you will have to fix and/or implement
features that where only added to the xml templates.

### Generate new Bundle

```bash
php app/console graviton:generate:bundle --namespace=Graviton/FooBundle --dir=src --bundle-name=GravitonFooBundle
```

The generated bundle assumes thaet you will be adding resources to it. If you do not plan on doing so
you will need to fix this by removing the doctrine and serializer config in ``Resources/config/config.xml``.

### Generate a new Resource

```bash
php app/console graviton:generate:resource --entity=GravitonFooBundle:Bar --format=xml --fields="name:string" --with-repository
php app/console graviton:generate:resource --entity=GravitonFooBundle:Baz --format=xml --fields="name:string isTrue:boolean consultant:Graviton\\PersonBundle\\Document\\Consultant" --with-repository
```
{'fraction_non_alphanumeric': 0.09177820267686425, 'fraction_numerical': 0.0, 'mean_word_length': 5.155882352941177, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, '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': '7376613', 'n_tokens_mistral': 592, 'n_tokens_neox': 537, 'n_words': 232}