Sha256: 5ff4d759ad801b744d696edc1eb50d908427cb82e4182b04f6729df59f833fe4
Contents?: true
Size: 452 Bytes
Versions: 1
Compression:
Stored size: 452 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).run : ::Shhh::App::NLP::Translator.new(ARGV.dup).translate.and.run 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.5.4 | exe/shhh |