Sha256: 73c32d466043ed56dd6b7b24d46160543413fe4a4e4673db1c7b0836832889c5

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../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.
result = options.parse! ARGV
if Integer === result
  exit result
else
  invoker = Asciidoctor::Cli::Invoker.new options
  GC.start
  invoker.invoke!
  exit invoker.code
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciidoctor-pdf-1.5.0.alpha.7 bin/asciidoctor-pdf