#!/usr/bin/env ruby $:.unshift File.join(File.dirname(__FILE__), '..', 'lib') if RUBY_VERSION < '1.9' require 'rubygems' end require 'asciidoctor' require 'asciidoctor/cli/options' require 'asciidoctor/cli/invoker' invoker = Asciidoctor::Cli::Invoker.new(ARGV) invoker.invoke! exit invoker.code