Sha256: 244f8a8cd6db19d1e7405972d99cdf37129bed305039c74d2adb5045a5e4fb64

Contents?: true

Size: 474 Bytes

Versions: 5

Compression:

Stored size: 474 Bytes

Contents

#!/usr/bin/env ruby

# -*- encoding: utf-8 -*-
require 'cjoiner'

# configuration file
config_file = ARGV[0] || "config.yaml"
begin
  puts "no file given, using the default configuration file: '#{config_file}'" unless ARGV[0]
  puts "loading configuration from '#{config_file}'..."
  cjoiner = Cjoiner::Joiner.new
  cjoiner.load_config! config_file
  cjoiner.proccess!
  puts "all done!"
rescue Cjoiner::Errors::FileNotFound => e
  puts "File '#{e.message}' not found!"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cjoiner-1.6.1 bin/cjoiner
cjoiner-1.6.0 bin/cjoiner
cjoiner-1.5.2 bin/cjoiner
cjoiner-1.5.1 bin/cjoiner
cjoiner-1.5.0 bin/cjoiner