Sha256: 4cbea0dbb2ec0a9b3460b8c9c65a961574f0b7b386c219a06e6adbab854f773d
Contents?: true
Size: 414 Bytes
Versions: 3
Compression:
Stored size: 414 Bytes
Contents
#!/usr/bin/env ruby require 'boojs' require 'optparse' require 'phantomjs' #Parse ########################################## parser = OptionParser.new do |opts| opts.banner = "Usage: boojs [-v file]" opts.on "-v FILE" do |f| @file = f end end parser.parse! ########################################## #Run verify or run stdin/stdout mode? if @file BooJS.verify File.read(@file) else BooJS.pipe end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
boojs-0.0.5 | bin/boojs |
boojs-0.0.4 | bin/boojs |
boojs-0.0.3 | bin/boojs |