# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'radius/toolbelt/version'

Gem::Specification.new do |spec|
  spec.name          = "radius-toolbelt"
  spec.version       = Radius::Toolbelt::VERSION
  spec.authors       = ["Radius Networks", "Aaron Kromer"]
  spec.email         = ["aaron@radiusnetworks.com"]
  spec.summary       = %q{Radius Networks Tools and Utilities}
  spec.description   = %q{Collection of CLI tools and Rake tasks for common activities.}
  spec.homepage      = "https://github.com/RadiusNetworks/radius-toolbelt"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = %w[ radius ]
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = %w[ lib ]

  spec.required_ruby_version = '~> 2.0'

  spec.add_development_dependency "bundler", "~> 1.7"
  spec.add_development_dependency "rake", "~> 10.0"
end

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'radius/toolbelt/version'

Gem::Specification.new do |spec|
  spec.name          = "radius-toolbelt"
  spec.version       = Radius::Toolbelt::VERSION
  spec.authors       = ["Radius Networks", "Aaron Kromer"]
  spec.email         = ["aaron@radiusnetworks.com"]
  spec.summary       = %q{Radius Networks Tools and Utilities}
  spec.description   = %q{Collection of CLI tools and Rake tasks for common activities.}
  spec.homepage      = "https://github.com/RadiusNetworks/radius-toolbelt"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = %w[ radius ]
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = %w[ lib ]

  spec.required_ruby_version = '~> 2.0'

  spec.add_runtime_dependency "commander", "~> 4.2.1"

  spec.add_development_dependency "bundler"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec"
end

Use commander for CLI interface.
Use commander for CLI interface.

We looked at Thor and GLI as well. We've had poor experiences with Thor
in the past so that was taken off the list. GLI was next up. We decided
it was a bit too heavy weight for us. We would have ended up moving lots
of parts around to namespace things cleanly.

At this point we considered how we wanted things to work. We spiked a
simple interface (ended up being a DSL). The resulting code looked very
much like how commander is setup. Instead of re-inventing the wheel,
just use commander for the CLI.
