Sha256: 4145daf6329e5d001f5f84a399073eba0023e8a89a38895e5e4d2fbe866f9471
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 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' require 'shhh/app' #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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shhh-1.7.0 | exe/shhh |