Sha256: e3b4555c9fcd5e782b815300e9b71e169f168d1ba45b21a17c1a622852577bfa

Contents?: true

Size: 522 Bytes

Versions: 5

Compression:

Stored size: 522 Bytes

Contents

#!/usr/bin/env ruby
require_relative "../lib/html2pdf"
# If you like to customize the settings for `wkhtmltopdf` then
# edit the file `config/initializers/html2pdf.rb` and enable it in the next 2 lines
# -----------------------------------------------------------------#
# require_relative "../config/initializers/html2pdf"
# Html2Pdf.update_config
# -----------------------------------------------------------------#
if ARGV.empty?
  Html2Pdf::CLI.start(%w[usage])
else
  Html2Pdf::CLI.start(%w[export].concat(ARGV))
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
html2pdf-0.2.3 bin/html2pdf
html2pdf-0.2.2 bin/html2pdf
html2pdf-0.2.1 bin/html2pdf
html2pdf-0.2.0 bin/html2pdf
html2pdf-0.1.7 bin/html2pdf