Sha256: 430d293ed22e55bfdd8418cbf01741a267387a5b6f9e493b47e54dfc605f024f

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler/setup"
require "ykutils"

template_file_path = ARGV[0]
value_file_path_array = [ARGV[1]]
ind = 2
while ARGV.size > ind
  value_file_path_array << ARGV[ind]
  ind += 1
end

scope = nil
content = Ykutils::Erubyx.erubi_render_with_file(template_file_path, scope, value_file_path_array)
puts content

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ykutils-0.1.10 bin/erubix
ykutils-0.1.8 bin/erubix