<commit_before># cbradeps

Prints and exports the dependencies within component-based Ruby/Rails applications (#cbra)

## Installation

Add this line to your application's Gemfile:

    gem 'cbradeps'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install cbradeps

## Usage

    cbradeps [OPTION] [application path]

    Component-based Ruby/Rails dependency grapher.

    Options are...
        -t, --text                       DEFAULT Outputs a textual representation of the dependencies
        -g, --graph                      Outputs graph.png to the current directory
        -d, --dot                        Outputs graph.dot to the current directory

        -h, -H, --help                   Display this help message.

## Example

There are sample #cbra folder structures in `spec/examples`. Here is the graph generated for the letters app structure:

![Letters graph](https://github.com/shageman/cbradeps/blob/master/spec/examples/letters.png)<commit_msg>gotta link to the raw image<commit_after># cbradeps

Prints and exports the dependencies within component-based Ruby/Rails applications (#cbra)

## Installation

Add this line to your application's Gemfile:

    gem 'cbradeps'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install cbradeps

## Usage

    cbradeps [OPTION] [application path]

    Component-based Ruby/Rails dependency grapher.

    Options are...
        -t, --text                       DEFAULT Outputs a textual representation of the dependencies
        -g, --graph                      Outputs graph.png to the current directory
        -d, --dot                        Outputs graph.dot to the current directory

        -h, -H, --help                   Display this help message.

## Example

There are sample #cbra folder structures in `spec/examples`. Here is the graph generated for the letters app structure:

![Letters graph](https://raw.githubusercontent.com/shageman/cbradeps/master/spec/examples/letters.png)
{'fraction_non_alphanumeric': 0.07676969092721835, 'fraction_numerical': 0.0, 'mean_word_length': 2.3561872909698995, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2906261', 'n_tokens_mistral': 553, 'n_tokens_neox': 517, 'n_words': 202}