Sha256: 9c8a10c5301a535fecaf3a98269e10206fb01e89c4ba9c940698982b3eb412cd
Contents?: true
Size: 460 Bytes
Versions: 5
Compression:
Stored size: 460 Bytes
Contents
#!/usr/bin/env ruby lib_path = File.expand_path(File.dirname(__FILE__) + '/../lib') $LOAD_PATH << lib_path if File.exist?(lib_path) && !$LOAD_PATH.include?(lib_path) require 'shhh' #ARGV.any?{ |a| a =~ /^-/ } ? begin ARGV.first =~ /^-/ ? ::Shhh::App::CLI.new(ARGV.dup).execute : ::Shhh::App::NLP::Translator.new(ARGV.dup).translate.and.execute rescue Interrupt => e STDERR.flush STDERR.puts "Interrupt, #{e.message}, exiting." STDERR.flush end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
shhh-1.6.5 | exe/shhh |
shhh-1.6.4 | exe/shhh |
shhh-1.6.3 | exe/shhh |
shhh-1.6.2 | exe/shhh |
shhh-1.6.1 | exe/shhh |