<commit_before>Certificationy CLI
==================

[![Build Status](https://secure.travis-ci.org/certificationy/certificationy-cli.png?branch=master)](http://travis-ci.org/certificationy/certificationy-cli)

This is the CLI tool to train on Symfony certification.

# How it looks?
![Certificationy application](http://vincent.composieux.fr/assets/img/blog/certificationy-console.png "Certificationy application")

# Installation

## Using Phar

```
$ curl -s http://box-project.org/installer.php | php
$ php box.phar build
$ php certificationy.phar [--number=20]
```

## Using Composer
```
$ composer create-project certificationy/certificationy-cli
$ php certificationy.php [--number=20]
```

## More run options

### List categories
```
$ php certificationy.php --list [-l]
```

Will list all the categories available

### Only questions from certain categories
```
$ php certificationy.php "Automated tests" "Bundles"
```

Will only get the questions from the categories "Automated tests" and "Bundles"

Use the category list from [List categories](#list-categories)

### Show if a question has multiple choices
```
$ php certificationy.php --show-multiple-choice
```

![Multiple choices](https://cloud.githubusercontent.com/assets/795661/3308225/721b5324-f679-11e3-8d9d-62ba32cd8e32.png "Multiple choices")

### And all combined
```
$ php certificationy.php --numbers=5 --show-multiple-choice "Automated tests" "Bundles"
```

* 5 questions
* We will show if a questions has multiple choices
* Only get questions from category "Automated tests" and "Bundles"

> Note: if you pass --list [-l] then you will ONLY get the category list, regarding your other settings

# Please, add your questions!

You can submit PR with your own questions into the `data/` directory to extends questions database.
More we will have questions, the more powerful will be this tool!<commit_msg>Remove questions part in this README<commit_after>Certificationy CLI
==================

[![Build Status](https://secure.travis-ci.org/certificationy/certificationy-cli.png?branch=master)](http://travis-ci.org/certificationy/certificationy-cli)

This is the CLI tool to train on Symfony certification.

# How it looks?
![Certificationy application](http://vincent.composieux.fr/assets/img/blog/certificationy-console.png "Certificationy application")

# Installation

## Using Phar

```
$ curl -s http://box-project.org/installer.php | php
$ php box.phar build
$ php certificationy.phar [--number=20]
```

## Using Composer
```
$ composer create-project certificationy/certificationy-cli
$ php certificationy.php [--number=20]
```

## More run options

### List categories
```
$ php certificationy.php --list [-l]
```

Will list all the categories available

### Only questions from certain categories
```
$ php certificationy.php "Automated tests" "Bundles"
```

Will only get the questions from the categories "Automated tests" and "Bundles"

Use the category list from [List categories](#list-categories)

### Show if a question has multiple choices
```
$ php certificationy.php --show-multiple-choice
```

![Multiple choices](https://cloud.githubusercontent.com/assets/795661/3308225/721b5324-f679-11e3-8d9d-62ba32cd8e32.png "Multiple choices")

### And all combined
```
$ php certificationy.php --numbers=5 --show-multiple-choice "Automated tests" "Bundles"
```

* 5 questions
* We will show if a questions has multiple choices
* Only get questions from category "Automated tests" and "Bundles"

> Note: if you pass --list [-l] then you will ONLY get the category list, regarding your other settings
{'fraction_non_alphanumeric': 0.13312866313145408, 'fraction_numerical': 0.022885849846497348, 'mean_word_length': 4.963394342762063, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '4239979', 'n_tokens_mistral': 1145, 'n_tokens_neox': 1056, 'n_words': 332}