lib/paperback/cli.rb in paperback-0.0.2 vs lib/paperback/cli.rb in paperback-0.0.3
- old
+ new
@@ -1,12 +1,13 @@
module Paperback
module CLI
def self.create_backup(input:, output:, encrypt: true, qr_base64: true,
- qr_level: :l, comment: nil, passphrase_file: nil)
+ qr_level: :l, comment: nil, passphrase_file: nil,
+ extra_draw_opts: {})
prep = Paperback::Preparer.new(filename: input, encrypt: encrypt,
qr_base64: qr_base64, qr_level: qr_level,
passphrase_file: passphrase_file,
comment: comment)
- prep.render(output_filename: output)
+ prep.render(output_filename: output, extra_draw_opts: extra_draw_opts)
end
end
end