Sha256: 1ff46da0e6a6c7a6687753ddd065a0de0d4978980eaa282cb4d7eb41f4f7e779

Contents?: true

Size: 530 Bytes

Versions: 12

Compression:

Stored size: 530 Bytes

Contents

#!/usr/bin/env ruby

if File.file?(asciidoctor_revealjs = (File.expand_path '../../lib/asciidoctor-revealjs.rb', __FILE__))
  require asciidoctor_revealjs
else
  require 'asciidoctor-revealjs'
end
require 'asciidoctor/cli'

options = Asciidoctor::Cli::Options.new backend: 'revealjs'

# FIXME (from bespoke) This is a really bizarre API. Please make me simpler.
if Integer === (result = options.parse! ARGV)
  exit result
else
  invoker = Asciidoctor::Cli::Invoker.new options
  GC.start
  invoker.invoke!
  exit invoker.code
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
asciidoctor-revealjs-3.0.0 bin/asciidoctor-revealjs
asciidoctor-revealjs-3.0.0.pre.rc1 bin/asciidoctor-revealjs
asciidoctor-revealjs-2.0.1 bin/asciidoctor-revealjs
asciidoctor-revealjs-2.0.0 bin/asciidoctor-revealjs
asciidoctor-revealjs-1.1.3 bin/asciidoctor-revealjs
asciidoctor-revealjs-1.1.1 bin/asciidoctor-revealjs
asciidoctor-revealjs-1.1.0 bin/asciidoctor-revealjs
asciidoctor-revealjs-1.0.4 bin/asciidoctor-revealjs
asciidoctor-revealjs-1.0.3 bin/asciidoctor-revealjs
asciidoctor-revealjs-1.0.2 bin/asciidoctor-revealjs
asciidoctor-revealjs-1.0.1 bin/asciidoctor-revealjs
asciidoctor-revealjs-1.0.0 bin/asciidoctor-revealjs