Sha256: f047100e1b8583f0e698a9f8772ad5adad9f9c73c3cb39ae72ce870c4e8f652a

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

#!/usr/bin/env ruby
#encoding:utf-8

ROOT_DIR = File.expand_path(File.join(File.dirname(__FILE__), ".."))

require 'yaml'
require 'pp'
require 'date'
require 'erb'
require 'cnab240_helper.rb'
require 'cnab2ofx'

CONFIG_DIR = File.join ROOT_DIR, 'lib/cnab2ofx/cnab240'
VIEW_DIR   =  File.join ROOT_DIR, 'view' 

if ARGV[0].nil?
  puts "Usage: cnab2ofx [cnab240_input_file] > [ofx_output_file]"
else
  filename = ARGV[0] 
  cnab240 = CNAB240.new(filename)
  puts cnab240.to_ofx
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cnab2ofx-0.0.6 bin/cnab2ofx
cnab2ofx-0.0.5 bin/cnab2ofx