Module: HexaPDF::CLI
- Defined in:
- lib/hexapdf/cli.rb,
lib/hexapdf/cli/info.rb,
lib/hexapdf/cli/batch.rb,
lib/hexapdf/cli/files.rb,
lib/hexapdf/cli/merge.rb,
lib/hexapdf/cli/images.rb,
lib/hexapdf/cli/modify.rb,
lib/hexapdf/cli/command.rb,
lib/hexapdf/cli/inspect.rb,
lib/hexapdf/cli/optimize.rb
Overview
Contains the code for the hexapdf
binary. The binary uses the cmdparse library (cmdparse.gettalong.org) for the command suite support.
Defined Under Namespace
Classes: Application, Batch, Command, Files, Images, Info, Inspect, Merge, Modify, Optimize
Class Method Summary collapse
-
.run(args = ARGV) ⇒ Object
Runs the CLI application.
Class Method Details
.run(args = ARGV) ⇒ Object
Runs the CLI application.
53 54 55 56 57 58 |
# File 'lib/hexapdf/cli.rb', line 53 def self.run(args = ARGV) Application.new.parse(args) rescue => e $stderr.puts "Problem encountered: #{e.}" exit(1) end |