Sha256: 89bb0e5d2211d94c89018a6dfbd4ae864ef5e5d32cbaa78be97efbb83cc6ddf8

Contents?: true

Size: 445 Bytes

Versions: 28

Compression:

Stored size: 445 Bytes

Contents

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

require 'pathname'
ROOT_DIR = Pathname.new(__FILE__).dirname.parent
Kernel::load ROOT_DIR.join('lib/rouge.rb')
Kernel::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

28 entries across 28 versions & 2 rubygems

Version Path
rouge-4.5.1 bin/rougify
rouge-4.5.0 bin/rougify
rouge-4.4.0 bin/rougify
rouge-4.3.0 bin/rougify
rouge-4.2.1 bin/rougify
rouge-4.2.0 bin/rougify
rouge-4.1.3 bin/rougify
rouge-4.1.2 bin/rougify
rouge-4.1.1 bin/rougify
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/bin/rougify
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/bin/rougify
rouge-4.1.0 bin/rougify
rouge-4.0.1 bin/rougify
rouge-4.0.0 bin/rougify
rouge-3.30.0 bin/rougify
rouge-3.29.0 bin/rougify
rouge-3.28.0 bin/rougify
rouge-3.27.0 bin/rougify
rouge-3.26.1 bin/rougify
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/bin/rougify