Sha256: 2502b004d84f131c2b0c4c24ddcdf0813005bfef896a21c060994fb109dcb5f6

Contents?: true

Size: 521 Bytes

Versions: 2

Compression:

Stored size: 521 Bytes

Contents

#!/usr/bin/env ruby

require 'commander/import'

require 'rubychina'

require  File.expand_path('../../lib/rubychina', __FILE__)

HighLine.track_eof = false # Fix for built-in Ruby
Signal.trap("INT") {} # Suppress backtrace when exiting command

program :version, RubyChina::VERSION
program :description, 'A command-line interface for accessing ruby-china topic content'

program :help, 'Author', 'Lin Xiangyu'
program :help, 'Website', 'https://github.com/oa414'
program :help_formatter, :compact

default_command :help

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
rubychina-0.0.1 ./bin/rubychina
rubychina-0.0.1 bin/rubychina