Sha256: 7d4c18d690519732363b4fc35f87b0b8f47b62767d9fb22498385734fbfedf6e

Contents?: true

Size: 400 Bytes

Versions: 5

Compression:

Stored size: 400 Bytes

Contents

#!/usr/bin/env ruby

require File.join File.dirname(__FILE__), '../lib/asciidoctor-pdf'
require 'asciidoctor/cli'

options = Asciidoctor::Cli::Options.new backend: 'pdf', header_footer: true
# FIXME This is a really bizarre API. Please make me simpler.
if (options.parse! ARGV) == 0
  exit 0
else
  invoker = Asciidoctor::Cli::Invoker.new options
  GC.start
  invoker.invoke!
  exit invoker.code
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
asciidoctor-pdf-1.5.0.alpha.5 bin/asciidoctor-pdf
asciidoctor-pdf-1.5.0.alpha.4 bin/asciidoctor-pdf
asciidoctor-pdf-1.5.0.alpha.3 bin/asciidoctor-pdf
asciidoctor-pdf-1.5.0.alpha.2 bin/asciidoctor-pdf
asciidoctor-pdf-1.5.0.alpha.1 bin/asciidoctor-pdf