Sha256: 2835939e1dc0d8a994dcd9b4a78f0057e4b93db88187d206d207fe9f4b630bed
Contents?: true
Size: 548 Bytes
Versions: 2
Compression:
Stored size: 548 Bytes
Contents
#!/usr/bin/env ruby require 'optiflag' require File.join(File.dirname(__FILE__), '..', 'lib', 'inspector') module AutoTvNZB extend OptiFlagSet flag "p" do description "Directory path with many TV Shows directories" end flag "apikey" do description "Sabnzbd api key (from 0.4.9)" end character_flag :w # wait and_process! end begin inspector = Inspector.new(ARGV.flags.p, ARGV.flags.apikey, :wait => ARGV.flags.w?) rescue => e p e.to_s Inspector.growl("AutoTvNZB Error!", 'look into the console log', 'failure.png') end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
autotvnzb-0.1.1 | bin/autotvnzb |
autotvnzb-0.1.0 | bin/autotvnzb |