Sha256: 2fdb1983d94da186cee62e659099b3f62e450b01ac63ccca1f19d2282e588d31

Contents?: true

Size: 278 Bytes

Versions: 9

Compression:

Stored size: 278 Bytes

Contents

#!/usr/bin/env ruby

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'ncode_syosetu'

if ARGV.size == 0
  puts "ncode2epub.rb ncode [ncode...]"
  exit
end

ARGV.each do |ncode|
  novel = NcodeSyosetu.client.get(ncode)
  novel.write_epub3("#{ncode}.epub")
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
ncode-syosetu-epub3-0.1.1 exe/ncode2epub.rb
ncode-syosetu-epub3-0.1.0 exe/ncode2epub.rb
ncode-syosetu-0.0.7 bin/ncode2epub.rb
ncode-syosetu-0.0.6 bin/ncode2epub.rb
ncode-syosetu-0.0.5 bin/ncode2epub.rb
ncode-syosetu-0.0.4 bin/ncode2epub.rb
ncode-syosetu-0.0.3 bin/ncode2epub.rb
ncode-syosetu-0.0.2 bin/ncode2epub.rb
ncode-syosetu-0.0.1 bin/ncode2epub.rb