#!/usr/bin/env ruby $: << File.dirname(__FILE__) + "/../lib" require 'cli' CLI.app do name "rcat" version "0.0.1" options do opts.on("-h", "--help") do puts "rcat 0.0.1. See cat(1)" exit end end run do puts ARGF.read end end