Sha256: 7dc89941a6bcafe94efaa18ff8f40a584e68e7da791c08e6d1346dce1c175cbf
Contents?: true
Size: 356 Bytes
Versions: 1
Compression:
Stored size: 356 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true $LOAD_PATH.unshift File.expand_path("../lib", __dir__) require "epub2mobi" # getting epub filename from args epub_filename = ARGV.first path = File.dirname(epub_filename) mobi_filename = "#{path}/#{File.basename(epub_filename, ".*")}.mobi" Epub2mobi .convert(from: epub_filename, to: mobi_filename)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
epub2mobi-0.1.0 | bin/epub2mobi |