<commit_before># OptBind

[![Build Status](https://img.shields.io/travis/pavolzbell/optbind.svg)](https://travis-ci.org/pavolzbell/optbind)
[![Gem Version](https://img.shields.io/gem/v/optbind.svg)](https://badge.fury.io/gh/pavolzbell/optbind)

Binds command-line options to variables.

Extends command-line option analysis by wrapping an instance of standard [`OptionParser`](http://ruby-doc.org/stdlib-2.2.3/libdoc/optparse/rdoc/OptionParser.html).
Enables binding of options and arguments to instance or local variables. Provides `Hash` and `String` only interfaces
to define command line options, unlike a mixed interface by standard library. Supports access to default values and
partial argument analysis. Builds Git-like options and help by default. 

## Installation

    bundle install optbind

## Usage
<commit_msg>Fix link to RubyGems<commit_after># OptBind

[![Build Status](https://img.shields.io/travis/pavolzbell/optbind.svg)](https://travis-ci.org/pavolzbell/optbind)
[![Gem Version](https://img.shields.io/gem/v/optbind.svg)](https://rubygems.org/gems/optbind)

Binds command-line options to variables.

Extends command-line option analysis by wrapping an instance of standard [`OptionParser`](http://ruby-doc.org/stdlib-2.2.3/libdoc/optparse/rdoc/OptionParser.html).
Enables binding of options and arguments to instance or local variables. Provides `Hash` and `String` only interfaces
to define command line options, unlike a mixed interface by standard library. Supports access to default values and
partial argument analysis. Builds Git-like options and help by default. 

## Installation

    bundle install optbind

## Usage

{'fraction_non_alphanumeric': 0.11171827565270188, 'fraction_numerical': 0.0036429872495446266, 'mean_word_length': 5.014598540145985, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '1930093', 'n_tokens_mistral': 511, 'n_tokens_neox': 491, 'n_words': 147}