Sha256: 59d5158abe294e627f4a6b160c683061e4a76d9e09a0c085679a707a2d7f0f5f

Contents?: true

Size: 504 Bytes

Versions: 4

Compression:

Stored size: 504 Bytes

Contents

# CL [![Build Status](https://travis-ci.org/svenfuchs/cl.svg?branch=master)](https://travis-ci.org/svenfuchs/cl)

This library wraps Ruby's `OptionParser` in order to make it easier to use it in an object oriented context.

## Usage

```ruby
module Owners
  class Add < Cli::Cmd

    register 'owners:add'

    purpose 'Add one or more owners to an existing owner group'

    args :owners

    opt '-t', '--to TO', 'An owner in an existing group' do |value|
      opts[:to] = value
    end
  end
end
```

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cl-0.1.3 README.md
cl-0.1.2 README.md
cl-0.1.1 README.md
cl-0.1.0 README.md