<commit_before>[![Gem Version](https://badge.fury.io/rb/projectionist.svg)](http://badge.fury.io/rb/projectionist)
[![Build Status](https://travis-ci.org/glittershark/projectionist.svg?branch=master)](https://travis-ci.org/glittershark/projectionist)
[![Code Climate](https://codeclimate.com/github/glittershark/projectionist.png)](https://codeclimate.com/github/glittershark/projectionist)
[![Dependency Status](https://gemnasium.com/glittershark/projectionist.svg)](https://gemnasium.com/glittershark/projectionist)

# Projectionist 

Command-line interface to the [.projections.json](https://github.com/tpope/vim-projectionist) format - WIP

## Installation

    $ gem install projectionist

## Usage

For ease of typing, the executable file for projectionist is `prj`.

Given a `.projections.json` file in the root of your project with the following structure:

```
{
    "lib/**/*.rb": {
        "type": "lib"
    }
}
```

The command to edit `lib/whatever/test.rb` would be:

    $ prj edit lib test

<commit_msg>Fix blatant falsehood in readme<commit_after>[![Gem Version](https://badge.fury.io/rb/projectionist.svg)](http://badge.fury.io/rb/projectionist)
[![Build Status](https://travis-ci.org/glittershark/projectionist.svg?branch=master)](https://travis-ci.org/glittershark/projectionist)
[![Code Climate](https://codeclimate.com/github/glittershark/projectionist.png)](https://codeclimate.com/github/glittershark/projectionist)
[![Dependency Status](https://gemnasium.com/glittershark/projectionist.svg)](https://gemnasium.com/glittershark/projectionist)

# Projectionist 

Command-line interface to the [.projections.json](https://github.com/tpope/vim-projectionist) format - WIP

## Installation

    $ gem install projectionist

## Usage

For ease of typing, the executable file for projectionist is `prj`.

Given a `.projections.json` file in the root of your project with the following structure:

```
{
    "lib/**/*.rb": {
        "type": "lib"
    }
}
```

The command to edit `lib/whatever/test.rb` would be:

    $ prj edit lib whatever/test


{'fraction_non_alphanumeric': 0.15544794188861985, 'fraction_numerical': 0.0, 'mean_word_length': 4.738888888888889, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, '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': '5226393', 'n_tokens_mistral': 719, 'n_tokens_neox': 692, 'n_words': 124}