Sha256: ca6c27354a822967b3c40e38f7a054b635c25937ca69d06c5bc79408e7cf6763
Contents?: true
Size: 759 Bytes
Versions: 3
Compression:
Stored size: 759 Bytes
Contents
#!/usr/bin/env ruby require "optparse" require "mangos" options = {} OptionParser.new do |opts| opts.banner = "Usage: #{File.basename(__FILE__)} [options] [manga package directory root]" opts.on("-f", "--force", "Process all books in the package, even ones that seem up to date") opts.on("-m", "--migrate", "Migrate package that incorrectly used the full pathnames to generate the book keys") opts.on("-h", "--help", "Prints this help") do puts opts exit end opts.separator "" opts.separator "If you do not supply a manga package directory root, then the current directory will be used." end.parse!(into: options) root_path = Pathname.new(ARGV.first || ".").realpath mangos = Mangos::Package.new(root_path, options) mangos.update
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mangos-0.5 | bin/mangos |
mangos-0.4 | bin/mangos |
mangos-0.3 | bin/mangos |