Sha256: 1ad1b6b26698b85ac69f7e32e1b1a56020c5554012acd21a03a063ae52bae2c1

Contents?: true

Size: 365 Bytes

Versions: 2

Compression:

Stored size: 365 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.7 bin/erubix
ykutils-0.1.6 bin/erubix