#!/usr/bin/env ruby require "metanorma-ietf" require "asciidoctor/cli" options = Asciidoctor::Cli::Options.new backend: "rfc2", header_footer: true # FIXME This is a really bizarre API. Please make me simpler. exit 0 if options.parse!(ARGV) == 0 invoker = Asciidoctor::Cli::Invoker.new options GC.start invoker.invoke! exit invoker.code