#!/usr/bin/env ruby # frozen_string_literal: true require_relative '../lib/splash' require_relative '../../bin/builder' builder_class = Crys::Splash::Builder batch_builder_class = Crys::Splash::BatchBuilder output_dir = "#{File.dirname(File.dirname(__FILE__))}/output" image_dir = "#{File.dirname(File.dirname(File.expand_path(__FILE__)))}/assets/images" file_path=@options[:filepath] Crys::BuilderRunner.new( file_path: file_path, output_dir: output_dir, builder_class: builder_class, image_dir: image_dir, batch_builder_class: batch_builder_class, ).run