-
Notifications
You must be signed in to change notification settings - Fork 4
/
cl.gemspec
30 lines (24 loc) · 1023 Bytes
/
cl.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# encoding: utf-8
$:.unshift File.expand_path('../lib', __FILE__)
require 'cl/version'
Gem::Specification.new do |s|
s.name = 'cl'
s.version = Cl::VERSION
s.authors = ['Sven Fuchs']
s.homepage = 'https://github.com/svenfuchs/cl'
s.licenses = ['MIT']
s.summary = 'Object-oriented OptionParser based CLI support'
s.description = <<-str.strip.gsub(/^ +/, '')
OptionParser based CLI support for rapid CLI development in an object-oriented
context.
This library wraps Ruby's OptionParser for parsing your options under the hood,
so you get all the goodness that the Ruby standard library provides.
On top of that it adds a rich and powerful DSL for defining, validating, and
normalizing options, as well as automatic and gorgeous help output (modeled
after `gem --help`).
str
s.files = Dir.glob('{examples/**/*,lib/**/*,[A-Z]*}')
s.platform = Gem::Platform::RUBY
s.require_path = 'lib'
s.add_dependency 'regstry', '~> 1.0'
end