Sha256: 918a58dd08edcbc80370af5124640e1e7ba800d8a0da266ef3fab8c4c0ca6022

Contents?: true

Size: 579 Bytes

Versions: 7

Compression:

Stored size: 579 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'reckon'

begin
  options = Reckon::Options.parse_command_line_options
rescue RuntimeError => e
  puts("ERROR: #{e}")
  exit(1)
end
reckon = Reckon::App.new(options)

if options[:print_table]
  reckon.output_table
  if options[:table_output_file]
    File.open(options[:table_output_file], 'w') { |fh| reckon.output_table fh }
  end
  exit
end

if !reckon.csv_parser.money_column_indices
  puts "I was unable to determine either a single or a pair of combined columns to use as the money column."
  exit
end

reckon.walk_backwards

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
reckon-0.10.0 bin/reckon
reckon-0.9.6 bin/reckon
reckon-0.9.5 bin/reckon
reckon-0.9.4 bin/reckon
reckon-0.9.3 bin/reckon
reckon-0.9.2 bin/reckon
reckon-0.9.1 bin/reckon