Sha256: b648416054010c40b8df67128b40556cab9c7f378d5ba9e31b33c378534cf074

Contents?: true

Size: 429 Bytes

Versions: 20

Compression:

Stored size: 429 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

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

20 entries across 20 versions & 2 rubygems

Version Path
rouge-3.18.0 bin/rougify
rouge-3.17.0 bin/rougify
rouge-3.16.0 bin/rougify
rouge-3.15.0 bin/rougify
rouge-3.14.0 bin/rougify
rouge-3.13.0 bin/rougify
rouge-3.12.0 bin/rougify
rouge-3.11.1 bin/rougify
rouge-3.11.0 bin/rougify
rouge-3.10.0 bin/rougify
rouge-3.9.0 bin/rougify
rouge-3.8.0 bin/rougify
rouge-3.7.0 bin/rougify
rouge-3.6.0 bin/rougify
rouge-3.5.1 bin/rougify
rouge-3.5.0 bin/rougify
rouge-3.4.1 bin/rougify
rouge-3.4.0 bin/rougify
rouge-alda-3.3.0 bin/rougify
rouge-3.3.0 bin/rougify