Sha256: 1d9c52af286854168cae1666023922b2b9e817426ec969a7459299372a0a3040

Contents?: true

Size: 565 Bytes

Versions: 12

Compression:

Stored size: 565 Bytes

Contents

#!/usr/bin/env ruby
# encoding: UTF-8

# resolve bin path, ignoring symlinks
require "pathname"
bin_file = Pathname.new(__FILE__).realpath

# add self to libpath
$:.unshift File.expand_path("../../lib", bin_file)

require "bundler/setup"
require "stepmod/utils/smrl_description_converter"

ReverseAdoc.config.unknown_tags = :bypass

input_content = ARGF.read

result = Stepmod::Utils::SmrlDescriptionConverter.convert(input_content, {})
result.split("\n").each do |line|
  begin
    $stdout.puts(line)
    $stdout.flush
  rescue Errno::EPIPE
    exit(74)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
stepmod-utils-0.4.14 exe/stepmod-convert-express-description
stepmod-utils-0.4.13 exe/stepmod-convert-express-description
stepmod-utils-0.4.12 exe/stepmod-convert-express-description
stepmod-utils-0.4.11 exe/stepmod-convert-express-description
stepmod-utils-0.4.10 exe/stepmod-convert-express-description
stepmod-utils-0.4.9 exe/stepmod-convert-express-description
stepmod-utils-0.4.8 exe/stepmod-convert-express-description
stepmod-utils-0.4.7 exe/stepmod-convert-express-description
stepmod-utils-0.4.6 exe/stepmod-convert-express-description
stepmod-utils-0.4.5 exe/stepmod-convert-express-description
stepmod-utils-0.4.2 exe/stepmod-convert-express-description
stepmod-utils-0.4.1 exe/stepmod-convert-express-description