Sha256: 12efd737a900bc47d64c729a12eb65965712b43d201064826e0353ddbd1267a7

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 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.
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

1 entries across 1 versions & 1 rubygems

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