Sha256: 619c4bd625d5681208c6d8762b521bef2ff44d1d37dc4bfd4edc54f5d2ba6f34

Contents?: true

Size: 364 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
ykutils-0.1.4 bin/erubix