Tomohiro/downcer

View on GitHub
bin/downcer

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby
# encoding: UTF-8

# resolve bin path, ignoring symlinks
require 'pathname'
bin_file = Pathname.new(__FILE__).realpath

# add self to libpath
$:.unshift File.expand_path("../../lib", bin_file)

# start up the CLI
require 'downcer'
Downcer::CLI.start(*ARGV)