module HexaPDF::CLI

Contains the code for the hexapdf binary. The binary uses the cmdparse library (cmdparse.gettalong.org) for the command suite support.

Public Class Methods

run(args = ARGV) click to toggle source

Runs the CLI application.

# File lib/hexapdf/cli.rb, line 59
def self.run(args = ARGV)
  Application.new.parse(args)
rescue StandardError => e
  $stderr.puts "Problem encountered: #{e.message}"
  exit(1)
end