Sha256: 31bda3b678bf5b01a786cfb2d616a5c16842b06bf7af96e1479d982c077b6d5d

Contents?: true

Size: 399 Bytes

Versions: 10

Compression:

Stored size: 399 Bytes

Contents

#!/usr/bin/env ruby

require 'pathname'
ROOT_DIR = Pathname.new(__FILE__).dirname.parent
load ROOT_DIR.join('lib/rouge.rb')
load ROOT_DIR.join('lib/rouge/cli.rb')
Signal.trap('PIPE', 'SYSTEM_DEFAULT') if Signal.list.include? 'PIPE'

begin
  Rouge::CLI.parse(ARGV).run
rescue Rouge::CLI::Error => e
  puts e.message
  exit e.status
rescue Interrupt
  $stderr.puts "\nrouge: interrupted"
  exit 2
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/rouge-2.2.1/bin/rougify
rouge-3.2.1 bin/rougify
rouge-3.2.0 bin/rougify
rouge_ecl-1.0.0 bin/rougify
rouge_ecl-0.0.1 bin/rougify
rouge-3.1.1 bin/rougify
rouge-3.1.0 bin/rougify
rouge-3.0.0 bin/rougify
rouge-2.2.1 bin/rougify
rouge-2.2.0 bin/rougify