Sha256: 544f9f32e45c4436f0888bd61e563e1489615e0dae9ea1407dc3d9f70cf27294

Contents?: true

Size: 371 Bytes

Versions: 7

Compression:

Stored size: 371 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('SIGPIPE', 'SYSTEM_DEFAULT')

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

7 entries across 5 versions & 2 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/rouge-2.1.1/bin/rougify
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/rouge-2.0.7/bin/rougify
tdiary-5.0.5 vendor/bundle/gems/rouge-2.0.7/bin/rougify
rouge-2.1.1 bin/rougify
rouge-2.1.0 bin/rougify
tdiary-5.0.4 vendor/bundle/gems/rouge-2.0.7/bin/rougify
rouge-2.0.7 bin/rougify