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

[![Build Status](https://secure.travis-ci.org/certificationy/certificationy-cli.png?branch=master)](http://travis-ci.org/certificationy/certificationy-cli)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/cd3b6bc1-632e-491a-abfc-43edc390e1cc/mini.png)](https://insight.sensiolabs.com/projects/cd3b6bc1-632e-491a-abfc-43edc390e1cc)

This is the CLI tool to train on certifications.

# 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]
```

or download the "always fresh" `.phar` file hosted here:

```
$ curl -O http://composieux.fr/certificationy.phar
```

## 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"
```
<commit_msg>Updated docs relative to the contribution introduced by #6<commit_after>Certificationy CLI
==================

[![Build Status](https://secure.travis-ci.org/certificationy/certificationy-cli.png?branch=master)](http://travis-ci.org/certificationy/certificationy-cli)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/cd3b6bc1-632e-491a-abfc-43edc390e1cc/mini.png)](https://insight.sensiolabs.com/projects/cd3b6bc1-632e-491a-abfc-43edc390e1cc)

This is the CLI tool to train on certifications.

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

# Installation and update

## Using Phar

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

or download the "always fresh" `.phar` file hosted here:

```
$ curl -O http://composieux.fr/certificationy.phar
$ php certificationy.phar self-update
```

## 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"
```

{'fraction_non_alphanumeric': 0.16018662519440124, 'fraction_numerical': 0.026827371695178848, 'mean_word_length': 5.260340632603406, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4452141', 'n_tokens_mistral': 937, 'n_tokens_neox': 854, 'n_words': 171}