Sha256: 754853baa820dbcc5d110da80aba3ece3978bff2827fb9872e6e5aacf7dd6e3a
Contents?: true
Size: 644 Bytes
Versions: 2
Compression:
Stored size: 644 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("-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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mangos-0.2 | bin/mangos |
mangos-0.1 | bin/mangos |