<commit_before># smartcli
nodejs wrapper for CLI related tasks  
[![Dev Status](https://img.shields.io/badge/DevStatus-Active-green.svg)](https://github.com/pushrocks/smartcli/commits/dev)

### Buildstatus/Dependencies
[![Build Status](https://travis-ci.org/pushrocks/smartcli.svg?branch=master)](https://travis-ci.org/pushrocks/smartcli)
[![devDependency Status](https://david-dm.org/pushrocks/smartcli/dev-status.svg)](https://david-dm.org/pushrocks/smartcli#info=devDependencies)

### Install the package
    npm install smartcli

### Usage
```js
var smartcli = require("smartcli");

//returns true for terminal command "node myjs.js jazz"
smartcli.checkCommand('jazz'); 

/**
* returns an object for terminal command "node myjs.js --myoption something" like so
* {
*   name: 'myoption',
*   specified: true,
*   value: 'something'
* }
*/
smartcli.getOption('myoption');
``

Cheers<commit_msg>fix small comment error<commit_after># smartcli
nodejs wrapper for CLI related tasks  
[![Dev Status](https://img.shields.io/badge/DevStatus-Active-green.svg)](https://github.com/pushrocks/smartcli/commits/dev)

### Buildstatus/Dependencies
[![Build Status](https://travis-ci.org/pushrocks/smartcli.svg?branch=master)](https://travis-ci.org/pushrocks/smartcli)
[![devDependency Status](https://david-dm.org/pushrocks/smartcli/dev-status.svg)](https://david-dm.org/pushrocks/smartcli#info=devDependencies)

### Install the package
    npm install smartcli

### Usage
```js
var smartcli = require("smartcli");

//returns true for terminal command "node myjs.js jazz"
smartcli.checkCommand('jazz'); 

/**
* returns an object for terminal command "node myjs.js --myoption something" like so
* {
*   name: 'myoption',
*   specified: true,
*   value: 'something'
* }
*/
smartcli.getOption('myoption');
```

Cheers
{'fraction_non_alphanumeric': 0.16694398225180254, 'fraction_numerical': 0.0, 'mean_word_length': 5.220689655172414, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, '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': '1284143', 'n_tokens_mistral': 613, 'n_tokens_neox': 593, 'n_words': 112}