Sha256: ef9b45c5339d8c2c7503c2d25351765fa8de267061426af302a5580e306d2b7e

Contents?: true

Size: 226 Bytes

Versions: 2

Compression:

Stored size: 226 Bytes

Contents

# frozen_string_literal: true

require "jp_translator_from_gpt"

if ARGV.empty?
  puts "引数が必要です: ruby main.rb \"text\""
  exit
end

text = ARGV.join(" ")
JpTranslatorFromGpt::Translator.new.translate_to_jp(text)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jp_translator_from_gpt-0.1.1 example.rb
jp_translator_from_gpt-0.1.0 example.rb