Sha256: 1394cd3df9a7ad7fa550c889d34c727b51717071770fc3bc7b7405ab6b7a9b7a

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

#!/usr/bin/env ruby

require 'capwatch'
include Capwatch

options = CLI.parse(ARGV)
fund = JSON.parse(File.open(ARGV[0] || File.expand_path('~/.capwatch')).read)

loop do
  table = Calculator.fund_hash(fund, CoinMarketCap.fetch)
  system('clear')
  puts Console.draw_table(table)
  sleep options.tick
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capwatch-0.1.0 exe/capwatch